'C:\absolute\path\to\image.jpg' is binary
Closed this issue · 0 comments
59naga commented
λ npm start
Failures:
1) createBuffer path
1.1) Expected 77 to be 14673.
2) PATH animeted gif
2.1) Expected undefined to be 'gif'.
2.2) Expected undefined to be 'image/gif'.
2.3) Expected 'binary' to be 'path'.
3) PATH animeted png
3.1) Expected undefined to be 'png'.
3.2) Expected undefined to be 'image/png'.
3.3) Expected 'binary' to be 'path'.
4) PATH animeted webp
4.1) Expected undefined to be 'webp'.
4.2) Expected undefined to be 'image/webp'.
4.3) Expected 'binary' to be 'path'.
5) PATH static gif
5.1) Expected undefined to be 'gif'.
5.2) Expected undefined to be 'image/gif'.
5.3) Expected 'binary' to be 'path'.
6) PATH static png
6.1) Expected undefined to be 'png'.
6.2) Expected undefined to be 'image/png'.
6.3) Expected 'binary' to be 'path'.
7) PATH static webp
7.1) Expected undefined to be 'webp'.
7.2) Expected undefined to be 'image/webp'.
7.3) Expected 'binary' to be 'path'.
8) PATH static jpg
8.1) Expected undefined to be 'jpg'.
8.2) Expected undefined to be 'image/jpeg'.
8.3) Expected 'binary' to be 'path'.
9) PATH static tif
9.1) Expected undefined to be 'tif'.
9.2) Expected undefined to be 'image/tiff'.
9.3) Expected 'binary' to be 'path'.
10) PATH static bmp
10.1) Expected undefined to be 'bmp'.
10.2) Expected undefined to be 'image/bmp'.
10.3) Expected 'binary' to be 'path'.
11) PATH static jxr
11.1) Expected undefined to be 'jxr'.
11.2) Expected undefined to be 'image/vnd.ms-photo'.
11.3) Expected 'binary' to be 'path'.
12) PATH static psd
12.1) Expected undefined to be 'psd'.
12.2) Expected undefined to be 'image/vnd.adobe.photoshop'.
12.3) Expected 'binary' to be 'path'.
13) PATH animeted gif
13.1) Expected undefined to be 'gif'.
13.2) Expected undefined to be 'image/gif'.
13.3) Expected 'binary' to be 'path'.
14) PATH animeted png
14.1) Expected undefined to be 'png'.
14.2) Expected undefined to be 'image/png'.
14.3) Expected 'binary' to be 'path'.
15) PATH animeted webp
15.1) Expected undefined to be 'webp'.
15.2) Expected undefined to be 'image/webp'.
15.3) Expected 'binary' to be 'path'.
16) PATH static gif
16.1) Expected undefined to be 'gif'.
16.2) Expected undefined to be 'image/gif'.
16.3) Expected 'binary' to be 'path'.
17) PATH static png
17.1) Expected undefined to be 'png'.
17.2) Expected undefined to be 'image/png'.
17.3) Expected 'binary' to be 'path'.
18) PATH static webp
18.1) Expected undefined to be 'webp'.
18.2) Expected undefined to be 'image/webp'.
18.3) Expected 'binary' to be 'path'.
19) PATH static jpg
19.1) Expected undefined to be 'jpg'.
19.2) Expected undefined to be 'image/jpeg'.
19.3) Expected 'binary' to be 'path'.
20) PATH static tif
20.1) Expected undefined to be 'tif'.
20.2) Expected undefined to be 'image/tiff'.
20.3) Expected 'binary' to be 'path'.
21) PATH static bmp
21.1) Expected undefined to be 'bmp'.
21.2) Expected undefined to be 'image/bmp'.
21.3) Expected 'binary' to be 'path'.
22) PATH static jxr
22.1) Expected undefined to be 'jxr'.
22.2) Expected undefined to be 'image/vnd.ms-photo'.
22.3) Expected 'binary' to be 'path'.
23) PATH static psd
23.1) Expected undefined to be 'psd'.
23.2) Expected undefined to be 'image/vnd.adobe.photoshop'.
23.3) Expected 'binary' to be 'path'.
24) .getTypeof path
24.1) Expected 'binary' to be 'path'.
276 specs, 24 failures, 50 pending specs
See: 59naga/pixel-jpg#1