[UploadImage] Transparency is lost if PNG is copied directly from webpage
|Reported by:||Wizard||Owned by:|
Steps to reproduce
- Use Firefox and go to https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png
- Right-click the image and select Copy Image.
- Paste it in CKEditor with Upload Image plugin enabled and configured.
PNG image should be displayed with transparent background.
PNG image is displayed with black background. If however I save the image from webpage and copy it within Windows Explorer, it is pasted correctly in CKEditor.
Other details (browser, OS, CKEditor version, installed plugins)
Firefox 32bit v52.0.2, Windows 7 SP1 64bit, CKEditor 4.6.2 Full Package with Iframe Dialog Field and Upload Image plugins
I have attached 2 files. Alpha_yes.png is the image saved from Firefox (it has an alpha value) and alpha_no.png is the image that is copied directly from webpage (no alpha value).