Skip to content

Commit

Permalink
fbgrab change compressino level to default
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiangfu Liu committed Apr 13, 2011
1 parent cf96f82 commit e4c34db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pngload.c
Expand Up @@ -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;
Expand Down

0 comments on commit e4c34db

Please sign in to comment.