PNG transparency lost when uploaded via app


#1

It may be a feature but just wanted to point this out.
I see the following behavior

  1. uploading a PNG image with transparency through the browser (Safari 9.1 on OS X), the file is uploaded as a PNG with transparency

  2. uploading the same file via the iOS app via the PHOTO icon at top results in the image being converted to JPG automatically, losing the transparency

  3. uploading the same file via the iOS app but using the general “upload files” file picker, the image is uploaded as a PNG file with the transparency intact.

Is this an intended spec?

here’s the file I used


#2

PNGs create transparency in one of two ways. One of these methods employs the same approach used by GIFs, with a single color defined as transparent, and the other is to set an alpha channel . One of the advantages of PNG single-color transparency is that it doesn’t remove a color from the available palette. However, the alpha channel is a much smoother method, as it is far better at blending colors, and allows you to select different levels of transparency in specific regions. The transparent areas of the PNG will blend and adjust naturally to whatever is behind the image when the background of the page isn’t a solid white or black color.