mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-09 19:52:30 +02:00
Fix not animated gifs support
This commit is contained in:
7
vips.h
7
vips.h
@@ -148,6 +148,13 @@ vips_band_format(VipsImage *in) {
|
||||
return in->BandFmt;
|
||||
}
|
||||
|
||||
gboolean
|
||||
vips_is_animated_gif(VipsImage * in) {
|
||||
return( vips_image_get_typeof(in, "page-height") != G_TYPE_INVALID &&
|
||||
vips_image_get_typeof(in, "gif-delay") != G_TYPE_INVALID &&
|
||||
vips_image_get_typeof(in, "gif-loop") != G_TYPE_INVALID );
|
||||
}
|
||||
|
||||
gboolean
|
||||
vips_image_hasalpha_go(VipsImage * in) {
|
||||
#if VIPS_SUPPORT_HASALPHA
|
||||
|
Reference in New Issue
Block a user