Comments (3)
Cross-platform image decoder(png/jpeg/gif) and encoder(png/jpeg) for Node.js
因为gif的格式比较复杂(支持多帧),所以 node-images 暂时还不支持保存成gif格式。
另外,什么需求必须要保存成gif格式呢?
from node-images.
主要是想弄css sprite(node-ab-ccss)的处理程序,由于要兼容IE6(不支持png,除非引入js),但不想引入额外的js(而且引入后也会有少量的bug),想在IE6下引用gif图片,其他平台用png。
多谢你的解答!
from node-images.
@abensu ^_^ 这个库也主要是为css sprite而做的。IE6也可以用PNG哦,不过需要处理一下。
可以看看 http://pngquant.org/
from node-images.
Related Issues (20)
- setLimit无效怎么办呢,10240的默认限制太小了,希望增大限制 HOT 1
- Process exited with code 3228369023 HOT 2
- images 没有适配ARM64? HOT 4
- How to crop image? HOT 1
- nodejs crashed on specific system
- 如何获取像素信息?好像没有接口嘛! HOT 1
- 在使用electron 桌面开发的时候,调用imagesAPI出现Buffer报错
- Draw image on negative coordinate
- dyld: lazy symbol binding failed: Symbol not found HOT 1
- dyld[25779]: missing symbol called HOT 5
- macos error HOT 1
- M1 MacBook / Apple Silicon support?
- 原图大小超过2m之后就无法压缩了 HOT 7
- node-gyp rebuild error
- 图片大小超过2M闪退 HOT 1
- 运行代码报错MODULE_NOT_FOUND' HOT 1
- 请问mac M1平台如何自己编译darwin-arm64-binding.node? HOT 3
- 怎么给图片设置透明度 HOT 1
- 有图片裁剪吗
- 怎么使用svg
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-images.