notes/Webp file conversion and information-SBiu6Js9.sh
#working with WebP image formats in Linux
#about
#webp was developed by Google back in 2010
#it's an open format
#supports lossless and lossy compression
#derivative of the VP8 video format, it is a sister project to the WebM multimedia container format
#chrome currently supports webp (Google, duh)
#firefox does not, but plans on it.
#Display of imagemagick will display them
display photo.webp
#so will gthumb
gthumb photo.webp
#at this time GIMP out of the box doesn't
#but there are plugins for it.
####Converting webp to jpg/png
#install webp package
sudo apt install webp
#once the package is installed Imagemagick can now convert the files
convert photo.webp photo.png
#and back
convert photo.png photo_1.webp
#or you can use the webp program
#decoded to png
dwebp photo.webp -o photo.jpg
#You can also view them with vwebp
vwebp photo.webp
#more options with man
man dwebp