diff options
author | Sebastian Geerken <devnull@localhost> | 2013-06-17 10:56:43 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-06-17 10:56:43 +0200 |
commit | 126ae913efb3829c980a2151db5bbcfd68c5b39c (patch) | |
tree | 8eb0e38bfc1fa28577a5cfabfb7ae93209a5b2f4 /src/png.c | |
parent | 4e96d8f79ecb97994cf446386ce0dd1a1368da44 (diff) |
Added gamma correction value to dw::core::ImgBuf.
Diffstat (limited to 'src/png.c')
-rw-r--r-- | src/png.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -201,9 +201,10 @@ Png_datainfo_callback(png_structp png_ptr, png_infop info_ptr) png->linebuf = dMalloc(3 * png->width); /* Initialize the dicache-entry here */ + /** \todo Gamma for PNG? */ a_Dicache_set_parms(png->url, png->version, png->Image, (uint_t)png->width, (uint_t)png->height, - DILLO_IMG_TYPE_RGB); + DILLO_IMG_TYPE_RGB, 2.2); } static void |