nodeca / pica

Resize image in browser with high quality and high speed

Home Page:http://nodeca.github.io/pica/demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`cib` works even it's disabled by default

iharMikailau opened this issue · comments

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.

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

pica/dist/pica.js

Line 1905 in 9baefdf

if (_this.features.cib && features.indexOf('cib') < 0) {

This action isn't reachable.