Skip to content

Pick a better memory size for uncompress #12

@fnands

Description

@fnands

When uncompressing, we need to allocate some memory for the uncompressed data.
Currently this is done as:

var data_memory_amount: Int = len(data) * 100

This is dumb. It should be possible to calculate the size needed from the image metadata.

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