สาธารณูปโภคที่สร้างไว้ล่วงหน้า
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
การรับ cwebp, dwebp และไลบรารี WebP
cwebp
จะเข้ารหัสรูปภาพในรูปแบบ JPEG, PNG หรือ TIFF เป็น WebP ส่วน dwebp
จะถอดรหัสกลับเป็น PNG หากต้องการเริ่มต้นแปลงรูปภาพอย่างรวดเร็วและง่ายดาย
คุณสามารถดาวน์โหลดไฟล์ต่อไปนี้ได้ในที่เก็บข้อมูลการดาวน์โหลด
ไฟล์เก็บถาวรทั้งหมดนี้มีชุดยูทิลิตีแบบเต็ม ซึ่งรวมถึง cwebp
,
dwebp
และ gif2webp
พร้อมด้วยไลบรารี WebP และส่วนหัว C (ส่วนหัว C ช่วยให้คุณเพิ่มการเข้ารหัสหรือการถอดรหัส WebP ลงในโปรแกรมของคุณเองได้)
หมายเหตุ (สำหรับ Linux และ macOS)
ไบนารีได้รับการลิงก์แบบคงที่เพื่อให้เข้ากันได้ในทุกรุ่นและ
การเผยแพร่ อย่างไรก็ตาม หากไบนารีทำงานบนแพลตฟอร์มของคุณไม่สำเร็จ โปรดดูวิธีการใน
หน้าการคอมไพล์ยูทิลิตี
เกี่ยวกับวิธีสร้างเวอร์ชันของคุณเอง
เครื่องมือจัดการแพ็กเกจ macOS
นอกจากนี้ เครื่องมือ WebP มักจะพร้อมให้บริการสำหรับ macOS ผ่าน Homebrew
และ MacPorts
ขั้นตอนต่อไป
ไปที่การใช้ WebP เพื่อดูวิธีการเริ่ม
แปลงรูปภาพ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-08 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-08-08 UTC"],[[["\u003cp\u003eThe \u003ccode\u003ecwebp\u003c/code\u003e utility encodes JPEG, PNG, or TIFF images into WebP format, while \u003ccode\u003edwebp\u003c/code\u003e decodes WebP images back to PNG.\u003c/p\u003e\n"],["\u003cp\u003ePre-built, downloadable archives containing \u003ccode\u003ecwebp\u003c/code\u003e, \u003ccode\u003edwebp\u003c/code\u003e, and other WebP utilities are available for Windows, Linux, and macOS platforms.\u003c/p\u003e\n"],["\u003cp\u003eThe provided archives include the WebP libraries and C headers for integrating WebP functionality into custom applications.\u003c/p\u003e\n"],["\u003cp\u003emacOS users can install WebP tools using package managers like Homebrew and MacPorts.\u003c/p\u003e\n"],["\u003cp\u003eDetailed usage instructions for WebP tools are available on the "Using WebP" documentation page.\u003c/p\u003e\n"]]],["`cwebp` encodes JPEG, PNG, or TIFF images to WebP, and `dwebp` decodes them to PNG. Pre-compiled 64-bit executables and libraries for Windows, Linux, and macOS are available for download. These archives include `cwebp`, `dwebp`, `gif2webp`, WebP libraries, and C headers. macOS users can also get the tools through Homebrew or MacPorts. If the provided binaries fail, users can build custom versions.\n"],null,["Getting cwebp, dwebp, and the WebP Libraries\n\n`cwebp` encodes images in either JPEG, PNG or TIFF format into WebP, while\n`dwebp` decodes them back into PNG. For a quick and easy way to get started\nconverting your images, the following archives are available on the\n[downloads repository](https://storage.googleapis.com/downloads.webmproject.org/releases/webp/index.html).\n\n- [libwebp-1.5.0-windows-x64.zip](https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.5.0-windows-x64.zip) :\n 64-bit executables and libraries for Windows-x64 platform.\n\n- [libwebp-1.5.0-linux-aarch64.tar.gz](https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.5.0-linux-aarch64.tar.gz) :\n 64-bit executables and libraries for GNU/Linux-AArch64 platform.\n\n- [libwebp-1.5.0-linux-x86-64.tar.gz](https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.5.0-linux-x86-64.tar.gz) :\n 64-bit executables and libraries for GNU/Linux-x86_64 platform.\n\n- [libwebp-1.5.0-mac-arm64.tar.gz](https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.5.0-mac-arm64.tar.gz) :\n 64-bit executables and libraries for macOS (arm64) platform.\n\n- [libwebp-1.5.0-mac-x86-64.tar.gz](https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.5.0-mac-x86-64.tar.gz) :\n 64-bit executables and libraries for macOS (x86_64) platform.\n\nAll these archives contain the full suite of utilities including `cwebp`,\n`dwebp` and `gif2webp`, along with the WebP libraries and C headers (the\nlatter allowing you to add WebP encoding or decoding to your own programs).\n\nNote (for Linux and macOS):\n\nThe binaries have been statically linked for compatibility across releases and\ndistributions. However, if the binaries fail to run on your platform, check the\n[Compiling the Utilities page](/speed/webp/docs/compiling#unix) for instructions\non how to build your own versions.\n\nmacOS Package Managers\n\nAdditionally, the WebP tools are often available for macOS via **[Homebrew](https://brew.sh/)**\nand **[MacPorts](https://www.macports.org/)**.\n\n- [Homebrew WebP package](https://formulae.brew.sh/formula/webp)\n- [Macports WebP package](https://www.macports.org/ports.php?by=library&substr=webp)\n\nWhat Next?\n\nGo to [Using WebP](/speed/webp/docs/using) for instructions on how to start\nconverting your images."]]