8000
Skip to content

zigimg.io.DEFAULT_BUFFER_SIZE might be to small #292

Description

@j-c-m

Using the default buffer size I was getting error: InvalidData and error: Unseekable on some image files, using a a larger buffer (65536), resolved the errors (this could be too large of buffer, but I was already allocating a buffer of that size I could re-use).

https://github.com/j-c-m/blackcat/blob/master/src/main.zig#L686

I will follow up with some test image files if I can find them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0