oxund / node-pngcrush Goto Github PK
View Code? Open in Web Editor NEWnode-pngcrush 一个进行png图片压缩的node native插件
node-pngcrush 一个进行png图片压缩的node native插件
求支持
release 的时候先后出现以下问题,不知道要选择哪个版本的node才能兼容两者
[WARNI] node-pngcrush does not support your node v5.10.0
[WARNI] csssprites does not support your node v4.4.2
多release 一次就这样了
[ERROR] load plugin [fis3-parser-node-sass] config error : The
libsassbinding was not found in /usr/local/lib/node_modules/fis3-parser-node-sass/node_modules/node-sass/vendor/darwin-x64-46/binding.node This usually happens because your node version has changed. Run
npm rebuild node-sassto build the binding for your current node version..
试过4.0.0,3.x都有报错,不能发布成功,已经不知道要怎么弄了
I have found a improved and up to date version of this package here: https://www.npmjs.com/package/pngdefry
node-pngcrush 不支持 node v0.13.0
arther@company-caiweiguo:~/study/fis-quickstart-demo$ fis release --optimize
Ω ...
[WARNI] node-pngcrush does not support your node v0.13.0-pre, report it to https://github.com/xiangshouding/node-pngcrush/issues
..................... 4451ms
请问压缩质量怎么控制的,我阅读了你的代码,没找到控制压缩比例,分辨率的逻辑。求指导。谢谢
用 fis 时冒出的错误提示,是不是意味着我用 fis3 无法做 png 压缩了
node-gyp
npm install -g node-gyp
vsbuild (for windows)
gcc / make (for *nix)
python
clone source code
git clone https://github.com/xiangshouding/node-pngcrush.git
build
if node <= 0.12.7
cd node-pngcrush
node-gyp rebuild
if node >= 4.0.0
cd node-pngcrush
git checkout node-v4.0.0
node-gyp rebuild
not support node v4.0.0 ?
最近在学习使用fis3,可是总是警告好多包不支持fis3,官方能否告诉开发者fis3支持最新node版本是多少呢?回复也可以直接发我邮箱:[email protected]谢谢。
node-pngcrush does not support your node v7.5.0, report it to
https://github.com/xiangshouding/node-pngcrush/issues
我这里提示node-pngcrush does not support your node v5.7.1
,看到issue列表中好多用户都问类似的问题,不支持的版本有很多,但是支持的版本有哪些?没看到
今天在Ubuntu上尝试FIS的时候出现如下warning
[WARNI] node-pngcrush does not support your node v0.10.2, report it to https://github.com/xiangshouding/node-pngcrush/issues
node-pngcrush does not support your node v4.2.1
node-pngcrush does not support your node v5.6.0
老大,怎么查询是否支持node v6啊?
node-pngcrush does not support your node v7.8.0
npm 0.4.0 版本没有 win32/x64/8.0.0 这个文件夹。
直接拷 github 的项目才能用
node-pngcrush does not support your node v5.3.0
Error: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /root/.nvm/versions/node/v6.10.0/lib/node_modules/scrat/node_modules/node-pngcrush/bindings/linux/x64/6.0.0/addon.node)
如上,依赖库找不到
node-pngcrush does not support your node v7.5.0
node-pngcrush does not support your node v5.0.0,
Is there any update on this problem with Node 6.5.0 ?
Cannot find module './bindings/linux/x64/6.0.0/addon.jumbo.node
[WARNI] node-pngcrush does not support your node v4.0.0
RT
最新版不支持了
比如压缩率, 速度, 效率相对于其它 png 压缩库有什么优势,另外我发现它不支持自定义压缩比例。不好好介绍一下它的优势的话就作为 fis 的默认插件,会不会给人一种钦定的感觉啊
> [email protected] install /usr/local/lib/node_modules/pc-sub/node_modules/fis3/node_modules/fis-spriter-csssprites/node_modules/images
> echo "Hello, World."
Hello, World.
npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "[email protected]"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! shasum check failed for /tmp/npm-29024-b2ef44f4/registry.npmjs.org/node-pngquant-native/-/node-pngquant-native-0.2.2.tgz
npm ERR! Expected: 785d5a391a8f82d8a7ea59472345cbb6a11416fd
npm ERR! Actual: a6ca4543f1e65231c51c947730cf2d42e99f9c85
npm ERR! From: https://registry.npmjs.org/node-pngquant-native/-/node-pngquant-native-0.2.2.tgz
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /Users/cenjinchao/pc/works/2015-fequan/npm-debug.log
看了下 -native 和 closed,我再试试 设置option
x64的模块名为pngquant_native
导致无法加载
[WARNI] node-pngcrush does not support your node v0.11.13, report it to https://github.com/xiangshouding/node-pngcrush/issues
node-pngcrush does not support your node v4.3.1,为什么连LTS版的nodejs都不支持?
node-pngcrush does not support your node v4.1.0
csssprites does not support your node v4.1.0
csssprites does not support your node v7.5.0
rt
node-pngcrush does not support your node v0.10.29
node-pngcrush does not support your node v8.1.2
如题?
报错信息:
While measuring IDATs in /data/web_doc_root/itouzi.com/it0 pngcrush caught libpng error:
Not a PNG file..
网上查询说是因为.png 图片并不是标准的png图片,但是项目中的图片是在太多,请问 我怎样才能定位到是哪张 .png 图片有问题呢?
谢谢~
node-pngcrush does not support your node v4.1.1
期待早日升级
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.