On Tue, Jun 10, 2014 at 10:33 PM, Eyal Arubas <[email protected]> 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. > Look into the Leptonica C Image Processing Library [1] [2]. It depends on libtiff, libpng, libjpeg, zlib, and/or gifflib for its image IO. But I bet any such package also does the same thing. Why would they re-invent the wheel? [1] http://leptonica.org/ [2] http://tpgit.github.io/UnOfficialLeptDocs/index.html -- 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/CAMEax77Un%3D%2BPBsq0SbZX-Lkrk3gs05aJ6ebXOCCV%3DAneuyCZPw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
