List Info

Thread: Writing/Reading comments in IM




Writing/Reading comments in IM
user name
2006-10-30 15:03:30
Hello,

after writing/reading comments with PerlMagick is still
not solved for me I went a step back to IM commands:

convert image.jpg -comment
"image.jpg*1373*1985*839*131*" image.jpg

The question is now how to validate if/what
was written i.e. how can a comment be read with IM?



Trying to read the comment of image.jpg after the
application
of the IM command above  in PerlMagick with

$image->Read('image.jpg');
$Comment_string = $image->Get('comment');
print $Comment_string;

results in the termination of the Perl Command Line
Interpreter (Win).


Thanks for further help!

Günter


_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )