Open klatter opened 2 years ago
The current version of GetImageDimensions makes use of Java's BufferedImage, which loads the image uncompressed into memory. This can cause an out of memory exception using this java action with a a high resolution image.
The new implementation is based on the stackoverflow post below and avoids loading the image uncompressed into memory. https://stackoverflow.com/questions/672916/how-to-get-image-height-and-width-using-java
The current version of GetImageDimensions makes use of Java's BufferedImage, which loads the image uncompressed into memory. This can cause an out of memory exception using this java action with a a high resolution image.
The new implementation is based on the stackoverflow post below and avoids loading the image uncompressed into memory. https://stackoverflow.com/questions/672916/how-to-get-image-height-and-width-using-java