rokka-io / imagine-vips

libvips adapter for php imagine
https://rokka.io
Other
41 stars 8 forks source link

Use the new "delay" feature from vips 8.9 for animated gif with different delays per frame #10

Closed chregu closed 4 years ago

chregu commented 4 years ago

See https://github.com/libvips/libvips/pull/1346 for details and

$image = \Jcupitt\Vips\Image::newFromFile("foo.gif");
var_dump($image->get('delay'));

now returns an array with all the delays per frame