{"action":"created","issue":{"url":"https://api.github.com/repos/1000ch/grunt-image/issues/18","labels_url":"https://api.github.com/repos/1000ch/grunt-image/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/1000ch/grunt-image/issues/18/comments","events_url":"https://api.github.com/repos/1000ch/grunt-image/issues/18/events","html_url":"https://github.com/1000ch/grunt-image/issues/18","id":99780661,"number":18,"title":"xxx.jpg is not optimized","user":{"login":"webberig","id":3446164,"avatar_url":"https://avatars.githubusercontent.com/u/3446164?v=3","gravatar_id":"","url":"https://api.github.com/users/webberig","html_url":"https://github.com/webberig","followers_url":"https://api.github.com/users/webberig/followers","following_url":"https://api.github.com/users/webberig/following{/other_user}","gists_url":"https://api.github.com/users/webberig/gists{/gist_id}","starred_url":"https://api.github.com/users/webberig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webberig/subscriptions","organizations_url":"https://api.github.com/users/webberig/orgs","repos_url":"https://api.github.com/users/webberig/repos","events_url":"https://api.github.com/users/webberig/events{/privacy}","received_events_url":"https://api.github.com/users/webberig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-08T07:40:50Z","updated_at":"2015-08-11T07:37:52Z","closed_at":null,"body":"Hi,\r\n\r\nI'm trying to get grunt-image working in a project, but when I run `grunt image`, the task goes over all the files, but none of the files are actually being manipulated:\r\n\r\n    ✗ web/img/media/photos/9_thumb.jpg is not optimized before=after=16.72 kB reduced=0 B(0%)\r\n\r\nI tried this in 2 different configurations (Windows & Linux). This is my configuration:\r\n\r\n    image: {\r\n            options: {\r\n                pngquant: true,\r\n                optipng: true,\r\n                advpng: true,\r\n                zopflipng: true,\r\n                pngcrush: true,\r\n                pngout: true,\r\n                mozjpeg: true,\r\n                jpegRecompress: true,\r\n                jpegoptim: true,\r\n                gifsicle: true,\r\n                svgo: true\r\n            },\r\n\r\n            all: {                \r\n                files: [{\r\n                    expand: true,\r\n                    cwd: 'web/img/',\r\n                    src: ['**/*.{png,jpg,gif,svg}'],\r\n                    dest: 'web/img/'\r\n                }]\r\n            }\r\n        }\r\n"},"comment":{"url":"https://api.github.com/repos/1000ch/grunt-image/issues/comments/129741380","html_url":"https://github.com/1000ch/grunt-image/issues/18#issuecomment-129741380","issue_url":"https://api.github.com/repos/1000ch/grunt-image/issues/18","id":129741380,"user":{"login":"webberig","id":3446164,"avatar_url":"https://avatars.githubusercontent.com/u/3446164?v=3","gravatar_id":"","url":"https://api.github.com/users/webberig","html_url":"https://github.com/webberig","followers_url":"https://api.github.com/users/webberig/followers","following_url":"https://api.github.com/users/webberig/following{/other_user}","gists_url":"https://api.github.com/users/webberig/gists{/gist_id}","starred_url":"https://api.github.com/users/webberig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webberig/subscriptions","organizations_url":"https://api.github.com/users/webberig/orgs","repos_url":"https://api.github.com/users/webberig/repos","events_url":"https://api.github.com/users/webberig/events{/privacy}","received_events_url":"https://api.github.com/users/webberig/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T07:37:52Z","updated_at":"2015-08-11T07:37:52Z","body":"Sorry, same result... I am now trying this on a Macbook..\r\nI still get the error in mozjpeg:\r\n\r\n```\r\nError: Command failed: /Users/mathieu/Projects/cupsandplates/node_modules/grunt-image/node_modules/mozjpeg/vendor/cjpeg -optimize -progressive -outfile /var/folders/tl/cncg336511b24qz74qhdpkqh0000gn/T/13329e07-62df-4e50-a56d-c6bd62d72a7c.jpg /var/folders/tl/cncg336511b24qz74qhdpkqh0000gn/T/13329e07-62df-4e50-a56d-c6bd62d72a7c.jpg\r\n   /Users/mathieu/Projects/cupsandplates/node_modules/grunt-image/node_modules/mozjpeg/vendor/cjpeg: unknown option 'outfile /var/folders/tl/cncg336511b24qz74qhdpkqh0000gn/T/13329e07-62df-4e50-a56d-c6bd62d72a7c.jpg'\r\n   usage: /Users/mathieu/Projects/cupsandplates/node_modules/grunt-image/node_modules/mozjpeg/vendor/cjpeg [switches] [inputfile]\r\n   Switches (names may be abbreviated):\r\n     -quality N[,...]   Compression quality (0..100; 5-95 is useful range)\r\n     -grayscale     Create monochrome JPEG file\r\n     -rgb           Create RGB JPEG file\r\n     -optimize      Optimize Huffman table (smaller file, but slow compression, enabled by default)\r\n     -progressive   Create progressive JPEG file (enabled by default)\r\n     -baseline      Create baseline JPEG file (disable progressive coding)\r\n     -targa         Input file is Targa format (usually not needed)\r\n     -revert        Revert to standard defaults (instead of mozjpeg defaults)\r\n     -fastcrush     Disable progressive scan optimization\r\n     -dc-scan-opt   DC scan optimization mode\r\n                    - 0 One scan for all components\r\n                    - 1 One scan per component (default)\r\n                    - 2 Optimize between one scan for all components and one scan for 1st component\r\n                        plus one scan for remaining components\r\n     -notrellis     Disable trellis optimization\r\n     -trellis-dc    Enable trellis optimization of DC coefficients (default)\r\n     -notrellis-dc  Disable trellis optimization of DC coefficients\r\n     -tune-psnr     Tune trellis optimization for PSNR\r\n     -tune-hvs-psnr Tune trellis optimization for PSNR-HVS (default)\r\n     -tune-ssim     Tune trellis optimization for SSIM\r\n     -tune-ms-ssim  Tune trellis optimization for MS-SSIM\r\n   Switches for advanced users:\r\n     -noovershoot   Disable black-on-white deringing via overshoot\r\n     -arithmetic    Use arithmetic coding\r\n     -dct int       Use integer DCT method (default)\r\n     -dct fast      Use fast integer DCT (less accurate)\r\n     -dct float     Use floating-point DCT method\r\n     -quant-table N Use predefined quantization table N:\r\n                    - 0 JPEG Annex K\r\n                    - 1 Flat\r\n                    - 2 Custom, tuned for MS-SSIM\r\n                    - 3 ImageMagick table by N. Robidoux\r\n                    - 4 Custom, tuned for PSNR-HVS\r\n                    - 5 Table from paper by Klein, Silverstein and Carney\r\n     -restart N     Set restart interval in rows, or in blocks with B\r\n     -smooth N      Smooth dithered input (N=1..100 is strength)\r\n     -maxmemory N   Maximum memory to use (in kbytes)\r\n     -outfile name  Specify name for output file\r\n     -memdst        Compress to memory instead of file (useful for benchmarking)\r\n     -verbose  or  -debug   Emit debug output\r\n     -version       Print version information and exit\r\n   Switches for wizards:\r\n     -qtables file  Use quantization tables given in file\r\n     -qslots N[,...]    Set component quantization tables\r\n     -sample HxV[,...]  Set component sampling factors\r\n     -scans file    Create multi-scan JPEG per script file\r\n```\r\nDid you compare the versions of the binaries ? Do they match yours ?"}}