Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- a/zip/zpng.c
- +++ b/zip/zpng.c
- @@ -129,7 +129,7 @@
- png_set_IHDR(png_ptr, info_ptr, width, height, 8,
- PNG_COLOR_TYPE_RGB, PNG_INTERLACE_NONE,
- PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT);
- - info_ptr->color_type = PNG_COLOR_TYPE_RGB;
- + //info_ptr->color_type = PNG_COLOR_TYPE_RGB;
- //Allocate an array of scanline pointers
- row_pointers = (png_bytep*)malloc(height*sizeof(png_bytep));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement