[erlang-questions] Re: Reading JPEG images in Erlang
Tue Aug 3 18:28:42 CEST 2010
I have written a JPEG reader in Erlang (for erl_img), but as you noticed it is not yet commited.
It currently only support the basic format but I will see if I can polish it a bit to handle
more types of JPEG's. It's not very fast but I have seen DCT implemented in openCL that can
be handy if one uses the openCL binding (:tonyrog/cl.git ;-)
On 3 aug 2010, at 18.03, Zvi wrote:
> On Aug 3, 5:38 pm, Bob Ippolito <> wrote:
>> On Tue, Aug 3, 2010 at 10:59 PM, Zvi <> wrote:
>>> I trying to parse JPEG file in Erlang. I tried jungerl erl_img
>>> library, it seems to be working for other image formats, but not for
>>> I prefer native Erlang code, but if not available, I would use binding
>>> to some C library.
>>> Any pointers?
>> Try using a different one, some of the versions of erl_img out there e
>> just broken. I think this is the branch we use internally:http://github.com/emad/erl_img
> This is the one I using.
> The problem is, unlike for other file formats, like PNG or GIF, it
> doesn't load pixels.
> For example:
> 1> erl_img:load("/home/me/some.jpg").
> Compare it to PNG:
> 2> erl_img:load("/home/me/some.png").
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:
More information about the erlang-questions