Enable your Java applications to display over 150+ file formats in HTML, PDF or image modes using GroupDocs.Viewer for Java APIs without any additional software installed; such as Microsoft Office, Apache Open Office, Adobe Acrobat Reader etc. Developers can easily view all popular images and document types including Microsoft Office, OpenDocument, HTML, PDF, Archive, Diagrams, Photoshop, AutoCAD and programming language formats inside the Java applications with fast and highest quality rendering.
GroupDocs.Viewer makes it easy for Java developers to add WEBP file viewing feature in their applications using a few lines of code.
GroupDocs.Viewer for Java APIs are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installed on your system.
// Instantiate viewer
try (Viewer viewer = new Viewer("sample.webp"))
{
// Set view options
PngViewOptions viewOptions = new PngViewOptions();
// Convert file to PNG and check the output in the current directory
viewer.view(viewOptions);
}
Display WEBP file right now by visiting GroupDocs.Viewer Live Demos website.
The live demo has the following benefits
No need to download API
No need to write any code
Just upload the source file
Get download link to save the file
WebP, introduced by Google, is a modern raster web image file format that is based on lossless and lossy compression. It provides same image quality while considerably reducing the image size. Since most of the web pages use images as effective representation of data, the use of WebP images in web pages results in faster loading of web pages. As per Google, WebP lossless images are 26% smaller in size compared to PNGs, while WebP lossy images are 25-34% smaller than comparable JPEG images. Images are compared based on the Structural Similarity (SSIM) index between WebP and other image file formats. WebP is a sister project of WebM multimedia container format.
Read More About WEBP File FormatMulti format documents and images viewer API for Java. View some of the popular file formats below without any external viewers.
(Microsoft Word Document)
(Microsoft Word Macro-Enabled Document)
(Microsoft Word Open XML Document)
(Microsoft Word Document Template)
(Microsoft Word Macro-Enabled Template)
(Word Open XML Document Template)
(Rich Text File Format)
(Plain Text File Format)
(Microsoft Excel Binary File Format)
(Microsoft Excel Open XML Spreadsheet)
(Microsoft Excel Macro-Enabled Spreadsheet)
(Microsoft Excel Binary Spreadsheet File)
(Microsoft Excel Open XML Template)
(Tab Separated Values File)
(Microsoft Excel Macro-Enabled Add-In)
(Comma Separated Values File)
(PowerPoint Presentation)
(Microsoft PowerPoint Slide Show)
(PowerPoint Open XML Presentation)
(PowerPoint Open XML Slide Show)
(Microsoft PowerPoint Open XML Template)
(Microsoft PowerPoint Template)
(Microsoft PowerPoint Presentation)
(Microsoft PowerPoint Slide Show)
(Adobe Portable Document Format)
(Open XML Paper Specification)
(LaTeX Source Document)
(Open Document Spreadsheet)
(OpenDocument Presentation File Format)
(Origin Graph Template)
(Open Document Text)
(Open Document Template)
(Microsoft Visio 2003-2010 XML Drawing)
(Tagged Image File Format)
(JPEG Image)
(Portable Network Graphic)
(Graphical Interchange Format File)
(Bitmap File Format)
(Microsoft Icon File)
(Adobe Photoshop Document)
(Scalable Vector Graphics File)
(JPEG 2000 Core Image File)
(Microsoft Project Document)
(Microsoft Project Template)
(Hyper Text Markup Language)
(MIME Encapsulation of Aggregate HTML)
(MIME Encapsulation of Aggregate HTML)
(Microsoft Outlook E-mail Message)
(E-mail Message)
(Microsoft OneNote)
(Windows Metafile)
(Enhanced Metafile Format)
(Adobe Photoshop Document)
(Microsoft Visio 2003-2010 Drawing)
(Microsoft Visio Drawing)
(Microsoft Visio 2003-2010 Stencil)
(Microsoft Visio 2003-2010 XML Drawing)
(Microsoft Visio 2010 Web Drawing)
(Digital E-Book File Format)