IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27560


Ignore:
Timestamp:
Apr 1, 2010, 2:20:50 PM (16 years ago)
Author:
eugene
Message:

adding some comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/kapa2/src/PNGit.c

    r27435 r27560  
    5252
    5353  /* 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  */
    5463
    5564  palette = KapaPNGPalette (&Npalette);
Note: See TracChangeset for help on using the changeset viewer.