Expand my Community achievements bar.

SOLVED

Asset upload - dam:physicalheightindpi calculation

Avatar

Level 1
Level 1

Hello All,

 

Could anyone point me to more details of how the below fields are calculated for any asset uploaded to AEM DAM? Which workflow step is responsible for it?

 

bk5_0-1697206042783.png

 

 

dam:Physicalheightindpi

dam:Physicalheightininches

dam:Physicalwidthindpi

dam:Physicalwidthininches

 

Thanks in Advance!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

I believe this is a setting that is made with Photoshop within the picture.
Open up a picture in Photoshop, then select image > image size 
on the bottom you see the value in the resolution that was assigned to the picture.

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

I believe this is a setting that is made with Photoshop within the picture.
Open up a picture in Photoshop, then select image > image size 
on the bottom you see the value in the resolution that was assigned to the picture.

Avatar

Community Advisor

I just had a quick test - opened up a picture, set the resolution to 123ppi and uploaded it into DEV.
As expected - the file now looks like this:

AdilosCantuerk_0-1697553007301.png

Why does this value bother you? 
Does it have an impact on something? 
Pixel size matters for most use cases - not dpi/ppi

Avatar

Level 1
Level 1

Thanks @Adilos-Cantuerk for the update.

We get value as "-1" for both dam:Physicalheightindpi and 

dam:Physicalwidthindpi for most of the (90%) assets and thus wanted to check what logic is responsible for this.