BufferedImage widht/height parameters
Posted on 2012-03-21
I want to create a BufferedImage like so:
BufferedImage myImage = new BufferedImage((int)width, (int)height, BufferedImage.TYPE_INT_RGB);
The difficult is that the width and height I have are in inches, so I need to convert inches to pixels. How do I determine the pixels/inch?