AssetRendition is used for SVG images

Description

https://github.com/wcm-io/wcm-io-handler/blob/master/media/src/main/java/io/wcm/handler/mediasource/dam/AssetRendition.java

AssetRendition is used for SVG image where renditions are redundant.

It is valuable to have SVG image in picture tag with all features like crop/alt/usemap etc. but this produce a lot warning about:

io.wcm.handler.mediasource.dam.AssetRendition Unable to detect rendition metadata for /content/dam/example-image.svg/jcr:content/renditions/cq5dam.thumbnail.48.48.png, fallback to inefficient detection by loading image into in memory. Please check if the service user for the bundle 'io.wcm.handler.media' is configured properly.

What do you think about adding some validation before?

Status

Assignee

Unassigned

Reporter

Krzysztof Gorzynski

Labels

None

Components

Affects versions

Priority

Trivial
Configure