Advertisement
hotvic

Untitled

Nov 18th, 2012
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.48 KB | None | 0 0
  1. --- a/zip/zpng.c
  2. +++ b/zip/zpng.c
  3. @@ -129,7 +129,7 @@
  4.          png_set_IHDR(png_ptr, info_ptr, width, height, 8,
  5.                       PNG_COLOR_TYPE_RGB, PNG_INTERLACE_NONE,
  6.                       PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT);
  7. -        info_ptr->color_type = PNG_COLOR_TYPE_RGB;
  8. +        //info_ptr->color_type = PNG_COLOR_TYPE_RGB;
  9.  
  10.          //Allocate an array of scanline pointers
  11.          row_pointers = (png_bytep*)malloc(height*sizeof(png_bytep));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement