Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Perl::Magick maxes my systems processor usage

by MrCromeDome (Deacon)
on Jul 03, 2003 at 17:28 UTC ( [id://271242]=note: print w/replies, xml ) Need Help??


in reply to Perl::Magick maxes my systems processor usage

Just checking through my nodes. Found an answer to this some time ago, and thought I would post a response for anyone who stumbles into the same situation:

The bottleneck would appear to be the TIF image compression. If you disable compression in the following manner:

$success = $img->write(filename=>$path, compression=>'None');
the program screams. Of course, as the purpose of my script is to save space, this isn't optimal ;)

The compression functionality may work faster on a *nix platform, which is unfortunately not an option for what I'm doing here. As such I have done no testing to either prove or disprove this. So you may wish to take this with a grain (if not a pound) of salt if attempting this on *nix.

Good luck!
MrCromeDome

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-04-19 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found