PNG and JPG formats: unsupported image type
-
Hi All,
I am really struggling with using imaged. It feels like it is a hit and miss every time. The UI edit shows the image, and when I upload the flow, I get an unsupported image type error. For example I wanted a background image, I tried JPG, PNG and none is accepted. Also used some PNG weather icons, and some are accepted, some are not.
I feel like it is impossible to tell which one will work and which will not. Maybe a validator in the UIFlow app would be useful.
I am using Paint.Net to convert me images. JPG export only has a Quality and a Chrome Subsampling option which I leave in 4:2:2.
PNG export a bit depth and a few other parameters which are used for downsampling the image.
Any recommendations are welcome.
Regards,
Csongor -
I use GIMP to edit my images and a guide can be found in my WIP book found here : https://github.com/Ajb2k3/UIFlowHandbook/blob/master/quickblockref.pdf
-
@ajb2k3 Thanks, let me give it a try.
-
@ajb2k3 The reason I wanted to use PNG is to use the transparency information of PNG format. Is that possible at all?
I guess it is not possible with either BMP and JPG. -
@csongor-varga Unfortunately transparency doesn't look to be implemented in MicroPython yet.