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
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