-
Notifications
You must be signed in to change notification settings - Fork 538
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
Rotate filter (thumbor) does not work with GIF images #460
Comments
@T4VincentF tks for your bug report. we will investigate and reply |
@T4VincentF We duplicated the issue and did some investigation. This has been added to our backlog and will be addressed in a future release. thanks for your report. |
@dougtoppin thanks for investigating. Glad I could be of some help. |
Hi @T4VincentF, As for multi-page GIFs, while Thumbor supports rotating a multi-page image, all Thumbor-style requests are converted into requests that are passed into the Sharp image processing library. Though the documentation doesn't seem to indicate any restrictions on rotation, we were only able to get Sharp to support multi-page image rotations of 180 degrees (which you can accomplish by using the flip and flop filters on an image anyway). To avoid running into errors or unexpected behaviour, we ignore the rotate filter for multi-page GIFs. We'll include an update to the Implementation Guide indicating this restriction alongside the next release. Thank you for bringing this to our attention, |
Hi @T4VincentF, Thanks for letting us know about your issue, |
Describe the bug
When applying the thumbor filter to rotate an image with a gif extension, the image does not rotate. This affects both animated and static gifs.
I didn't see anything mentioned about file extension limitations for the rotate filter on the thumbor docs. https://thumbor.readthedocs.io/en/latest/rotate.html
To Reproduce
Expected behavior
Please complete the following information about the solution:
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: