ข้ามไปยังเนื้อหา
เครื่องมือ

JPEG Quality Filter

WordPress recompresses your images at 82% — change it

ทำงานในเบราว์เซอร์ของคุณ ไม่มีการอัพโหลดอะไร

Quality

What it does to a flat graphic

A hard edge on a flat colour is the worst case for JPEG. Drag the slider and watch the halo appear around the shapes. This is rendered live in your browser at the exact quality you picked.

Original
Compressed preview
At quality 82 ·
Scope
functions.php

Only affects images uploaded AFTER the filter is active. Existing images keep the quality they were encoded at until you regenerate them. And note the preview above is your browser's JPEG encoder, not your server's — the artefacts are representative, the byte counts are not.

เกี่ยวกับ JPEG Quality Filter

Every JPEG you upload is re-encoded at quality 82 by default. That is fine for photos and visibly bad for screenshots and flat graphics. This generates the filter to change it, with a live preview of what each quality level costs.

ที่เกี่ยวข้อง

เครื่องมืออื่นที่คุณอาจต้องใช้

FAQ

คำถาม

ค่าเริ่มต้นคุณภาพ JPEG ที่ WordPress ใช้คือเท่าไหร่?

82 ทุก JPEG ที่คุณอัพโหลดจะถูกเข้ารหัสใหม่ที่คุณภาพนั้น และทุกขนาดอนุพันธ์ที่ WordPress สร้างจากมันก็เช่นกัน มันเป็นค่าเริ่มต้นที่สมเหตุสมผลสำหรับภาพถ่าย และแย่อย่างเห็นได้ชัดสำหรับ screenshot, โลโก้ และกราฟิกเรียบๆ — พวกนี้มีขอบคมและไม่มี noise แบบภาพถ่ายไว้กลบร่องรอยการบีบอัด

ควรตั้งคุณภาพ JPEG เป็น 100 ไหม?

ไม่ เกินราวๆ 92 ขึ้นไป คุณกำลังจ่ายเพื่อขนาดไฟล์มากกว่าคุณภาพที่มองเห็นได้ และ 100 อาจทำให้ไฟล์ใหญ่ขึ้นสามเท่าเพื่อความต่างที่ไม่มีใครสังเกตเห็น ถ้ารูปของคุณเป็น screenshot หรือกราฟิก UI ช่วง 88–92 คือช่วงที่เหมาะสม

การเปลี่ยนค่านี้แก้รูปที่ฉันอัพโหลดไปแล้วได้ไหม?

ไม่ได้ filter มีผลกับรูปที่ประมวลผลหลังจากมันทำงานแล้ว รูปที่มีอยู่จะยังคงคุณภาพที่มันถูกเข้ารหัสไว้ จนกว่าคุณจะอัพโหลดใหม่หรือ regenerate thumbnail ด้วยปลั๊กอิน wordpress หรือ 'wp media regenerate'