我使用的是Ubuntu,而type似乎不适用于webp映像:
bash: type: test.webp: not
如何从命令行中区分webp图像?
发布于 2016-06-08 16:26:38
命令file是您要寻找的内容。
我的产出:
image.webp: RIFF (little-endian) data, Web/P image, VP8 encoding, 320x241, Scaling: [none]x[none], YUV color, decoders should clamp这里的版本来自http://darwinsys.com/file/,在大多数发行版的默认软件库中,包括Ubuntu (请参阅http://packages.ubuntu.com/xenial/file),它在桌面风格(http://releases.ubuntu.com/16.04/ubuntu-16.04-desktop-amd64.manifest→file 1:5.25-2ubuntu1)上按默认方式安装。
https://unix.stackexchange.com/questions/288473
复制相似问题