Changeset 732c820 in thomson for tools/gfx2mo5/png2mo5.c
- Timestamp:
- Mar 4, 2013, 10:24:01 PM (11 years ago)
- Branches:
- main
- Children:
- 3b64f76
- Parents:
- b9b1bde
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gfx2mo5/png2mo5.c
rb9b1bde r732c820 44 44 const unsigned char end[]={255,0,0,0,0}; 45 45 46 if(argc !=3)46 if(argc < 3) 47 47 { 48 printf("Utilisation : %s input_filename output_filename \n",argv[0]);48 printf("Utilisation : %s input_filename output_filename options\n",argv[0]); 49 49 exit(0); 50 50 } … … 127 127 png_read_image(png_ptr, ptrRow); 128 128 129 outBuffer = raw2mo5(inBuffer );129 outBuffer = raw2mo5(inBuffer, argc > 3); 130 130 131 131 int pxsize = width * height / 8;
Note:
See TracChangeset
for help on using the changeset viewer.