mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-09 19:52:30 +02:00
Progressive JPEG & interlaced PNG support
This commit is contained in:
4
vips.h
4
vips.h
@@ -198,8 +198,8 @@ vips_jpegsave_go(VipsImage *in, void **buf, size_t *len, int strip, int quality,
|
||||
}
|
||||
|
||||
int
|
||||
vips_pngsave_go(VipsImage *in, void **buf, size_t *len) {
|
||||
return vips_pngsave_buffer(in, buf, len, "filter", VIPS_FOREIGN_PNG_FILTER_NONE, NULL);
|
||||
vips_pngsave_go(VipsImage *in, void **buf, size_t *len, int interlace) {
|
||||
return vips_pngsave_buffer(in, buf, len, "filter", VIPS_FOREIGN_PNG_FILTER_NONE, "interlace", interlace, NULL);
|
||||
}
|
||||
|
||||
int
|
||||
|
Reference in New Issue
Block a user