الخطوات الأولى
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يجب أن يستخدم عشاق الصور أحد منتجات البرامج العديدة التي
التوافق مع تنسيق WebP
نوفّر في توزيع برنامج ترميز libwebp
تنفيذًا مرجعيًا
تطبيقَي برنامج الترميز وفكّ الترميز cwebp
وdwebp
على التوالي
عرض الوظائف المتاحة من WebP. يمكن تنزيل هذه الملفات
من مستودع التنزيلات
أو يمكن إنشاؤها من المصدر ويمكنك العثور عليها في دليل examples/
.
يشتمل برنامج الترميز libwebp
على واجهة برمجة تطبيقات شاملة لبرنامج الترميز وفك الترميز. من فضلك
يمكنك الرجوع إلى الوثائق المناسبة إذا أردت إتاحة استخدام WebP في
تطبيقك أو متصفحك.
يمكنك استخدام cwebp
في سطر الأوامر لتحويل ملفات صور PNG أو JPEG إلى WebP.
. يمكنك تحويل ملف صورة PNG إلى صورة WebP بنطاق للجودة.
80 باستخدام الأمر:
cwebp -q 80 image.png -o image.webp
يُرجى الرجوع إلى المستندات الخاصة بـ "cwebp
" للحصول على وصف.
برنامج الترميز وخياراته العادية والمتقدّمة
استخدام dwebp
في سطر الأوامر لتحويل ملفات صور WebP إلى تنسيق PNG أو PPM
. يمكنك تحويل ملف صورة WebP، مثلاً image.webp
إلى صورة PNG.
باستخدام الأمر:
dwebp image.webp -o image.png
يُرجى الرجوع إلى المستندات الخاصة بـ "dwebp
" للحصول على وصف.
برنامج فك الترميز وخيارات سطر الأوامر به.
عرض صورك محليًا
وهو تنسيق جديد للصور وهو متوافق في الأصل مع المتصفحات Google Chrome وOpera
والعديد من المستخدمين الآخرين
التطبيقات والمكتبات.
واجهة برمجة التطبيقات لبرنامج ترميز WebP
وفّر فريق WebP واجهة برمجة تطبيقات شاملة تتيح للمطوّرين إضافة
دعم التطبيقات، بما في ذلك المتصفحات وأدوات تعديل الصور
كتطبيقات أصلية.
يمكنك الرجوع إلى مستندات واجهة برمجة التطبيقات للحصول على وصف
libwebp
واجهة برمجة التطبيقات.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-08-08 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eWebP is a modern image format supported by various software and browsers like Google Chrome and Opera.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003elibwebp\u003c/code\u003e codec provides tools like \u003ccode\u003ecwebp\u003c/code\u003e and \u003ccode\u003edwebp\u003c/code\u003e for encoding and decoding WebP images respectively.\u003c/p\u003e\n"],["\u003cp\u003eUsers can leverage command-line tools or the comprehensive API to integrate WebP functionality into their applications.\u003c/p\u003e\n"],["\u003cp\u003eDetailed documentation for the encoder, decoder, and API is available for developers to utilize.\u003c/p\u003e\n"]]],["Image conversion to and from WebP format is facilitated by `cwebp` (encoder) and `dwebp` (decoder) applications, available via download or source build. `cwebp` converts PNG or JPEG to WebP (e.g., `cwebp -q 80 image.png -o image.webp`), while `dwebp` converts WebP to PNG or PPM (e.g., `dwebp image.webp -o image.png`). Developers can integrate WebP support into applications using the provided `libwebp` API. WebP is natively supported by browsers like Chrome and Opera.\n"],null,["# Getting Started\n\nImage enthusiasts should use one of the many software products that\n[support WebP](https://wikipedia.org/wiki/WebP#Support).\n\n*** ** * ** ***\n\nWe provide in the `libwebp` codec distribution a reference implementation for\nthe encoder and decoder applications, `cwebp` and `dwebp` respectively, to\nshowcase the available functionalities of WebP. These files can be downloaded\nfrom the [downloads repository](https://storage.googleapis.com/downloads.webmproject.org/releases/webp/index.html)\nor can be built from source. They reside in the `examples/` directory.\n\nThe `libwebp` codec includes an extensive encoder and decoder API. Please\nconsult the appropriate documentation if you'd like to add support for WebP to\nyour application or browser.\n\nUsing `cwebp` to Convert Images to the WebP Format\n--------------------------------------------------\n\nUse `cwebp` on the command line to convert PNG or JPEG image files to WebP\nformat. You can convert a PNG image file to a WebP image with a quality range\nof 80 with the command: \n\n cwebp -q 80 image.png -o image.webp\n\nConsult the `cwebp` [documentation](/speed/webp/docs/cwebp) for a description\nof the encoder, its standard and advanced options.\n\nUsing `dwebp` to Convert Images from the WebP Format\n----------------------------------------------------\n\nUse `dwebp` on the command line to convert WebP image files to the PNG or PPM\nformat. You can convert a WebP image file, say `image.webp` to a PNG image\nwith the command: \n\n dwebp image.webp -o image.png\n\nConsult the `dwebp` [documentation](/speed/webp/docs/dwebp) for a description\nof the decoder and its command-line options.\n\nViewing your Images Natively\n----------------------------\n\nWebP is a new image format and is natively supported in Google Chrome, Opera,\nand [many other](/speed/webp/faq#which_web_browsers_natively_support_webp)\napplications and libraries.\n\nAPI for the WebP Codec\n----------------------\n\nThe WebP team has provided an extensive API to allow developers to add\nsupport to their applications, including browsers, image editing tools as well\nas native applications.\n\nConsult the [API documentation](/speed/webp/docs/api) for a description of\n`libwebp` application programming interface."]]