Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fbgrab change compressino level to default

  • Loading branch information...
commit e4c34db5b4462b2b6e2a417663b7b74753101991 1 parent cf96f82
Xiangfu Liu authored
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;
Please sign in to comment.
Something went wrong with that request. Please try again.