8000 Render power of 2 width/heigh texture atlas · Issue #78 · sprity/sprity · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Render power of 2 width/heigh texture atlas #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dagatsoin opened this issue Dec 26, 2016 · 0 comments
Open

Render power of 2 width/heigh texture atlas #78

dagatsoin opened this issue Dec 26, 2016 · 0 comments

Comments

@dagatsoin
Copy link

What is the configuration to output a power of 2 width/height texture atlas? Here is my config:

{
    src: './src/images/**/*.{png,jpg}',
    style: './sprite.scss',
    dimension: [{
      ratio: 2, dpi: 72
    }],
    orientation: "binary-tree",
    split: true,
    // ... other optional options
    // for example if you want to generate scss instead of css
    processor: 'sass', // make sure you have installed sprity-sass
  }

But, for instance, one the image output is 600*454.

Does Sprity could handle square atlas or power of 2 dimension ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0