Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting comments from images with ImageMagick?



On Sunday 09 February 2003 05:47 pm, Duane Morin wrote:
> Thanks!  I also discovered that "identify -verbose" will do it, but with a
> multline output that I then have to scrape.

identify -verbose /var/www/htdocs/alt/tpipw.jpg | perl -e '
$in=join("",<>); 
if($in =~/comment\:(.*?)\s+signature\:/s) 
{
	print "$1\n"
}
'

I was going to suggest "identify", but you specifically ruled that out.

-------------------------------------------------------------------
DDDD   David Kramer                   http://thekramers.net
DK KD  
DKK D  
DK KD  Pretense and adversity are inversely proportional;
DDDD   Adversity reveals the true nature of all things.




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org