Comments (4)
@selaux can you please respond to this? Before I start work on this, I need to make sure you agree with the idea.
from node-sprite-generator.
Sorry for not commenting.
I don't completely get what the goal of this issue is. What I think you want: You want to specify a scaling factor with which all images are scaled down, so you can have one sprite for high-res devices (scaling factor 1) and one for low-res devices (e.g. scaling factor 0.5), but only need to provide a single set of images. Did I get it right? If yes, I think it would be a great thing to have.
You wouldn't need to adapt the compositors for that, only the layout modules. They would need to scale down the images in the process of generating the sprite layout.
from node-sprite-generator.
Yes, exactly it is, I will work on this soon.
from node-sprite-generator.
Hey. A bit late, but can you check wether the PR #33 accomplishes this?
from node-sprite-generator.
Related Issues (20)
- [Error: Could not execute GraphicsMagick/ImageMagick: gm "identify" "-ping" "-format" "%wx%h" "-" this most likely means the gm/convert binaries can't be found] HOT 3
- sprite image is not generating HOT 6
- Could not execute GraphicsMagick/ImageMagick HOT 1
- Getting the following error - Unrecognized option (-Infinity) HOT 3
- Bad compositor / incorrect dependencies even though GraphicsMagick is installed HOT 6
- Support `sharp` as compositor
- gm convert: Unrecognized option (-Infinity) HOT 5
- Pass input source and retrieve output source as buffers HOT 5
- 0.10.2 version is vulnerable, please publish the GitHub changes to npm ? HOT 2
- When can we get next major release? HOT 3
- CLI available? HOT 2
- Update Dependencies HOT 1
- Fails to render custom template... template file name is contents of output stylesheet HOT 4
- grunt command line options are not preserved
- Sprite image and style does not generated HOT 1
- Any way we can use .svg files as well? HOT 1
- JPG support with quality option
- Update canvas dependency version HOT 1
- Options.stylesheet does not accept `javascript` HOT 2
- Error installing node-sprite-generator HOT 1
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-sprite-generator.