Hi,

I'm trying to place Unicode annotations on a JPEG file:

#!/usr/bin/env perl
use 5.010;
use warnings;
use strict;

use Image::Magick;
use utf8;

my $image = Image::Magick->new();

$image->Read('file.jpg');

$image->Annotate(text => 'α', pointsize=>'60', geometry=>'+100+100');

$image->Write("/tmp/somefile.jpg");



Instead of the 'α' I'm getting a '?' on the resulting image.


What am I missing?

I tried to add "encoding => 'UTF-8'" to the Annotate call, but that
doesn't help.


I'm using perl 5.20 as shipped with Debian Jessie.

Regards,

Simon



-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to