![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Yes! ... holy cow, finally a way to set the dpi value. Image::ExifTool is exactly what I needed - worked perfectly. Thank you for the recommendation and sample code.
I had always assumed that GD would retain the source dpi value if you use a particular setting but simply couldn't find a way to have it set a desired value in the output file. The problem I was having is that when the batch job goes to send the image file to the printer, the dpi reduction changed the image to 35 inches wide instead of 8.5 and I'd have to go in and reset the dpi value in Photoshop every time. As BrowserUK said, I'm not completely in tune with how the conversions work so I appreciate the link to the explanation web page... will try to better understand the mechanics of dpi versus pixel counts going forward. And yep, jpg compression probably isn't the best format to use but it is just an office printer doing the work... didn't have to be photo quality. At 95% output it is pretty clear in the final print. May look into using png - I think that is lossless but it's been awhile since I've read up on it. Thanks again for the assistance and solution! In reply to Re^2: GD @ 300dpi output
by themcp
|
|