Open umpirsky opened 9 years ago
+1 (win10)
Found any solution?
Iirc I ended up using grunt-responsive-images
.
+1 (win 10 64)
Had same issue, image resize shows this error on grunt job
Fatal error: Cannot read property 'width' of undefined
Problem can be tracked down to line 72 in image_resize.js
gm.(filepath).size(function(err))
which err output shows:
Error: Could not execute GraphicsMagick/ImageMagick: identify "-ping" "-format" "%wx%h"
"public/img/xyz.jpg" this most likely means the gm/convert binaries can't be found
Solution on win10 is, reinstall ImageMagick with the legacy utilities
I want to resize all images inside this folder recursively (and keep folder structure).
Here is my config:
When I run it:
Code is available on https://github.com/umpirsky/meni.rs/commit/24f3b7696b65d4ee94483b4c6138cacdfdf368a0.
I am aware of https://github.com/excellenteasy/grunt-image-resize/issues/14 and https://github.com/excellenteasy/grunt-image-resize/issues/11, but looks like it is not my case.
I noticed that it resizes successfully only for first folder, and then fails with this error.