ccv-purejs icon indicating copy to clipboard operation
ccv-purejs copied to clipboard

Crashes for 1x1 transparent GIF

Open automata opened this issue 9 years ago • 0 comments

With 1x1 transparent GIFs like this one it breaks:

1) FindFaces component when 1x1 GIF loaded when canvas sent "before all" hook:
     RangeError: Invalid array length
    at pre (/Users/vilson/src/noflo/noflo-ccv/node_modules/face-detect/lib/ccv.js:127:17)
    at Object.module.exports.exports.detect_objects (/Users/vilson/src/noflo/noflo-ccv/node_modules/face-detect/lib/ccv.js:394:9)

automata avatar Apr 13 '15 13:04 automata