Convert PNG to WEBP using Ruby

The GroupDocs.Conversion Cloud SDK for Ruby has been developed to help you get started with our document conversion REST API, which lets you seamlessly convert PNG to WEBP or any of your documents to any format you need. With this single API, you can convert back and forth between over 50 types of documents and images, including all Microsoft Office and OpenDocument file formats, PDF documents, PNG, WEBP, HTML, CAD, raster images and many more.

Convert PNG to WEBP using Ruby


                    

Formats supported by Cloud SDK for Ruby

PNG to PPT PNG to PPS PNG to PPTX PNG to PPSX PNG to ODP PNG to OTP PNG to POTX PNG to POT PNG to POTM PNG to PPTM PNG to PPSM PNG to FODP PNG to TIFF PNG to TIF PNG to JPG PNG to JPEG PNG to PNG PNG to GIF PNG to BMP PNG to ICO PNG to PSD PNG to WMF PNG to EMF PNG to DCM PNG to DICOM PNG to WEBP PNG to SVG PNG to JP2 PNG to EMZ PNG to WMZ PNG to SVGZ PNG to TGA PNG to PSB

Advanced Document Conversion API Features

Convert PNG to all common formats

Convert page by page PNG or custom range of pages

Watermark pages

Get high quality WEBP output files

Password protect output document

APIs are secured and require authentication

Convert a Multitude of Document Formats beside PNG and WEBP

GroupDocs.Conversion REST API has the capability to perform conversion on a number of document formats beside PNG and WEBP. The information about the formats supported by the API can be obtained by using the code mentioned below:

Get all the supported file formats - Ruby

# Get your App SID and App Key at https://dashboard.groupdocs.cloud (free registration is required).
# Getting instance of the API
api = GroupDocsConversionCloud::ConversionApi.from_keys($app_sid, $app_key)

$request = GroupDocsConversionCloud::GetSupportedConversionTypesRequest.new()

# Retrieve supported file formats
$response = api.get_supported_conversion_types($request)

# Display all the supported file formats
puts("= Supported File Formats =")
$response.each do |format|
    puts("#{format.source_format} to [#{format.target_formats.join(', ')}]")
end

Get Started to convert PNG to WEBP in No Time

GroupDocs.Conversion Cloud API is completely independent of your operating system, database system or development language. You can use any language and platform that supports HTTP to interact with our API. However, manually writing client code can be difficult, error-prone and time-consuming. Therefore, we have provided and support API SDKs in many development languages in order to make it easier to integrate with us. If you use SDK, it hides the REST API calls and lets you use GroupDocs.Conversion Cloud API features in a native way for your preferred language.

Security and Authentication

The GroupDocs.Conversion Cloud API is secured and requires authentication to convert PNG to WEBP. Users need to register at GroupDocs Cloud and get their app access key ID (appSID) and app secret access key. Authenticated requests require a signature and AppSID query parameters or OAuth 2.0 authorization header.

Easy Customization

GroupDocs.Conversion Cloud SDK is 100% tested and out of the box running. The SDK is open source and has an MIT license. You can use it, and even customize it for absolutely free of charge.

Support and Learning Resources

GroupDocs.Conversion Cloud also offers conversion of PNG to WEBP using other popular languages as listed below: