Giter VIP home page Giter VIP logo

Comments (4)

seanooi avatar seanooi commented on August 18, 2024

I might need to run more tests to make sure it works well with most images, but can you provide a screenshot? It seems to be working fine on my end. This is the screenshot I have.
http://i.imgur.com/1ItYyX3.png
Alpha is 1.0 for the top image, and 0.5 for the bottom image

from ios-webp.

gonghao avatar gonghao commented on August 18, 2024

@seanooi Hi, I make some tests, when I use iPhone Simulator 7.1 64-bit, it looks very nice. But when I switch to my iPhone 5s, the terrible thing comes.

https://www.dropbox.com/s/l1tmxkgensosq4f/IMG_2631.PNG
Here is my screenshot, the top image use Alpha 0.99999, the bottom use 1.f

from ios-webp.

seanooi avatar seanooi commented on August 18, 2024

I took a closer look at it and noticed the if (alpha <= 1) statement isn't really needed. I will run more tests but it'll most probably be taken out of future releases.

from ios-webp.

ThePragmaticArt avatar ThePragmaticArt commented on August 18, 2024

Yeah, same thing is happening to me. Removing the if alpha <= 1 clause corrects the issue when the alpha is one. Otherwise, I consistently get a blue hue on all converted images.

from ios-webp.

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.