WebPShop
WebPShop 是一款用于直接从 Adobe Photoshop 打开和保存 WebP 图片的插件,现在已根据 Apache 2.0 许可在 GitHub 上获取。
安装
请按照这些说明操作。
编码选项

您可通过“保存”命令调整压缩设置。
质量从有损 0(图片会降级以适合更少的字节)变为无损 100(像素保持不变)。压缩后的大小通常会随画质的增加而增加,但对于某些图片(例如,屏幕截图、纯色...),无损算法会生成更小的文件。
压缩工作量用于控制编码速度。较慢可提高视觉质量和/或减小文件大小。
预览功能将显示压缩后的图片及其最终大小。如果图片太高或太宽,将显示一个可移动的放大区域。警告:对于大图片和/或繁重的压缩工作,
启用此 API 后,图形界面可能会运行缓慢/无响应。
对于动画(多个层的名称中包含时长,例如“Frame1 (123 ms)”),滑块将选择当前帧,以显示其预览和时长。
通用参数
对于摄影,先选择 70 左右的质量,然后再开始拍摄。如果图片大小更重要(例如图标、流量大的网页照片...),那么设置低至 30 也并不罕见。
对于人工图片(例如黑白文字、低效 3D 渲染...),画质不低于 98 可能会更美观且尺寸更小。
如果这些选项不足以获取令人满意的结果,命令行工具提供的设置会比此 Photoshop 插件多。
更进一步
如需了解详情,请参阅 README 文件。
该页面介绍了目前已实现和缺少的功能。如需了解参与该项目,请参阅 CONTRIBUTING 文件。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-04。
[null,null,["最后更新时间 (UTC):2024-09-04。"],[[["WebPShop, a plugin enabling opening and saving of WebP images directly within Adobe Photoshop, is now open-source and available on GitHub under the Apache 2.0 license."],["Users can adjust compression settings, including quality, effort, and preview, when saving images in WebP format."],["The plugin supports animation by allowing frame selection and preview for layered images with duration specified in layer names."],["Recommended quality settings vary depending on image type: around 70 for photography and at least 98 for artificial images like text or renders."],["Advanced users seeking further customization can utilize the command-line tools, offering more options than the plugin's interface."]]],["WebPShop, a Photoshop plug-in for WebP image handling, is available on GitHub under an Apache 2.0 license. Installation instructions are provided. Users can adjust compression settings during the \"Save\" process, controlling quality (lossy 0 to lossless 100) and compression effort (encoding speed). A preview feature shows compressed images and their size. Animation support allows frame selection. Recommended quality settings range from 30-70 for photos and 98+ for artificial images. Further options are available in command-line tools.\n"]]