gerkintrigg Posted August 31, 2007 Share Posted August 31, 2007 I'm trying to create an image download script that rescales an original source image on my server to a particular size before forcing a download. I can force the download bit okay, but it's the rescaling I'm having difficulty with. Resizing is fairly easy, but it's resolution that's proving a nightmare. Does PHP only output to 72dpi? or is there a way to set a particular output resolution? Thanks for your (potential) help. Link to comment https://forums.phpfreaks.com/topic/67448-solved-image-resolution/ Share on other sites More sharing options...
AndyB Posted September 1, 2007 Share Posted September 1, 2007 http://www.php.net/gd - the only mention of dpi adjustment in the user notes is for ImageMagick. I'd assume from that that GD can't do anything other than 72 dpi. Link to comment https://forums.phpfreaks.com/topic/67448-solved-image-resolution/#findComment-339091 Share on other sites More sharing options...
gerkintrigg Posted September 1, 2007 Author Share Posted September 1, 2007 Yeah that's what I thought. :'( Okay thanks. Link to comment https://forums.phpfreaks.com/topic/67448-solved-image-resolution/#findComment-339336 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.