Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^5: How to keep Imager's image files small ?

by BrowserUk (Patriarch)
on Jul 28, 2012 at 00:33 UTC ( [id://984122]=note: print w/replies, xml ) Need Help??

in reply to Re^4: How to keep Imager's image files small ?
in thread How to keep Imager's image files small ?

I stand corrected. Thankyou.

Out of interest, what triggers the writing of a 4-bit per pel .png?

Is it simply if the image is palettised and only uses 16 colors? I couldn't see any mechanism for forcing it.

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".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

  • Comment on Re^5: How to keep Imager's image files small ?

Replies are listed 'Best First'.
Re^6: How to keep Imager's image files small ?
by tonyc (Friar) on Jul 28, 2012 at 01:12 UTC

    Exactly that.

    Unlike GIF, PNG supports direct colour, so there's no need for the automatic to_paletted() that writing a GIF does.

    I've considered adding an optimization option, but it's low priority.

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-06-16 18:31 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    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.