Changeset 732c820 in thomson for tools/gfx2mo5/png2mo5.c


Ignore:
Timestamp:
Mar 4, 2013, 10:24:01 PM (11 years ago)
Author:
Adrien Destugues <pulkomandy@…>
Branches:
main
Children:
3b64f76
Parents:
b9b1bde
Message:

Allow to use the glitched mode, sometimes it's useful.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gfx2mo5/png2mo5.c

    rb9b1bde r732c820  
    4444  const unsigned char end[]={255,0,0,0,0};
    4545
    46   if(argc != 3)
     46  if(argc < 3)
    4747  {
    48     printf("Utilisation : %s input_filename output_filename\n",argv[0]);
     48    printf("Utilisation : %s input_filename output_filename options\n",argv[0]);
    4949    exit(0);
    5050  }
     
    127127  png_read_image(png_ptr, ptrRow);
    128128
    129   outBuffer = raw2mo5(inBuffer);
     129  outBuffer = raw2mo5(inBuffer, argc > 3);
    130130
    131131  int pxsize = width * height / 8;
Note: See TracChangeset for help on using the changeset viewer.