parent
2452bb7c45
commit
15e4168ee2
|
@ -406,8 +406,8 @@ int imagetopng(opj_image_t * image, const char *write_idf)
|
|||
PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE);
|
||||
|
||||
png_set_sBIT(png, info, &sig_bit);
|
||||
//png_set_gamma(png, 2.2, 1./2.2);
|
||||
//png_set_sRGB(png, info, PNG_sRGB_INTENT_PERCEPTUAL);
|
||||
/* png_set_gamma(png, 2.2, 1./2.2); */
|
||||
/* png_set_sRGB(png, info, PNG_sRGB_INTENT_PERCEPTUAL); */
|
||||
png_write_info(png, info);
|
||||
|
||||
/* setup conversion */
|
||||
|
|
Loading…
Reference in New Issue