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

Re^3: PerlMagick Gtk2::Gdk::Pixbuf

by zentara (Archbishop)
on Jul 22, 2008 at 12:01 UTC ( #699280=note: print w/replies, xml ) Need Help??

in reply to Re^2: PerlMagick Gtk2::Gdk::Pixbuf
in thread PerlMagick Gtk2::Gdk::Pixbuf

A couple of comments. First your use of the word canvas for a ImageMagick object is slightly confusing, but it's legal. Second, I know it's just a preliminary example, but if you are going to make it into an app that will load many pictures and operate on them, you should make your IM objects global and reuse them, so you are not making new ones all the time. You can clear out an IM object with
#reuse object undef @$IMagick_object; # clear out IM object data

I'm not really a human, but I play one on earth Remember How Lucky You Are

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2022-07-01 10:25 GMT
Find Nodes?
    Voting Booth?
    My most frequent journeys are powered by:

    Results (98 votes). Check out past polls.