Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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
Replies are listed 'Best First'.
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 imbibing at the Monastery: (5)
As of 2015-07-30 06:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls