Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Perlmagick?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Perlmagick?
Authored by: FiremanAndy on Oct 23, '02 11:01:13PM
I believe the only part of perlmagick that Movable Type needs is Image::Size. you should be able to install this easy from CPAN with:

sudo perl -MCPAN -e shell
install Image::Size


Other parts of perlmagick may depend on some of the X11 based utilities in ImageMagick. Those are not included in the installer from Apple but would probably be in the fink dist. fink vs /usr/local/bin/ is religion so get over it. personally I love just being able to run

mogrify -enhance somepicture.jpg

and have it enhance the picture better than I can futzing with photoshop for 5 minutes. I installed MT on my computer to test out various things and it seems to work fine once Image::size was installed. I am thinking about writing an SSI that would also run 'mogrify -enhance' on any picture I upload. If I do I'll post a hint on this site. BTW, the latest release of MT (2.5) includes support for other graphics modules so it can work without having to install perlmagick.

[ Reply to This | # ]
Perlmagick?
Authored by: Chas on Oct 24, '02 01:34:14AM

It looks like Image::size just returns the dimensions of the image, it doesn't alter them, resize or resample. I fiddled with building Image::Magick through CPAN but it dies during the build. Someone posted detailed changes to the makefile via the MacOS X Perl mailing list, I have it in my email archives, but I can't make heads or tails of it. Looks like a diff file or something unixy. I don't quite know what to do with the file. I'll look around for a web archive of the Perlmagick makefile mods so I don't have to post pages of horrid code here.



[ Reply to This | # ]
perlmagick-pm- 5.4.5-12
Authored by: sao on Oct 25, '02 10:21:50AM

I installed perlmagick-pm-5.4.5-12 (Perl interface to ImageMagick) with Fink.

Also with Fink, it took me about one hour to install from source imagemagick-5.4.5-2.

Cheers...



[ Reply to This | # ]