Finding Photo Pixels

Hello, I have an app that takes pictures and sends those pictures through some internal APIs. The APIs need the photos to be compressed to a certain size to be used properly. Pictures with less pixels need compressed less while pictures with more pixels need compressed more. Is their a way to check how many pixels a picture has in Mendix? I am struggling to find this. Thanks!
1 answers

There is a GetImageDimensions java action in the CommunityCommons module.