Concretely, ピクセルはランツォスフィルタでリサンプリングされ 損失なしに書き戻されます 失われるのは 少ないピクセルに収まらない 詳細だけです エンコーダによって 追加されることはありません. You give it a target width, a target height or a percentage, and it works from the original rather than from a previously resized copy.
It does. PNGは8ビットアルファチャネルと16ビットのオプション深さを持つ無損失DEFLATEで、再保存時に劣化しないが、写真コンテンツでは大きくなります。. That is what decides whether shrinking the file is purely a question of pixels or also a question of re-encoding.