Issue Feature New Orphaned

#93946ImageProcessing Command depending on Image Type

varioous OG 04/19/21, 16:07 updated 04/19/21, 16:07

Description

Hi,

in a project I have this situation: I have to convert png to jpg and jpg to jpg:
  • png -> jpg: Default Transparent become black
  • png -> png: Transparent should stay transparent

If I add this option to tell ImageMagick or GraphicsMagick to convert transparent to white (and png to jpg):

        Template: <f:uri.image src='{image.publicUrl}' fileExtension='jpg' width='{width}' />
        LocalConfiguration: 'processor_stripColorProfileCommand' => '+profile \'*\' -background white -flatten'

But this is always added to convert commands (also combine). So with this option also when converting png to png transparent is converted to white.

I want to better handle and tell TYPO3 how to build the command. Therefore a better configuration or signal/hook would be nice to tell TYPO3 which arguments should be used.

Thanks and kind regards,
Harald

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[FEATURE] ImageProcessing Command depending on Image Type Resolves: #93946 Releases: main