🔍

首页Home › 图片工具Image Tools

🎞️ GIF 转 APNGGIF to APNG

把 GIF 动图转换为 APNG(动态 PNG):逐帧无损,保留帧延迟、循环次数和透明;颜色不超过 256 种时用索引色,否则自动用真彩色;只保存每帧变化的区域并合并重复帧。可以改循环方式和播放速度,文件不上传。Convert animated GIFs to APNG (animated PNG) in your browser. Every frame is lossless, and delays, loop count and transparency are kept. Up to 256 colours are stored as indexed colour, otherwise truecolour is chosen automatically. Only the changed area of each frame is stored and duplicate frames are merged. You can change the loop mode and playback speed, and nothing is uploaded.

点击选择或拖放一个 GIF 动图Click or drop a GIF here

使用说明与常见问题How-to & FAQ

「GIF 转 APNG」是什么?What is the GIF to APNG tool?

把 GIF 动图转换为 APNG(动态 PNG):逐帧无损,保留帧延迟、循环次数和透明;颜色不超过 256 种时用索引色,否则自动用真彩色;只保存每帧变化的区域并合并重复帧。可以改循环方式和播放速度,文件不上传。Convert animated GIFs to APNG (animated PNG) in your browser. Every frame is lossless, and delays, loop count and transparency are kept. Up to 256 colours are stored as indexed colour, otherwise truecolour is chosen automatically. Only the changed area of each frame is stored and duplicate frames are merged. You can change the loop mode and playback speed, and nothing is uploaded.

如何使用「GIF 转 APNG」?How do I use the GIF to APNG tool?

在「GIF 转 APNG」中,在上方填写或选择所需内容,结果会实时显示在下方;所有处理都在浏览器本地完成。In the GIF to APNG: Fill in or choose the options above and the result appears below instantly; everything runs locally in your browser.

APNG 和 GIF 有什么区别?How is APNG different from GIF?

APNG 是带动画的 PNG:不支持动画的看图软件会显示第一帧,现代浏览器(Chrome、Edge、Firefox、Safari)都能直接播放。和 GIF 相比,APNG 支持超过 256 种颜色和 8 位半透明,压缩通常也更好。由于 GIF 本身最多 256 色、只有 1 位透明,从 GIF 转换时画面保持完全一致(逐帧无损),不会变得更清晰。APNG is animated PNG. Viewers without animation support show the first frame, and modern browsers (Chrome, Edge, Firefox, Safari) play it directly. Compared with GIF it supports more than 256 colours and 8-bit partial transparency, and it usually compresses better. Since a GIF is limited to 256 colours and 1-bit transparency, converting from GIF keeps the picture exactly the same (lossless frame by frame) — it won't look sharper.

转换后的文件一定比 GIF 小吗?Will the APNG always be smaller than the GIF?

不一定。颜色不超过 256 种时工具用索引色 PNG,通常和 GIF 差不多或更小;各帧颜色加起来超过 256 种时(每帧各自带调色板的 GIF 常见),PNG 只能用真彩色,文件可能比 GIF 大。工具会只保存每帧变化的区域、合并完全相同的帧,并为每一行选择最合适的 PNG 过滤方式,尽量减小体积。Not always. With 256 colours or fewer the tool writes indexed-colour PNG, which is usually about the same size as the GIF or smaller. If all frames together use more than 256 colours (common for GIFs with a palette per frame), PNG has to use truecolour and the file can be bigger than the GIF. To keep it small, the tool stores only the changed area of each frame, merges identical frames and picks the best PNG filter for each row.

为什么有“极短延迟改为 100 毫秒”的选项?What is the 'treat very short delays as 100 ms' option?

很多 GIF 把帧延迟写成 0 或 10 毫秒,浏览器显示 GIF 时会把这类延迟当作 100 毫秒,否则动画会快得看不清。APNG 没有这个惯例,0 毫秒会被尽快播放。勾选(默认)后转换结果的播放速度和你在浏览器里看到的 GIF 一致;取消勾选则按文件里写的数值原样保留。Many GIFs store frame delays of 0 or 10 ms. When showing a GIF, browsers treat such delays as 100 ms, otherwise the animation would be too fast to see. APNG has no such convention, so a 0 ms frame plays as fast as possible. With the option ticked (default) the APNG plays at the same speed as the GIF you see in your browser; untick it to keep the exact values from the file.

循环次数和透明会保留吗?Are the loop count and transparency kept?

会。GIF 里的循环设置会换算到 APNG:无限循环仍是无限循环;GIF 写的“重复 N 次”在 APNG 里是总共播放 N+1 次;没有循环设置的 GIF 只播放一次。也可以改成无限循环或只播放一次。GIF 的透明像素在 APNG 里仍然完全透明。Yes. The GIF's loop setting is carried over: loop-forever stays loop-forever, a GIF that says 'repeat N times' plays N+1 times in total in the APNG, and a GIF without a loop setting plays once. You can also switch to loop forever or play once. Transparent GIF pixels stay fully transparent in the APNG.

文件会上传吗?有大小限制吗?Is the file uploaded? Is there a size limit?

不会上传,解码和编码都在你的浏览器里完成。单个文件最大 100 MB、最多 2,000 帧;尺寸很大的 GIF 会按内存限制减少可处理的帧数并提示。文件不完整时会转换能读取的帧并给出提示。No. Decoding and encoding happen in your browser. Files up to 100 MB and 2,000 frames are supported; for very large dimensions fewer frames fit in memory and you'll be told. If the file is incomplete, the readable frames are converted and you'll see a warning.

有哪些选项可以调整?What options can I adjust?

「GIF 转 APNG」的设置:「循环」可选 保持 GIF 的设置、无限循环、只播放一次(默认 保持 GIF 的设置);「播放速度」可选 原速、0.5 倍(更慢)、1.5 倍、2 倍(更快)(默认 原速);「扩展名」可选 .png、.apng(默认 .png);可勾选:「极短延迟(0–10 毫秒)按浏览器显示 GIF 的方式改为 100 毫秒」(默认勾选);可选文件:GIF。改动任一选项后结果会按新设置重新生成。Settings in the GIF to APNG — "Loop": Same as the GIF, Loop forever, Play once (default Same as the GIF); "Speed": Normal, 0.5× (slower), 1.5×, 2× (faster) (default Normal); "Extension": .png, .apng (default .png); tick boxes: "Treat very short delays (0–10 ms) as 100 ms, like browsers do for GIF" (on by default); files: GIF. Changing any option regenerates the result with the new setting.

「GIF 转 APNG」免费吗?需要注册吗?Is the GIF to APNG free? Do I need an account?

「GIF 转 APNG」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The GIF to APNG is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.

相关工具Related tools

🔍 图片对比(找不同)Image Compare (Find Differences)🎨 图片上色(单色着色 / 双色调)Colorize Image (Tint & Duotone)🧩 图片复制拼接(重复平铺)Duplicate Image (Repeat in a Grid)🖍️ 图片颜色简化(减少颜色数)Simplify Image Colors (Reduce Colors)🌈 图片色相调整(HSL / OKLCH)Adjust Image Hue (HSL / OKLCH)🌈 图片彩虹滤镜Add Rainbow Filter to Image📺 图片加噪点(颗粒感)Add Noise to Image👻 图片半透明(调整不透明度)Make Image Semitransparent🖼️ 图片添加背景(透明 PNG 加底色)Add Image Background🪣 图片颜色替换(换色 / 去底色)Replace a Color in an Image🥔 低画质图片生成器(电子包浆 / 渣画质)Low Quality Image Maker👾 故障风图片生成器(Glitch 效果)Glitch Image Maker

← 全部工具All tools