"Beau E. Cox" on wrote...
| Hi -
|
| I use the -extract option in shell processing (convert) to load just a
| portion of an image; this functionally is not in PerlMagick. The
| following patch puts 'extract' into PerlMagick:
|
| --- ImageMagick-6.3.5.untouched/PerlMagick/Magick.xs 2007-07-15
| 15:29:19.000000000 -1000
| +++ ImageMagick-6.3.5/PerlMagick/Magick.xs 2007-07-18 23:59:04.000000000 -1000
| @@ -1274,6 +1274,14 @@
| image->endian=(EndianType) sp;
| break;
| }
| + if (LocaleCompare(attribute,"extract") == 0)
| + {
| + /*
| + Set image extract geometry.
| + */
| + (void) CloneString(&info->image_info->extract,SvPV(sval,na));
| + break;
| + }
| ThrowPerlException(exception,OptionError,"UnrecognizedAttribute",
| attribute);
| break;
|
| The patch has been successfully tested in 6.2.4 and 6.3.5-2. Should I
| post this somewhere else?
|
| Aloha => Beau;
Best idea is to post it on the IM Bugs Forum...
http://www.imagemagick.org/discourse-server/viewforum.php?f=3
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
The very best, and oldest, computer system built by man is Stonehenge.
Built by the Druids, who didn`t die out, but went bankrupt trying to
debug the software.
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users