Changeset 27560
- Timestamp:
- Apr 1, 2010, 2:20:50 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/kapa2/src/PNGit.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/kapa2/src/PNGit.c
r27435 r27560 52 52 53 53 /* png_set_IHDR (png_ptr, info_ptr, graphic->dx, graphic->dy, 8, PNG_COLOR_TYPE_RGB, PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT); */ 54 /* png_set_IHDR (png_ptr, info_ptr, graphic->dx, graphic->dy, 16, PNG_COLOR_TYPE_RGB, PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT); */ 55 56 /* For color images, I need to define the relationship between the drawing colors and the RGB values? */ 57 /* instead of calling png_set_PLTE, call png_set_sRGB (png_ptr, info_ptr, PNG_sRGB_INTENT_ABSOLUTE); */ 58 59 /* other useful calls here: 60 png_set_tIME(png_ptr, info_ptr, mod_time); 61 png_set_text(png_ptr, info_ptr, text_ptr, num_text); 62 */ 54 63 55 64 palette = KapaPNGPalette (&Npalette);
Note:
See TracChangeset
for help on using the changeset viewer.
