[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lua-l
Subject:    Re: Image processing module?
From:       Dirk Laurie <dirk.laurie () gmail ! com>
Date:       2012-08-30 19:32:27
Message-ID: CABcj=tmc2wKknHAD+d8q2YVUxcmnBEJX_fJzQQE-SsC4qFhCxQ () mail ! gmail ! com
[Download RAW message or body]

2012/8/30 Wesley Smith <wesley.hoke@gmail.com>:
> To add to the list of options ... I made an image loading module for
> LuaAV that can build on OSX and Linux.  It can use FreeImage, OpenEXR
> and/or ImageIO on OSX.  Here's the link:
> https://github.com/LuaAV/LuaAV/tree/master/LuaAV/modules/image/src
>
> It comes paired with an Array module that's a generic byte buffer container:
> https://github.com/LuaAV/LuaAV/blob/master/LuaAV/libluaav/src/lua_array.cpp
>
> Sample API:
>
> local Image = require("Image")
> local img = Image("LuaAV.96.png")
> -- do stuff
> img:save("new.file.jpg")
>
>
> The repo layout isn't setup to build the module without the larger
> environment, so you'd have to do some legwork there.  That said,
> chunks of the code might be useful if you felt like cobbling together
> your own module, particularly the FreeImage part.
> wes
>
Well, I've just bravely typed

git clone https://github.com/LuaAV/LuaAV/

so let's see!

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic