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.


    LMZA should technically be possible.

    Pythonista
    3
    6
    3815
    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.
    • chibill
      chibill last edited by

      As of IOS 9 the Data Compression Framework has supported LMZA so it should technically be possible to write the python LMZA to use that framework instead of a self compiled or the builtin undocumented apple version.

      I realize you probably already looked at this. But just noticed this api just now.

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

        That’s interesting. I wasn’t aware that libcompression has basic lzma support built-in.

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

          Oh... so I guess my assumption that you probably already saw it was wrong.

          I think this is how people normally use LMZA and why even a self compiled one causes Apple to flag it.

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

            Yeah, I had assumed that libcompression was mostly about LZFSE, Apple‘s own new compression algorithm. I guess it might even be possible to use lzma via ctypes this way...

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

              Possibly. I am still poking around in the list of frameworks and stuff. Looking for stuff that is possibly new in iOS 11.

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

                https://gist.github.com/1b5066eebac9467accabaec88e993f46
                This implements the buffe encode/decode, though the streaming version is probably better.

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