http://qs321.pair.com?node_id=11118024


in reply to Re^2: Shrink Images and PDFs
in thread Shrink Images and PDFs

>usually the Perl module has to be installed separately

Sorry, I meant that the Perl module comes with installing ImageMagick itself if you do it from source. From my experience installing it from source is straightforward (they make it so necessarily). Just a thought I wanted to mention since I've use gone down a similar route with image manipulation. I didn't do any shrinking, but added some watermarks to images I was serving. I also served up different "sizes". But it was all done via the Perl library, not convert itself. Anyway, I think your use of Perl is really neat here.

Replies are listed 'Best First'.
Re^4: Shrink Images and PDFs
by marto (Cardinal) on Jun 13, 2020 at 18:38 UTC
      Well, thanks for the heads up. It's been a while since I installed IM so I might have been pretty baffled if I did it again now.

      $ ./configure --with-modules --enable-shared --with-perl
      Ah well there you go.

        "Ah well there you go."

        You can't have tried this.

        /usr/bin/ld: cannot find -lperl collect2: error: ld returned 1 exit status