Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Shrink Images and PDFs

by perlfan (Vicar)
on Jun 13, 2020 at 17:28 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-19 03:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found