Skip to content

Releases: brave-intl/wasm-thumbnail

Wasm memory leak fix

17 Aug 20:58
340b7a8
Compare
Choose a tag to compare
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

16 Aug 15:12
095efbf
Compare
Choose a tag to compare
0.0.4

Deallocate on panic in ruby (#5)

Added Quality Adjustment

04 Aug 22:18
73ae439
Compare
Choose a tag to compare

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

02 Aug 16:56
8b5e38e
Compare
Choose a tag to compare

Fixes an issue with the ruby gem where the panic handler wasn't registered properly.

With Rubygem

29 Jul 22:03
695f6ac
Compare
Choose a tag to compare

Wasm Thumbnail with Rubygem support.