Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

How can I encode a image file by perl ?

by Anonymous Monk
on Jan 15, 2001 at 21:05 UTC ( [id://51957]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I am writing program to read a image file as binary or hexademical. Are there any function for doing that ?
  • Comment on How can I encode a image file by perl ?

Replies are listed 'Best First'.
Re: How can I encode a image file by perl ?
by fundflow (Chaplain) on Jan 15, 2001 at 23:53 UTC
    There is PerlMagic which is very versatile and handles all known image formats: http://www.imagemagick.org/www/perl.html

    If you need a small input-output routine you can use PPM image format. Simple I/O routines for this one are in my Japhoto.pl! script.

Re: How can I encode a image file by perl ?
by cLive ;-) (Prior) on Mar 31, 2001 at 15:49 UTC
    Also, I recommend the O'Reilly book:

    "Programming web graphics with Perl & GNU Software"

    I've read it but, unfortunately, haven't had time to play with it. The functionality though seems great. You can easily use imagemagick to manipulate images, and Perl::magick (or whatever it's called) is a simple object oriented interface for ImageMagick.

    Anybody actually had a play with it?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://51957]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-04-20 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found