Changeset 9fb0db9 in thomson for tools/gfx2mo5/png2mo5.c


Ignore:
Timestamp:
Mar 7, 2013, 10:29:47 PM (11 years ago)
Author:
Adrien Destugues <pulkomandy@…>
Branches:
main
Children:
6b23e9a
Parents:
62e3665
Message:

Allow gfx with less than 200px height.
Allow to set the color for unused cells.

git-svn-id: svn://localhost/thomson@41 85ae3b6b-dc8f-4344-a89d-598714f2e4e5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gfx2mo5/png2mo5.c

    r62e3665 r9fb0db9  
    127127  png_read_image(png_ptr, ptrRow);
    128128
    129   outBuffer = raw2mo5(inBuffer, argc > 3);
     129  outBuffer = raw2mo5(inBuffer, height, argc > 3 ? atoi(argv[3]):-1);
    130130
    131131  int pxsize = width * height / 8;
Note: See TracChangeset for help on using the changeset viewer.