Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
preserve input depth @ ImageMagick/ImageMagick6#188
  • Loading branch information
Cristy committed Jul 3, 2022
1 parent 19f1a50 commit a69791d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coders/png.c
Expand Up @@ -4250,7 +4250,7 @@ static Image *ReadOnePNGImage(MngInfo *mng_info,
/* } for navigation to beginning of SETJMP-protected block, revert to
* Throwing an Exception when an error occurs.
*/

image->depth=ping_file_depth;
return(image);

/* end of reading one PNG image */
Expand Down

0 comments on commit a69791d

Please sign in to comment.