Skip to content

Return success/failure from decode#6

Open
lpartington wants to merge 1 commit intochafey:masterfrom
lpartington:lpp_returnval
Open

Return success/failure from decode#6
lpartington wants to merge 1 commit intochafey:masterfrom
lpartington:lpp_returnval

Conversation

@lpartington
Copy link

The decoder will fail for large images if sufficient memory can't be allocated (particularly in WASM, where the heap seems to get badly fragmented quite easily). A boolean is returned to indicate success or failure.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant