How to get Rendition image height and width programmatically? (Other than OOTB Renditions)
I have a scenario where I have to read each of the manually added renditions height and width.
Rendition rendition = resource.adaptTo(Rendition.class);// rendition obj would only give size of the rendition (rendition.getSize()) not height and width.
For generated renditions, we would at least read it from the node name (String Operations) (cq5dam.thumbnail.140.100.png).
But how to get the height and width of the renditions which are other than ootb renditions and doesnt have height and width values in the filename.
for ex: cq5dam.fpo.jpeg
