cwebp error
zhump opened this issue · comments
zhump commented
[admin@192-168-6-205 app]$ /home/admin/zhump/app/node_modules/cwebp-bin/vendor/cwebp -q 75 ./__webp/temp.png -o ./__webp/temp.png.webp
/home/admin/zhump/app/node_modules/cwebp-bin/vendor/cwebp: error while loading shared libraries: libjpeg.so.9: cannot open shared object file: No such file or directory
that is error !
but
[admin@192-168-6-205 app]$ cwebp -q 75 ./__webp/temp.png -o ./__webp/temp.png.webp
Saving file './__webp/temp.png.webp'
File: ./__webp/temp.png
Dimension: 459 x 307 (with alpha)
Output: 7368 bytes Y-U-V-All-PSNR 43.98 99.00 99.00 45.74 dB
block count: intra4: 211
intra16: 369 (-> 63.62%)
skipped block: 321 (55.34%)
bytes used: header: 60 (0.8%)
mode-partition: 952 (12.9%)
transparency: 3974 (99.0 dB)
Residuals bytes |segment 1|segment 2|segment 3|segment 4| total
macroblocks: | 4%| 16%| 22%| 57%| 580
quantizer: | 36 | 34 | 30 | 20 |
filter level: | 11 | 8 | 6 | 3 |
Lossless-alpha compressed size: 3973 bytes
* Header size: 85 bytes, image data size: 3888
* Lossless features used: PALETTE
* Precision Bits: histogram=5 transform=5 cache=0
* Palette size: 254
that is right !
shinnn commented
Read "Note (for Linux and Mac OS X)" section in https://developers.google.com/speed/webp/docs/precompiled#getting_cwebp_dwebp_and_the_webp_libraries.
zhump commented
My webp command can be used normally .
/home/admin/zhump/app/node_modules/cwebp-bin/vendor/cwebp can not be used normally .
shinnn commented
Probably they're different versions.