Well... no, what I need is the code to read the size of the monitor screen from the graphics card. I already know how to read the pixel dimensions.
Then, I am going to come up with a formula for the correct scaling to keep the size constant.
I would be happy to post the final working code here (if it does not exist already) if anyone could help me with this step.
Cheers!...
User Profile
Collapse
-
Image Scaling to a Constant Size for Monitor and Resolution
I have a semi-urgent need to solve a problem in Java.
I have three small images that I need to hold to a constant size (e.g., 1 inch) regardless of both monitor size and resolution.
Basically it breaks down to this series of events.
1. Determine the users monitor size.
2. Determine the users screen resolution size.
3. Calculate the height and with to scale the image to for a constant size....
No activity results to display
Show More
Leave a comment: