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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login