Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: GD @ 300dpi output

by BrowserUk (Patriarch)
on Mar 27, 2016 at 05:49 UTC ( [id://1158850]=note: print w/replies, xml ) Need Help??


in reply to GD @ 300dpi output

You are confused. An image contains pixels. Those pixels only become dpi when you print them. GD, has nothing whatsoever to do with printing.

The exact, bit for bit, binary identical, same image can be printed at 72 dpi or 300 dpi or 1 dot per metre if you want it really big.

A 2550 x 3300 printed at 72 dpi will be 35.416" x 45.833". The same image printed at 300dpi will be 8.5" x 10". The content of the image file doesn't change at all.

What is telling you that the images produced using GD are "72dpi"?

Looking again, I see you are outputting to jpg format. That is the wrong thing to do if you want to retain quality.

For more information about the confusion that Photoshop creates, read:http://proshooter.com/article_whatisa300dpiJPeg.htm (You'll just have to forgive the photographer the hideous layout:) the information is good.)


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1158850]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-06-24 15:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.