Releases: brave-intl/wasm-thumbnail
Releases · brave-intl/wasm-thumbnail
Wasm memory leak fix
Remove panic (#6) * remove panic and return image length 0 in header on error * Fix index error, add pry * Run resize in a thread so ruby will GC it Ruby does not GC the wasm instance in creators unless we run this in a thread and extract the value. Also added a test for resizing a photo multiple times in order to test crashing, memory use, etc. * Disable GC while calling WASM Puma crashes unless we disable GC while interacting with wasmer. * Update python lib to not use exceptions * Update thumbnail.py Co-authored-by: eV <[email protected]> Co-authored-by: eV <[email protected]>
Memory bugfix
0.0.4 Deallocate on panic in ruby (#5)
Added Quality Adjustment
Before, we were defaulting all JPEG output images to 80 quality. Now you can adjust that with an integer from 1 to 100.
Rubygem panic bug fix
Fixes an issue with the ruby gem where the panic handler wasn't registered properly.
With Rubygem
Wasm Thumbnail with Rubygem support.