mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
14 lines
398 B
Diff
14 lines
398 B
Diff
diff --git a/fbgrab.c b/fbgrab.c
|
|
index 2abc08a..287cede 100644
|
|
--- a/fbgrab.c
|
|
+++ b/fbgrab.c
|
|
@@ -335,7 +335,7 @@ static void write_PNG(unsigned char *outbuffer, char *filename,
|
|
|
|
png_init_io(png_ptr, outfile);
|
|
|
|
- png_set_compression_level(png_ptr, Z_BEST_COMPRESSION);
|
|
+ png_set_compression_level(png_ptr, compression);
|
|
|
|
bit_depth = 8;
|
|
color_type = PNG_COLOR_TYPE_RGB_ALPHA;
|