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.


    png too high protected?

    Pythonista
    2
    3
    2603
    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.
    • PKHG222
      PKHG222 last edited by

      Pythonista.app/Action.png
      Can not be shown by img =Image(...) ... = the correct path
      img.show()

      Png from the memory game are displayed nicely

      1 Reply Last reply Reply Quote 0
      • omz
        omz last edited by

        That probably has to do with the special, non-standard way Xcode compresses PNG files that are part of an app bundle. PIL doesn't seem to be able to handle those images (they aren't readable by most image viewers either).

        1 Reply Last reply Reply Quote 0
        • PKHG222
          PKHG222 last edited by

          ah...good to know, thanks!
          How to 'detect' this way of Xcode compression other then try except?
          And who is able to write for me (us) an 'decrompress png' script for Pythonista?

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