in reply to is it possible to search an image

And even another possible interpretation ... use the linux "strings" utility.

It's not Perl, but "strings myimage.jpg" will yield all strings of printable characters. Like:

*I7K dbn^ "S3t0 VePz |2`j ]C<v( eH=BZ!

I'm not really a human, but I play one on earth. Cogito ergo sum a bum