![]() This option allow reuse webworkers effectively. Note, cib is buggy in Chrome and not supports default ![]() log ( 'resized to canvas & created blob!' ) ) API new Pica(config)Ĭreate resizer instance with given config (optional): toBlob ( result, 'image/jpeg', 0.90 ) ). log ( 'resize done!' ) ) // Resize & convert to blob pica. But we don't recommend this libraryįor resizing professional quality images.Ĭonst pica = require ( 'pica' ) ( ) // Resize from Canvas/Image to another Canvas pica.
0 Comments
Leave a Reply. |