Hi Team,
We have a requirement to get following property from Image
- Height of image in points
- Width of image in points
- Color space used in Image
Thanking You
Priya Dharshini J P
Hi Team,
We have a requirement to get following property from Image
Thanking You
Priya Dharshini J P
Hi Priya Dharshini,
I have observed your requirements and suggest you to please try using following sample code on your end to serve the purpose. I hope the shared information will be helpful.
JpegImage jpgImage = (JpegImage)Image.load(path + “fx1.jpg”);
System.out.println("Height: “+jpgImage.getHeight()+”, Width: “+jpgImage.getWidth()
+”, ColorSpace: "+jpgImage.getRawDataFormat().getPixelFormat());
Hi,
Hi Priya Dharshini,
I suggest you to please visit PixelFormat API reference guide page. The enumerator values start from 0. I hope the shared information will be helpful.
Many Thanks,