omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    various Image objects

    Pythonista
    1
    1
    1091
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jmv38
      jmv38 last edited by

      Hello all!

      When i look into the doc about ui.ImageView it says:

      ImageView.image
      The view’s image (a Image object), or None.
      

      when i tap the 'Image' link, it leads me to pil Image object.
      But it seems that this is wrong: Image here is not a pil Image, but ui.Image. This would be ok if ui.Image was derived from the pil Image, but it doesnt have the methods of a pil Image, so this is really a wrong link. It is very misleading when trying to work with images and starting with python....

      Concerning ImageContext(): it doesnt seem possible to use an image as a context to draw into. A new blank image has to be created from scratch all the time. This is very slow. Is this true? Why is it so?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB Forums | Contributors