On Jun 11, 2014, at 12:33 AM, 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 C++ > library. But then I discovered that it, too, depends on ImageMagick (at least > for reading JPEGs). > > So my questions are: > * Is there such a module out there? > * If not, I would like to implement one. > * Any suggestion about how I should go about it? > * 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 application (client); and > I don't want to tell my users to install ImageMagick before they can use my > software.
You could look into the canvas module. https://www.npmjs.org/package/canvas However, although it doesn't depend on ImageMagick, it does need cairo. -- 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/0B3B5F25-4FE6-4223-A64C-58F41C48A6A8%40ryandesign.com. For more options, visit https://groups.google.com/d/optout.
