Skip to content

README - consider adding supported page compression overview #63

Open

Description

@joachimmetz

Given that the aff format supports different compression methods:

  • zlib/deflate (AF_PAGE_COMP_ALG_ZLIB)
  • bzip or bzip2 (AF_PAGE_COMP_ALG_BZIP), which does not appear to be implemented?
  • lzma (AF_PAGE_COMP_ALG_LZMA)

Please add a small section to README which of these are/are not supported by the library.

Activity

  1. joachimmetz commented on Oct 24, 2026

    @joachimmetz
    Author

    Maybe change the comment in

    #define AF_PAGE_COMP_ALG_BZIP 0x0010 // not implemented; why bother?

    #define AF_PAGE_COMP_ALG_BZIP   0x0010	// not implemented; why bother?
    

    To something in line of: originally reserved for bzip2 compression but never implemented.

  2. changed the title [-]README - consider adding supported page compression[/-] [+]README - consider adding supported page compression overview[/+] on Oct 24, 2026
  3. sshock commented on Oct 25, 2026

    @sshock
    Owner

    Sounds good. Feel free to provide a PR if you can.

  4. joachimmetz commented on Oct 26, 2026

    @joachimmetz
    Author

    Works for me I'll combine the other issues into 1 PR.

  5. joachimmetz commented on Oct 26, 2026

    @joachimmetz
    Author

    @sshock also do you know if lzma is LZMA1, LZMA2 or both?

  6. joachimmetz commented on Oct 26, 2026

    @joachimmetz
    Author

    Changes in #65 PTAL

  7. sshock commented on Oct 27, 2026

    @sshock
    Owner

    @sshock also do you know if lzma is LZMA1, LZMA2 or both?

    Pretty sure it's just LZMA1.

  8. joachimmetz commented on Oct 28, 2026

    @joachimmetz
    Author

    Pretty sure it's just LZMA1.

    Great, that matches my observations from AFF test files (in the sense that I've only seen LZMA1). I've updated that in the README as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions