Skip to content
Browse files

fbgrab change compressino level to default

  • Loading branch information...
1 parent cf96f82 commit e4c34db5b4462b2b6e2a417663b7b74753101991 Xiangfu Liu committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/pngload.c
View
2 src/pngload.c
@@ -232,7 +232,7 @@ int png_write(unsigned char *outbuffer, const char *filename,
png_init_io(png_ptr, outfile);
- png_set_compression_level(png_ptr, Z_BEST_COMPRESSION);
+ png_set_compression_level(png_ptr, Z_DEFAULT_COMPRESSION);
bit_depth = 8;
color_type = PNG_COLOR_TYPE_RGB_ALPHA;

0 comments on commit e4c34db

Please sign in to comment.
Something went wrong with that request. Please try again.