Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 perusing the Monastery: (7)
As of 2014-08-27 11:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (237 votes), past polls