תוכניות שירות מוכנות מראש
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
איך משיגים את cwebp, dwebp ואת ספריות WebP
cwebp
מקודד תמונות בפורמט JPEG, PNG או TIFF לפורמט WebP, ואילו dwebp
מפענח אותן בחזרה לפורמט PNG. כדי להתחיל להמיר את התמונות בקלות ובמהירות, אפשר להשתמש בארכיונים הבאים שזמינים במאגר ההורדות.
כל הארכיונים האלה מכילים את חבילת כלי השירות המלאה, כולל cwebp
, dwebp
ו-gif2webp
, יחד עם ספריות WebP וכותרות C (האחרונות מאפשרות להוסיף קידוד או פענוח של WebP לתוכניות שלכם).
הערה (ל-Linux ול-macOS):
הקבצים הבינאריים קושרו באופן סטטי כדי להבטיח תאימות בין מהדורות והפצות. עם זאת, אם קובצי ההפעלה הבינאריים לא פועלים בפלטפורמה שלכם, אפשר לעיין בהוראות בדף בנושא קומפילציה של כלי השירות כדי ללמוד איך ליצור גרסאות משלכם.
מנהלי חבילות ב-macOS
בנוסף, הכלים של WebP זמינים לעיתים קרובות ל-macOS דרך Homebrew ו-MacPorts.
מה השלב הבא?
במאמר שימוש ב-WebP מוסבר איך להתחיל להמיר את התמונות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-08 (שעון UTC).
[null,null,["עדכון אחרון: 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."]]