Hi, I'm using Sanselan to get dpi from jpg and jpeg images and work great. I tried to get the same thing for png and gif but soesn't work.
File pngFile = new File("png.png");
File gifFile = new File("gif.gif");
File jpgFile = new File("jpg.jpg");
File jpegFile = new File("jpeg.jpeg");
IImageMetadata metadata = Sanselan.getMetadata(jpegFile);
System.out.println(metadata.toString());
Is there a way to get dpi from png and gif file?
Best Regards
Mihai
