zauni / pngmin

Grunt plugin to compress png images with pngquant.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Diff between Win & Mac OS?

hzlzh opened this issue · comments

When using grunt pngmin we get two different output png files under Win & Mac OS, why?

ps: graphicsmagick has been installed on both of those two system.
check out the diff screenshot below, thx.

diff

win

Hi hzlzh,
the difference between Mac and Windows is probably because of the implementation of pngquant. Maybe the original author can help you with this issue in his repository: https://github.com/pornel/pngquant

Sorry that I can't do anything about it.

Thx, I've just add new issue there.

Pngquant uses SSE and floating point math, which don't give exact guarantees - results can vary between machines and compilers.

@pornel Thx,Good to know. :)