Giter Club home page Giter Club logo

Comments (7)

sma avatar sma commented on July 18, 2024 8

I'd like to see not only a warning but also the tool to automatically remove the alpha channel because Apple will reject any app submission with "invalid" icons.

Actually, it should be an easy fix. Instead of using encodePng it seems to be possible to use a PngEncoder() instance and set the channels property to rgb instead of rgba.

from flutter_launcher_icons.

lifetin avatar lifetin commented on July 18, 2024 2

最好能自动去掉alpha通道

from flutter_launcher_icons.

mockturtl avatar mockturtl commented on July 18, 2024 2

Quick workaround: https://stackoverflow.com/a/26177376

from flutter_launcher_icons.

zmeggyesi avatar zmeggyesi commented on July 18, 2024 1

@douglasrosa0110 Yes, but that's beside the point. I don't want to have to deal with this at all if a simple way exists for the program to handle it - that's what it was made to do, to handle things for me, so I don't have to.

from flutter_launcher_icons.

zmeggyesi avatar zmeggyesi commented on July 18, 2024

A +1 on @sma 's suggestion. Google Play requires a 32-bit PNG (with transparency), while the App Store specifically disallows an alpha channel.

I would be great if the tool could account for this and strip the alpha from the iOS icons.

from flutter_launcher_icons.

douglasrosa0110 avatar douglasrosa0110 commented on July 18, 2024

@zmeggyesi you can use the params to resolve the alpha problem:

pubspec.yaml

flutter_icons:
  # image_path: "assets/images/favicon.png"
  image_path_android: "assets/images/favicon.png"
  image_path_ios: "assets/images/favicon_ios.png"

from flutter_launcher_icons.

OutdatedGuy avatar OutdatedGuy commented on July 18, 2024

@MarkOSullivan94, this issue has been resolved. Can you close it?

from flutter_launcher_icons.

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.