You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's already possible to change the format of the binary content via an action:
'setFormat|jpg'
But the filename still remains of the original format.
E.g. if I need to always have a .jpg on the output, and input is .png after conversion, the contents of the file are JPEG, but the name still has .png.
Thanks!
The text was updated successfully, but these errors were encountered:
Thanks for reporting this issue. Indeed, it appears that the setFormat is a special case where the target extension type needs to be respected. This currently isn't being handled by this module, however, it should be relatively straightforward to provide a fix.
Please leave this with me and I'll try to release a new minor version of this module this week that fixes this issue. I want to ensure that there is a matching test to ensure this is reproducible, stable and has test coverage now and in the future.
I have an image style that is generating placeholder 3x3 images, where this would be very useful. The source images are all jpegs, but the placeholder images as png's are about half the size of saving them as jpegs.
It's already possible to change the format of the binary content via an action:
But the filename still remains of the original format.
E.g. if I need to always have a
.jpg
on the output, and input is.png
after conversion, the contents of the file are JPEG, but the name still has.png
.Thanks!
The text was updated successfully, but these errors were encountered: