fix write ICC profile to webp
ooops, a typo broke ICC profile write to webp 18 days ago thanks augustocdias see https://github.com/libvips/libvips/issues/1767
This commit is contained in:
parent
420daf892b
commit
b40baec28b
@ -460,9 +460,6 @@ vips_webp_add_chunks( VipsWebPWrite *write )
|
|||||||
const char *vips_name = vips__webp_names[i].vips;
|
const char *vips_name = vips__webp_names[i].vips;
|
||||||
const char *webp_name = vips__webp_names[i].webp;
|
const char *webp_name = vips__webp_names[i].webp;
|
||||||
|
|
||||||
if( strcmp( vips_name, VIPS_META_ICC_NAME ) == 0 &&
|
|
||||||
write->profile )
|
|
||||||
|
|
||||||
if( vips_image_get_typeof( write->image, vips_name ) ) {
|
if( vips_image_get_typeof( write->image, vips_name ) ) {
|
||||||
const void *data;
|
const void *data;
|
||||||
size_t length;
|
size_t length;
|
||||||
|
Loading…
Reference in New Issue
Block a user