Mon Mar 5 17:11:57 CET 2012
I was looking for a library able to read (and, possibly, author) images
in various formats and I decided to give erl_img  a try.
Apparently, it perfectly suits my needs. Anyway, I'm not able to read
jpeg images, that is:
1> erl_img:load ("/home/loris/shuttle_iss.jpg").
As you can see, the last field of the #erl_image record (which,
according to  should be the 'pixmap') is set to be the empty list.
Having a look at the code, it seems the 'image_jpeg:read' function,
which should be the responsible for reading the content of the image,
does nothing more than return the empty #erl_image .
Am I missing something really basic?
Thanks in advance.
More information about the erlang-questions