-
-
Notifications
You must be signed in to change notification settings - Fork 483
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
Processing source images with imagick breaks SVG's and PDF's when using Imagick #7541
Comments
Note: Only able to reproduce with imagick driver (works fine with gd driver). Also note: Affects not just svg's, but pdf's as well. Maybe other vector formats too? |
I've just run into this as well with EPS files, but I think it could apply to many others. IM supports a lot of input formats. Maybe a safe list would be more robust than a block list? Personally I'd only want the source image processing to apply to the standard web raster formats. The idea behind this PR was to allow you to process other formats through the Glide tag, but you'd still want the source files to remain intact. Or maybe the types could be configurable somehow? (for now I've just switched off source image processing completely) |
Gotcha. Imagick. Thanks for diving into this Jesse. |
In case Jesse agrees. Something like this @jacksleight: |
Bug description
When you have a Glide preset in place to process source images, it will break/mangle/screw up SVG's.
How to reproduce
'replacement' => ['w' => 4500, 'q' => 100, 'fit' => 'max']
or
Images
container.Logs
No response
Environment
Installation
Starter Kit using via CLI
Antlers Parser
runtime (new)
Additional details
No response
The text was updated successfully, but these errors were encountered: