Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to read/decode Image without animation #1307

Open
olivervogel opened this issue Mar 1, 2024 · 0 comments
Open

Add possibility to read/decode Image without animation #1307

olivervogel opened this issue Mar 1, 2024 · 0 comments
Assignees

Comments

@olivervogel
Copy link
Member

Describe the feature you'd like

Intervention Image 2 did not support animated GIFs. Animated images were reable, but only the first frame was processed and the rest was discarded.

Of course, this meant that the animation was lost, but in the end it also saved resources. This is particularly noticeable when using the GD driver, as animated GIFs are not natively supported here and an individual GDImage instance must be created in memory for each frame.

If you read in images without the intention of processing the animation anyway, this process is carried out for nothing. It is of course possible to discard the animation with removeAnimation() afterwards, but then the decoding process has already been carried out.

For this reason, there should be a way to ignore the animation directly during or before decoding and not even start this resource-intensive process.

Is your feature request related to a problem? Please describe.

See #1305

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant