rokka-io / imagine-vips

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

Image copy does not work for animated gif file #25

Open yellow1912 opened 2 years ago

yellow1912 commented 2 years ago

It seems like the copy does not copy all the layers. This issue can be replicated by

  1. Load an animated gif image
  2. Copy it with $copy = $image->copy()
  3. Save it (even with the option animated set to true)

The saved copy is just the first layer of the original gif image