Giter Club home page Giter Club logo

Comments (2)

Gasparoken avatar Gasparoken commented on June 11, 2024

Thanks for this report. Some comments:
Some PNG images were loaded with a Background layer (instead a regular transparent layer) according how the images were encoded.

When you have a Backgroud layer, all pixels on your canvas will be non transparent and the eraser tool will 'paint':

  • left click: the secondary color (bg color)
  • right click: only the primary color will be replaced with secondary color within applied eraser area.

To work with pixels with alpha values, convert the 'Background Layer' to 'Layer': right click on Layer name, Convert to... > Layer
Screenshot 2024-03-19 at 08 05 57

Just in case: to select all the color you need to remove, the best tool is 'Magic Wand' with 0 Tolerance and Continuos unchecked on the context bar ('continuos unchecked' will remove isolated areas of color too).

More info about Background Layer: https://aseprite.org/docs/layers#background-layer

from aseprite.

Gasparoken avatar Gasparoken commented on June 11, 2024

Based on your Repro steps, I see the inconsistency: there may be transparent pixels on a Background Layer, which should be prohibited. Then, in the export process, the alpha content of the pixels is discarded since the layer is a background layer. That's why it turns out 6. Export PNG => background is now black

from aseprite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.