Query or report showing byte-lengths and pixel-sizes of All image renditions in Digital Assets
Hi All,
Is it possible in AEM 6.1 to see a list showing byte-lengths and pixel-sizes of All image renditions in Digital Assets?
Is there a query or report built in to AEM 6.1 that can do this? Or is it possible to do this in JAVA?
In CRXDE Lite, the following SQL2 query will list all files in Digital Assets, but includes files which are not images :-
SELECT * FROM [dam:Asset] WHERE ISDESCENDANTNODE("/content/dam")
But the following SQL2 quary returns no results :-
SELECT * FROM [dam:Asset] AS d WHERE d.[jcr:content/renditions] IS NOT NULL
Alternatively the URL http://localhost:4522/bin/querybuilder.json?path=%2fcontent%2fdam&p.limit=-1 does return a lot of data in JSON format but at the bottom of the data it says Exception: StackOverflowError.
Thank you for your time.