Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^3: Shrink Images and PDFs

by perlfan (Vicar)
on Jun 13, 2020 at 17:28 UTC ( #11118024=note: print w/replies, xml ) Need Help??

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

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11118024]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2022-12-07 14:08 GMT
Find Nodes?
    Voting Booth?

    No recent polls found