[RESPDAM-75] Support metadata for webp images in AssetFocalReferenceResolver Created: 25/Nov/22  Updated: 02/Jan/24

Status: Open
Project: DAM Focal
Component/s: None
Affects Version/s: 2.3.1
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Viet Nguyen Assignee: Adrien Manzoni
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
caused by MGNLIMG-335 WEBP dimensions have no value Accepted
dependency
depends upon MGNLIMG-351 Webp images is not stored its width &... Closed
depends upon RESPDAM-76 AssetFocalReferenceResolver should re... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

When using focal images and the info.magnolia.dam.focal.rest.reference.AssetFocalReferenceResolver class with the restAPI, the image metadata returns width and height = 0 for webp images.

Width and height should be resolved as integer.



 Comments   
Comment by Phuong Dinh [ 19/Dec/23 ]

Dear team,

When we upload webp image, they don't store height and width of webp img, that's why we cannot return it. While other type of image are stored width & height value. Uploading and storing img process is not relevant to incubator. I raised the ticket for this problem https://jira.magnolia-cms.com/browse/MGNLIMG-351

Thank you
FYI: tmiyar 

Generated at Mon Feb 12 00:42:17 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.