tolyan77 has asked for the wisdom of the Perl Monks concerning the following question:
How to deduce the text on the image?#!/usr/bin/perl -w use strict; use Image::Magick; my $text = 'test'; my $im = new Image::Magick; $im->Read("meteo.jpg"); $im->Annotate(text=>$text, X=>10, Y=>10); binmode STDOUT; select(STDOUT); $| = 1; undef $/; print "Content-type: image/jpeg\n\n"; print $im->Write('jpeg:-');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Image Magick
by ikegami (Patriarch) on Feb 16, 2007 at 04:40 UTC | |
by tolyan77 (Novice) on Feb 16, 2007 at 05:49 UTC | |
by ikegami (Patriarch) on Feb 16, 2007 at 06:22 UTC | |
by sphalaris (Novice) on Feb 16, 2007 at 08:15 UTC | |
by graq (Curate) on Feb 16, 2007 at 08:58 UTC | |
by tolyan77 (Novice) on Feb 16, 2007 at 09:10 UTC |