resizing of images into hard sizes

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dylan001
Forum Newbie
Posts: 16
Joined: Thu May 19, 2005 5:57 am

resizing of images into hard sizes

Post by dylan001 »

Hi, this may have been covered before, but I looked hard and couldn't find what I was looking for (appologies if its there).

I would like to display an image which users can print off at a size determined by myself (12cm by 12cm). However, because different users will be using different resolutions then no one picture size will suit all users. Could anybody point me in the right direction for determining a users resolution and/or any other considerations I may have to assount for?


Thanks

Jamie
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

The user's screen resolution has no bearing on the print resolution. Just make sure the DPI count is high enough and you should be good.
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

you can use a print stylesheet to specify an image height/width in cm, don't know how good support for it is though.
Post Reply