go ahead... be a heretic | |
PerlMonks |
Re^3: PerlMagick Gtk2::Gdk::Pixbufby zentara (Archbishop) |
on Jul 22, 2008 at 12:01 UTC ( [id://699280]=note: print w/replies, xml ) | Need Help?? |
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
I'm not really a human, but I play one on earth Remember How Lucky You Are
In Section
Seekers of Perl Wisdom
|
|