Hi, I am facing one issue in AEM 6.4 for the names of the downloaded renditions as compared to the details of the renditions in the UI Steps to reproduce
1> Login into DAM UI.
2> Navigate to Assets -> FIles -> Click on any folder
3> Click on any image/video asset.
4> Select Renditions from Top left raildown icon(Capture the rendition dimensions).
5> Now click on download and check renditions checkbox
6> Click on download button.
7> Open the downloaded assets Expected: Image-Name of the downloaded renditions should be appended with correct dimensions as mentioned in UI(Refer Step 4).
Video- Name and Actual Dimension(Open the downloaded rendition -> Select File Info from the top right 'see more' drop down) should be as per the renditions mentioned in UI(Step 4). Actual: Image-Dimensions appended with file name is not matching the actual dimensions mentioned in renditions(Step 4) Video- Name and Actual Dimension is not as per the renditions mentioned in UI(Step 4).
My observation is that the image name is derived from "Thumbnail Arguments" which is typically "48*48" or something specified by the user but based on other arguments, it may or may not maintain the aspect ratio which modifies the dimensions of image. If you download the image and check the properties, it would still show the correct dimensions which may/may not match with the name of image.
Sometimes, you see that the renditions displayed on DAM admin for an asset in AEM 6.3 doesn't match AEM 6.4, although its the same asset (e.g., *.ai) and assetType. In latest versions of AEM, it uses the actual dimensions of the images rather than rely on the rendition string appended to the name of the generated assets.
Comparing the file /libs/dam/gui/coral/components/admin/unifiedrenditions/staticrenditions/staticrenditions.jsp in AEM 6.3 and AEM 6.4, we see there is minor change in condition for display logic. If we replace “getMimeType()” with “getAsset()”, display names of renditions for image thumbnail exactly matches on both versions for a given asset file (.ai).