Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Higher quality image optimization when uploading

by Albannach (Prior)
on Oct 03, 2003 at 15:31 UTC ( #296291=note: print w/ replies, xml ) Need Help??


in reply to Higher quality image optimization when uploading

I'm not entirely sure what you mean by 'optimize', but perhaps you have an older version of GD, which only supported 8-bit colour in JPEGs? If your version is 2 or newer, you should be able to use GD::Image->trueColor(1); (or there are other ways to do this - consult the POD).

--
I'd like to be able to assign to an luser


Comment on Re: Higher quality image optimization when uploading
Download Code
Re: Re: Higher quality image optimization when uploading
by bradcathey (Prior) on Oct 03, 2003 at 15:55 UTC
    Thanks Albannach for your comments. I was aware of the short comings of older versions, and I am using a 2.+ version with trueColor set to 1. By "optimization," I simply mean the degree of compression, i.e., lossy.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-07-29 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (217 votes), past polls