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

Transparent image renders as black image in IOS so getting black box while clearing #63

Open
Kawinesh opened this issue Jul 21, 2017 · 0 comments

Comments

@Kawinesh
Copy link

As you can see in the below image the screen is rendered in the way.

You cant test the below code in base64 to image converted websites

EMPTY_IMAGE = 'data:image/gif;base64,R0lGODlhAQABAAAAACwAAAAAAQABAAA='

IN Windows chrome its proper transparent image but in MAC safari its a black image.

A simple solution would be to use the below base64 data

EMPTY_IMAGE = 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=='

Verified in IOS and the above data shows proper transparent image in both the browsers.

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant