backdrop / backdrop-issues

Issue tracker for Backdrop core.
144 stars 40 forks source link

[D8] Image styles: add "Convert" effect/action #5107

Open klonos opened 3 years ago

klonos commented 3 years ago

This is something that D8/9 seem to support out of the box:

And they also support converting to the WebP format (if supported by the PHP version on the server):

laryn commented 3 years ago

I am definitely interested in this feature. I'd love for it to be in core -- originally was going to try to adjust the "change file format" effect in Image Effects module (which doesn't actually change the file extension, which is a bit strange).

laryn commented 7 months ago

And core Drupal image styles now have the conversion by default: https://www.drupal.org/node/3421405

In the meantime we have a bit of a kludgy workaround as linked above, but having this clean and in core would be ideal.

yorkshire-pudding commented 6 months ago

This feature may be blocked by this bug in Image Effects, which may be core related - https://github.com/backdrop-contrib/image_effects/issues/22 If the original image is in private folders then the conversion doesn't work; it silently fails while other effects are carried out.