Coder Social home page Coder Social logo

Comments (5)

blackiedm avatar blackiedm commented on April 28, 2024

you can see Modifying The Image

from fresco.

tyronen avatar tyronen commented on April 28, 2024

We don't currently support this. We are considering adding RGB_565 for images that don't use alpha.

from fresco.

nbarraille avatar nbarraille commented on April 28, 2024

@blackiedm Using a Postprocessor wouldn't provide much, because the version of the image stored in the memory cache is the one before post processing from what I understand, so you will end up having to transform it back every time, and keep both versions in memory.
Plus I don't even know if changing the config of a bitmap instance is possible at all, as it changes the size of the underlying byte array
@tyronen I really hope this gets in soon, this would be super helpful for apps using a lot of images. The library looks pretty good so far, keep up the good work!

from fresco.

nikslushkin avatar nikslushkin commented on April 28, 2024

We really need this feature for images without alpha. It will free 50% of its memory usage.

from fresco.

tyronen avatar tyronen commented on April 28, 2024

This was added in v0.8.0.

from fresco.

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.