Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Cannot export transparent images #17

Closed
timonus opened this issue Jan 4, 2019 · 1 comment
Closed

Cannot export transparent images #17

timonus opened this issue Jan 4, 2019 · 1 comment

Comments

@timonus
Copy link

timonus commented Jan 4, 2019

I’m working on an app using Uber Signature that has a white stroke color against a black background. While editing everything works fine, but when I export the image the white stroke is composited onto an opaque white background. Would be nice to support exporting images with transparent background images.

I’m working on trying to add this, will contribute it back if I can get it working.

Sent with GitHawk

@timonus
Copy link
Author

timonus commented Jan 5, 2019

Oops, just kidding! I was flattening these using UIImageJPEGRepresentation, which implicitly draws transparency on a white background.

@timonus timonus closed this as completed Jan 5, 2019
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