M5Img documentation
-
Hi,
I am looking for M5Img Documentation.
I looked through http://community.m5stack.com/topic/877/closed-images-not-working/2 but it seems not available yet.More specifically I want to get the width() and height() of an M5Img object.
Could anyone please shed some light on this?
Regards,
Kenny -
First off, what version firmware are you running, second, that discission is closed due to firmware changes.
What I have collected so far is in the document found here - UIFlow Handbook
Currently I do not know of a way to get the image size data in uiflow or micropython. -
The new module for displaying images is M5UI you can find a little information about it here, It's pretty scarce for now but we are updating the new micropython API day by day
https://github.com/m5stack/UIFlow-Code/wiki/M5UI -
@lukasmaximus and @ajb2k3
Thank you guys. I will wait for the future firmware release then.Regards,
Kenny -
Hey Kenny, just wondering why you would want to get the image width and height if you already prepared an image that fits within the screens confines, I would have thought you'd already know the size of your image. If you can give me a valid reason I can see if we can include those functions in the M5IMG library