Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModelFieldImage shows a black bg when PNG file is chosen #155

Open
leolynn opened this issue May 27, 2017 · 2 comments
Open

ModelFieldImage shows a black bg when PNG file is chosen #155

leolynn opened this issue May 27, 2017 · 2 comments

Comments

@leolynn
Copy link
Contributor

leolynn commented May 27, 2017

ModelFieldImage shows a black background when selecting a PNG file. In ImageService, the PNG file is passed as a jpeg type in data URL.

screen shot 2017-05-27 at 7 00 52 pm

@tma-isbx
Copy link
Contributor

Specifically, a PNG with transparency. I think the canvas need a background color filled in with a default color.

@leolynn
Copy link
Contributor Author

leolynn commented May 29, 2017

Yup, but in ImageService line 54, the data is always returned as a flat jpeg file so there's no way to fill the background color.

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

No branches or pull requests

2 participants