http://www.perlmonks.org?node_id=1024517


in reply to Scale image problems

Is your $src valid to call scale () on? What module does provide your scale method?


Enjoy, Have FUN! H.Merijn

Replies are listed 'Best First'.
Re^2: Scale image problems
by jerre_111 (Sexton) on Mar 20, 2013 at 13:53 UTC

    Sorry, forgot that part.

    I am using the Imager module to do this actions. Normally it is possible with this module, right?!

    this is the code I'm using to define  $src :

     $src = Imager->new(file => $image_file) or die Imager->errstr;

    Where the $image-file variabel is just the pad from where the image is located