2016-07-19 11:19 GMT+02:00 Cecil Westerhof <cldwester...@gmail.com>:

> 2016-07-19 10:49 GMT+02:00 Cecil Westerhof <cldwester...@gmail.com>:
>
>> 2016-07-19 10:23 GMT+02:00 Miguel Ping <miguel.p...@gmail.com>:
>>
>>> If you want to learn clojure by image processing, thats fine, but if
>>> your goal is to do the image processing part rather sooner than later, I
>>> recommend using an external lib like imagemagick or sharp (
>>> http://sharp.dimens.io/en/stable/) to do that for you, and hook it via
>>> FFI.
>>>
>>
>> ​I was (in the first instance) planning to use just Image Magick like I
>> do now. The only thing I wanted was to display the picture, move the
>> rectangle around to select the part to crop and then let Image Magick do
>> the cropping. But your link says sharp is 4-5 times as fast, so I probably
>> should switch.​
>>
>
> ​Well I get:
> npm ERR! sharp@0.15.1 install: `node-gyp rebuild`
> npm ERR! Exit status 1
> npm ERR!
> npm ERR! Failed at the sharp@0.15.1 install script 'node-gyp rebuild'.
> npm ERR! This is most likely a problem with the sharp package,
> npm ERR! not with npm itself.
> npm ERR! Tell the author that this fails on your system:
> npm ERR!     node-gyp rebuild
> npm ERR! You can get information on how to open an issue for this project
> with:
> npm ERR!     npm bugs sharp
> npm ERR! Or if that isn't available, you can get their info via:
> npm ERR!
> npm ERR!     npm owner ls sharp
> npm ERR! There is likely additional logging output above.
>
> npm ERR! Please include the following file with any support request:
> npm ERR!     /root/npm-debug.log
>

​Problem solved: I needed to install nodejs-devel.​

-- 
Cecil Westerhof

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to