case 'VipsForeignLoadWebpFile':
case 'VipsForeignLoadWebpBuffer':
$options['n'] = -1; // not sure this should be enabled by default, to discuss
break;
When I add those lines, i can open animated webp images without any problems. Otherwise only the first frame will be loaded, so the animation will "get lost".
For the loaders
VipsForeignLoadWebpFile
andVipsForeignLoadWebpBuffer
then
-Option is not being applied so no animated webp can be loaded:https://github.com/rokka-io/imagine-vips/blob/0.31.0/lib/Imagine/Vips/Imagine.php#L237
I think there should also be those two cases:
When I add those lines, i can open animated webp images without any problems. Otherwise only the first frame will be loaded, so the animation will "get lost".