excellenteasy / grunt-image-resize

Unmaintained. If you'd like to take this over please let us know. Resizing images made easy - thanks to imagemagick.
MIT License
57 stars 46 forks source link

Added concurrency to resizing #5

Closed normanrz closed 11 years ago

normanrz commented 11 years ago

I made a small change which allows the resizing to happen in parallel. AFAIK ImageMagick doesn't make use of multi-cores by itself.

normanrz commented 11 years ago

I noticed that there is a problem with node-imagemagick when using it concurrently (see #4). So I switched to the https://github.com/aheckmann/gm module. It supports both ImageMagick and GraphicsMagick.

boennemann commented 11 years ago

Could you please fix the remaining issue, so we can merge?

Thanks for your efforts!

Running "image_resize:resize" (image_resize) task
Fatal error: Cannot read property 'width' of undefined
davidpfahler commented 11 years ago

This is really awesome, but I'm worried about the failing tests.

normanrz commented 11 years ago

Oops, I had only tested with Graphicsmagick. Sorry about that. Now, only Imagemagick is supported. Let me know if you still have issues.