Sign inSign up

openeuler/libwebp

Sponsored OSS

By openeuler

Updated 2 months ago

Image
0

4.2K

openeuler/libwebp repository overview

Quick reference

libwebp | openEuler

Current libwebp docker images are built on the openEuler. This repository is free to use and exempted from per-user rate limits.

WebP codec is a library to encode and decode images in WebP format. This package contains the library that can be used in other programs to add WebP support, as well as the command line tools 'cwebp' and 'dwebp' to compress and decompress images respectively.

Learn more about libwebp on WebP.

The tag of each libwebp docker image is consist of the version of libwebp and the version of basic image. The details are as follows

TagCurrentlyArchitectures
1.6.0-oe2403sp4libwebp 1.6.0 on openEuler 24.03-LTS-SP4amd64, arm64
1.6.0-oe2403sp3libwebp 1.6.0 on openEuler 24.03-LTS-SP3amd64, arm64

Usage

  • Pull the openeuler/libwebp image from docker

    docker pull openeuler/libwebp:{Tag}
    
  • Encode an image to WebP format using cwebp:

    docker run --rm -v $(pwd):/work openeuler/libwebp:{Tag} cwebp -q 80 /work/input.png -o /work/output.webp
    
  • Decode a WebP image to PNG format using dwebp:

    docker run --rm -v $(pwd):/work openeuler/libwebp:{Tag} dwebp /work/input.webp -o /work/output.png
    
  • View WebP file information:

    docker run --rm -v $(pwd):/work openeuler/libwebp:{Tag} webpinfo /work/input.webp
    
  • Create animated WebP from image sequence:

    docker run --rm -v $(pwd):/work openeuler/libwebp:{Tag} img2webp /work/frame1.png /work/frame2.png -o /work/output.webp
    
  • Convert animated GIF to WebP:

    docker run --rm -v $(pwd):/work openeuler/libwebp:{Tag} gif2webp /work/input.gif -o /work/output.webp
    

Question and answering

If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.

Tag summary

Content type

Image

Digest

sha256:59e004026

Size

69 MB

Last updated

2 months ago

docker pull openeuler/libwebp

This week's pulls

Pulls:

1

Last week