Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

original rendition is not getting generated in AEM DAM

Avatar

Community Advisor

Following these steps to upload asset into DAM: 

1. Getting SVG from html which is generated from Highcharts

2. Converting svg to jpeg and uploading to DAM using the asset API

The asset is getting created but an original rendition is generating as 0 size in AEM and web rendition is getting generating.

 

Anyone having any idea why this is happening.

 

Thanks in Advance 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Can you check the following:

- DAM Update Asset workflow is triggered when you upload an asset.

- Check for any workflow related errors.

- Check if other renditions for other file types are generated as expected. If this is the case, there is an issue with workflow cconfiguration.

View solution in original post

5 Replies

Avatar

Correct answer by
Employee Advisor

Can you check the following:

- DAM Update Asset workflow is triggered when you upload an asset.

- Check for any workflow related errors.

- Check if other renditions for other file types are generated as expected. If this is the case, there is an issue with workflow cconfiguration.

Avatar

Community Advisor

I am seeing this exception in logs

 

com.day.cq.dam.commons.handler.standardImageHandler exctractedMetadata : Cant read metadata from image .. org.apapche.commons.imaging.Imagereadexception : Cant parse the format

 

 

Hi,

Did you able to find the real cause of this issue ?

 

How you fixed this issue ?

 

Thanks in advance

Avatar

Employee
you are truncating too much of the log to convey anything useful.

Avatar

Community Advisor

I am trying to save the .svg to .JPEG . I can see file is getting generated in the original as nt:file and other renditions are getting generated but in the assets screen when we try to open the original .. original is having the 0x0 size jpeg.

 

I don't see any exceptions , what is the reason it is not able to show ? I have compared the metada details with other .jpeg file as well, I dont see any differences. 

or

please help me how can I upload the SVG (html) to JPEG  using API. Since whatever I am trying having some problems.

 

Please help me to figure it out this one. Thanks In Advance.