Feature #88954
openforce image processing per viewhelper
0%
Description
I would like to be able to tell the f:image f:media f:uri.image etc. viewhelper per parameter (for example "process = 'true'") that the image goes through ImageMagick / GraphicsMagick and is being processed.
Example:
// not processed - original image
<f:media class="image-embed-item" file="{file}" width="{file.width}" height="{file.height}" />
// fore process image
<f:media class="image-embed-item" file="{file}" width="{file.width}" height="{file.height}" process='true' />
// current default way - processed image
<f:media class="image-embed-item" file="{file}" width="200" />
Why?
For example, to apply the credentials of GFX => processor_stripColorProfileCommand to each image.
Updated by Riccardo De Contardi about 5 years ago
- Category set to Image Generation / GIFBUILDER
Updated by Christian Hackl about 5 years ago
- Related to Feature #59067: Always render image in temp directory added
Updated by Benni Mack about 1 year ago
- Status changed from New to Needs Feedback
Hey,
I think the problem you have with the strip command is valid. Can you explain to me exactly the problem on this? I'm curious to understand the exact use-case so I can reproduce this with the stripProfile command.