nodeca / pica

Resize image in browser with high quality and high speed
http://nodeca.github.io/pica/demo/
MIT License
3.76k stars 245 forks source link

`cib` works even it's disabled by default #214

Closed iharMikailau closed 3 years ago

iharMikailau commented 3 years ago

It looks like cib isn't really disabled by default. Resizing is faster if ImageBitmap = undefined and if rewrite createImageBitmap with simple console.log we can get canvas and image.

puzrin commented 3 years ago

You can attach logger to pica (as in demo), and see details how resize happens. If you declare problem - more trusted proofs required.

iharMikailau commented 3 years ago

https://github.com/nodeca/pica/blob/9baefdfce8481b66aa7a8d1473f31db9d538ac29/dist/pica.js#L1905 This action isn't reachable.