I'm trying to discet an image file with
Image::Magick and I'm running into some problems. I
can get it to work, however, it's slow. The image(s) are 640x480 and I basically need to chunk it up into 40x40 squares. Reading the docs, the only thing I found that seemed to be useful is $image->Crop(). The only problem with that is, it alters the larger(original) image, as you would expect. The only way I saw around this was to reread the original image from disk over and over again. That's pretty slow.
Is there a way to load the original image once and then piece it up? I'm notall that familiar with image manipulation so I'm a little unsure of some of the methods mentioned.
Thanks,
Rich
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.