allelopath
asked on
BufferedImage widht/height parameters
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?
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Open in new window