Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

wrong png format #2

Closed
SimoneCarnio opened this issue Nov 13, 2014 · 7 comments
Closed

wrong png format #2

SimoneCarnio opened this issue Nov 13, 2014 · 7 comments
Assignees

Comments

@SimoneCarnio
Copy link

When uploading files in iTunesConnect i receive this error:

Images can’t contain alpha channels or transparencies.

@SimoneCarnio
Copy link
Author

I've "resolved" the issue by introducing (imageAlpha) https://github.com/ramiroaraujo/alfred-image-optim-workflow in my script after calling "snapshot".

If you have a better solution to integrate please let me know

@KrauseFx
Copy link
Collaborator

Thanks for reporting.

Yes, it seems like there is a problem with manually uploading the screenshots.

Have you tried uploading your screenshots using Deliver?

It shouldn't be difficult to remove the transparency from a png using imagemagick. The problem is: Snapshot currently does not require imagemagick which makes the install process much simpler.

I'll take a look at it! In the meantime, just use Deliver to upload your screenshots.

@SimoneCarnio
Copy link
Author

I didn't try Deliver yet, it's in my roadmap for the weekend. I totally agree with your consideration, better to keep it simple. Eventually if the problem persist, write a note in the readme for future users ;)

@KrauseFx
Copy link
Collaborator

Using imagemagick, it would be really easy. I know, it's a pain to set up for some users. I'll try to find a good solution, which does not require this system dependency.

Another solution could be to just check if it's installed, if yes, it will remove the alpha channel, if not, a note is displayed, that this has to be done.

@KrauseFx KrauseFx self-assigned this Nov 13, 2014
@KrauseFx
Copy link
Collaborator

I just tried, it works perfectly uploading the generated screenshots using deliver. I'll take a look at removing the alpha channel now.

@KrauseFx
Copy link
Collaborator

It's fixed: 9cf5e4f

If imagemagick is installed, it will be used. If not, it will only show a warning, that the alpha channel couldn't be removed.

@fastlanebot
Copy link

This issue was migrated to fastlane/fastlane#2748. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo 🚀

@fastlane-old fastlane-old locked and limited conversation to collaborators Mar 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants