my $p = new Image::Magick;
... lots of code
my $pic_image = $p->ImageToBlob();
I'm not sure if that makes it a character string but surely not?
I am using the Unicode plugin; does it cause any problems?
2008/5/9 Aristotle Pagaltzis <[EMAIL PROTECTED]>:
> * Martin Ellison <[EMAIL PROTECTED]> [2008-05-09 14:46]:
> > My code looks like
> >
> > $c->res->content_type(q{image/jpeg});
> > $c->res->header( 'Content-Disposition', q{inline} );
> > $c->res->body($pic_image);
>
> Is `$pic_image` marked as a character string? Are you using
> Catalyst::Plugin::Unicode?
>
> Regards,
> --
> Aristotle Pagaltzis // <http://plasmasturm.org/>
>
> _______________________________________________
> List: [email protected]
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/
>
--
Regards,
Martin
([EMAIL PROTECTED])
IT: http://methodsupport.com Personal: http://thereisnoend.org
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/