Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Resize image in Inches from pixels

843807Apr 11 2003 — edited Apr 24 2003
I have an application that takes images from the system clipboard. What I would like to do is be able to resize this image so that is fits into certain predefined templates (which are defined in inches). Specificaly, I would like to be able to insert passport size photos (5inches x 5inches). What I want then is to be able to edit the image that the user copies so that it fits within the 5" by 5" boundary ( I don't want to change the ratio of the image, jus the size).

If I could use templates defined in pixels, this would be very easy. But with the inch constraint, I'm not sure how to go. Any ideas?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 22 2003
Added on Apr 11 2003
5 comments
411 views