Useful documentation update for WebP writer ? - PHP 8.1 GD supports lossless WebP with IMG_WEBP_LOSSLESS as quality option
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 45/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- php
调研方向
Start by locating the WebP writer documentation and its quality option examples. Check how the writer accepts quality values, then document the PHP 8.1 GD IMG_WEBP_LOSSLESS option with a runnable example; done means users can find and follow the example. The issue names no documentation file or test, so first identify where writer options are documented.
由索引模型根据 Issue 内容生成。
描述
Some space efficiency to be gained by using IMG_WEBP_LOSSLESS (101) instead of [-1,100]
https://php.watch/versions/8.1/gd-webp-lossless
e.g.
$writer = new WebPWriter();
[]
$webp_quality = [ "quality" => IMG_WEBP_LOSSLESS] ;
$result = $writer->write($qrCode, $logo, $label, $webp_quality);
Still nowhere near as good as some WebP lossless compressors can go; I managed to compress the GD-produced .webp from 2.48KB to 1.63KB with IrfanView 4.72 on default lossless settings.
- 主要语言
- PHP
- 星标
- 4.8k
- 派生
- 766
- 平均合并
- 10 小时 51 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
endroid/qr-code 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
-
难度 2/5 1-3 小时 新手友好度 38/100
-
[Feature Request] Implement logoPunchoutBackground in SVG writer可能重新可做 @endroid 于 735 天前认领,目前没有进行中的 PR。 未关闭enhancement
-
[Feature Request] Arabic RTL Labels可能重新可做 @endroid 于 1000 天前认领,目前没有进行中的 PR。 未关闭enhancement
-
难度 4/5 3-5 天 新手友好度 38/100
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
mailcow/mailcow-dockerized#7677 · 1 条评论 ·
维护者通常 1 天内回复
-
a11y
难度 2/5 1-3 小时 新手友好度 67/100
-
wpvc
难度 2/5 1-3 小时 新手友好度 75/100
10up/ElasticPressLabs#254 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
🧑💻 tech-debt
难度 2/5 1-3 小时 新手友好度 70/100
guibranco/gstraccini-bot-service#1206 ·
维护者通常 1 天内回复