add snap to worker and worker image processing
This commit is contained in:
parent
c26c0e398e
commit
2210b16530
6 changed files with 16457 additions and 3 deletions
|
|
@ -51,6 +51,11 @@ let gs_kiri_sla = exports;
|
|||
});
|
||||
}
|
||||
|
||||
let b64 = atob(currentSnap);
|
||||
let bin = Uint8Array.from(b64, c => c.charCodeAt(0));
|
||||
let img = new png.PNG().parse(bin);
|
||||
console.log({img})
|
||||
|
||||
SLICER.sliceWidget(widget, {
|
||||
height: process.slaSlice || 0.05
|
||||
}, function(slices) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue