[SP-pm] Image::Magick não funciona

Daniel Vinciguerra dan.vinciguerra at gmail.com
Sat Sep 15 12:09:59 PDT 2012


Lucas, aqui rolou!

http://imageshack.us/f/193/screenshotfrom201209151.png/
*
Daniel Vinciguerra*
Web Solutions Architect and Co-Owner at Bivee
http://github.com/dvinciguerra <http://github.com/dvinciguerra>


2012/9/15 Daniel Mantovani <daniel.oliveira.mantovani at gmail.com>

> Essa saída do teste não está completa, mande uma completa.
>
> --
> "A Jedi uses the Force for knowledge and defense, never for attack." - Yoda
>
> Software Engineer
> Just Another Perl Hacker
> Daniel Mantovani +5511 8538-9897
> XOXO
>
> On Sep 15, 2012, at 3:49 PM, Lucas Moraes <lucastiagodemoraes at gmail.com>
> wrote:
>
> > fiz um teste com esse script:
> > my $test=new Image::Magick;
> > print $test->GetAttribute('version');
> >
> > me retornou isso:
> > ImageMagick 6.7.9-5 2012-09-15 Q16 http://www.imagemagick.org
> >
> > Mantovani fiz o que me pediu veja o teste:
> > http://pastebin.com/yRmiGXmw
> >
> > avisando que instalei o modulo que veio jundo com imagemagick baixado
> > do site oficial do mesmo.
> >
> > Em 15 de setembro de 2012 15:42, Daniel Mantovani
> > <daniel.oliveira.mantovani at gmail.com> escreveu:
> >> Bom dia,
> >>
> >> Qual a versão do Image Magick instalada ?
> >>
> >> Por gentileza, abra o CPAN e teste o módulo.
> >> $cpan
> >> cpan>test Image::Magick
> >>
> >>
> >>
> >> --
> >> "A Jedi uses the Force for knowledge and defense, never for attack." -
> Yoda
> >>
> >> Software Engineer
> >> Just Another Perl Hacker
> >> Daniel Mantovani +5511 8538-9897
> >> XOXO
> >>
> >> On Sep 15, 2012, at 3:35 PM, Lucas Moraes <lucastiagodemoraes at gmail.com>
> wrote:
> >>
> >>> Boa tarde Mongers :)
> >>> Instalei Image::Magick, o problema que não esta funcionando, mas não
> >>> retorna erro.
> >>>
> >>> Esse código abaixo era para retornar altura e largura, mas retorna em
> branco:
> >>> my $imagem = Image::Magick->new;
> >>> $imagem->Read('/home/lucas/Zoio/root/static/images/imagem.jpg');
> >>> my ($l, $a) = $imagem->Get('width', 'height');
> >>> print $l . 'x' . $a;
> >>>
> >>> A imagem existe, já fiz vários teste e nada.
> >>>
> >>> Alguém pode me ajudar?
> >>>
> >>> Desde já eu agradeço :)
> >>> =begin disclaimer
> >>>  Sao Paulo Perl Mongers: http://sao-paulo.pm.org/
> >>> SaoPaulo-pm mailing list: SaoPaulo-pm at pm.org
> >>> L<http://mail.pm.org/mailman/listinfo/saopaulo-pm>
> >>> =end disclaimer
> >>
> >> =begin disclaimer
> >>   Sao Paulo Perl Mongers: http://sao-paulo.pm.org/
> >> SaoPaulo-pm mailing list: SaoPaulo-pm at pm.org
> >> L<http://mail.pm.org/mailman/listinfo/saopaulo-pm>
> >> =end disclaimer
> > =begin disclaimer
> >   Sao Paulo Perl Mongers: http://sao-paulo.pm.org/
> > SaoPaulo-pm mailing list: SaoPaulo-pm at pm.org
> > L<http://mail.pm.org/mailman/listinfo/saopaulo-pm>
> > =end disclaimer
>
> =begin disclaimer
>    Sao Paulo Perl Mongers: http://sao-paulo.pm.org/
>  SaoPaulo-pm mailing list: SaoPaulo-pm at pm.org
>  L<http://mail.pm.org/mailman/listinfo/saopaulo-pm>
> =end disclaimer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/saopaulo-pm/attachments/20120915/cbe028b7/attachment.html>


More information about the SaoPaulo-pm mailing list