시작하기
컬렉션을 사용해 정리하기 내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
이미지 애호가는 광고에 집중하고 싶어하는 많은 소프트웨어 제품 중 WebP를 지원합니다.
libwebp
코덱 배포에서 다음을 위한 참조 구현을 제공합니다. 인코더 및 디코더 애플리케이션인 cwebp
와 dwebp
를 각각 학습하여 WebP의 사용 가능한 기능을 보여드리겠습니다. 다음 파일을 다운로드할 수 있습니다. 다운로드 저장소에서 가져옴 소스에서 빌드할 수 있습니다 examples/
디렉터리에 있습니다.
libwebp
코덱에는 광범위한 인코더 및 디코더 API가 포함되어 있습니다. 제발 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
문서를 참조하세요. 디코더와 그 명령줄 옵션에 관한 것입니다.
네이티브 이미지 보기
WebP는 새로운 이미지 형식이며 Chrome, Opera, 그 외 기타 다수 애플리케이션 및 라이브러리에 액세스할 수 있습니다
WebP 코덱용 API
WebP 팀은 개발자가 웹 브라우저 및 기타 SDK에 직접 스레드를 추가할 수 있도록 브라우저, 이미지 편집 도구 등의 애플리케이션 지원을 네이티브 애플리케이션으로 최적화할 수 있습니다
API 문서에서 libwebp
애플리케이션 프로그래밍 인터페이스
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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\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,["Image 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\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\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\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\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."]]