Following this discussion I started development of an image processing 
module without runtime dependencies.

https://github.com/EyalAr/lwip

Features:
1. No runtime dependencies. No need to pre-install anything.
2. All image operations are done with a native C++ module.
3. Lots of syntactic sugar in Javascript land.
4. Batch operations on an image.
5. Get encoded image data as a NodeJS Buffer object.

Clone the repo and `cd lwip && npm install`.
Installation with npm will be available when v0.0.1 is released (see the 
milestone).

Everybody is welcome to check it out, help with development and post issues.

On Wednesday, June 11, 2014 1:33:53 PM UTC+8, Eyal Arubas wrote:
>
> I was looking for image processing modules which provide basic 
> functionalities (resize, crop, rotate, etc) without any external 
> dependencies.
> I couldn't find any.
> All modules out there (that I know of) depend on a local installation of 
> ImageMagick et al.
>
> So I started looking into rolling my own module which wraps the CImg 
> <http://cimg.sourceforge.net/> C++ library. But then I discovered that 
> it, too, depends on ImageMagick (at least for reading JPEGs).
>
> So my questions are:
>
>    1. Is there such a module out there?
>    2. If not, I would like to implement one.
>    1. Any suggestion about how I should go about it?
>       2. Which is a good C++ image library without pre-required 
>       dependencies that I can wrap?
>    
> I considered OpenCV and QT's QImage, but both are quite large, and not 
> specifically oriented towards basic image processing.
>
> I realize that installing ImageMagick on a server isn't that big a deal. 
> But I want to use the intended module in a node-webkit 
> <https://github.com/rogerwang/node-webkit/> application (client); and I 
> don't want to tell my users to install ImageMagick before they can use my 
> software.
>
> Thanks!
> Eyal.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/1812025c-072d-4f8f-b540-310240358e83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to