Project

General

Profile

Actions

Bug #97975

open

image loses transparency when converting svg to webp with image viewhelper

Added by Felix Kleber almost 2 years ago. Updated 1 day ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Image Generation / GIFBUILDER
Target version:
-
Start date:
2022-07-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">

<f:image src="{settings.logoFile}" loading="lazy" fileExtension="webp" width="230"/>

</html
When doing this with a transparent SVG as {settings.logoFile}, it turns it into a webp image successfully, but it loses transparency in the process.
Actions #1

Updated by Georg Ringer 1 day ago

  • Status changed from New to Needs Feedback

with v13 svgs can now be cropped and it will still be a svg. is it ok to close the issue out of this reason? otherwise please test if still valid in v12, thanks!

Actions

Also available in: Atom PDF