Programmable Media

VIESUS™ Automatic Image Enhancement

Last updated: Dec-11-2024

Cloudinary is a cloud-based service that provides an end-to-end image management solution including uploads, storage, transformations, optimizations and delivery.

VIESUS™ is a software application developed by Imaging Solutions AG that takes everyday digital camera images and enhances them to look more visually attractive. VIESUS™ first analyses the image data then automatically applies any processing steps as needed: adjusting brightness and color, restoring sharpness, removing noise, correcting for overexposure or underexposure, and more. Cloudinary provides an add-on for using VIESUS™'s image enhancement capabilities, fully integrated into Cloudinary's image management and transformation pipeline. With VIESUS™'s image enhancement add-on, you can extend Cloudinary's powerful image transformation and optimization capabilities by automatically enhancing images to their best visual quality.

Important
By default, delivery URLs that use this add-on either need to be signed or eagerly generated. You can optionally remove this requirement by selecting this add-on in the Allow unsigned add-on transformations section of the Security page in the Console Settings.

(For simplicity, most of the examples on this page show eagerly generated URLs without signatures.)

Getting started

Before you can use the VIESUS™ Automatic Image Enhancement add-on:

  • You must have a Cloudinary account. If you don't already have one, you can sign up for a free account.

  • Register for the add-on: make sure you're logged in to your account and then go to the Add-ons page. For more information about add-on registrations, see Registering for add-ons.

  • Keep in mind that many of the examples on this page use our SDKs. For SDK installation and configuration details, see the relevant SDK guide.

  • If you're new to Cloudinary, you may want to take a look at the Developer Kickstart for a hands-on, step-by-step introduction to Programmable Media features.

Enhancing images

Take a look at the following photo of a beach that was uploaded to Cloudinary's demo product environment. The original photo has dark coloring and looks like it was taken on an overcast day, in contrast to the minimal cloud covering visible in the image.

Original beach image

Setting the effect transformation parameter to viesus_correct (or e_viesus_correct for URLs) tells Cloudinary to dynamically enhance the image to the best visual quality using the VIESUS™ add-on. The brightness is increased and the colors appear more vivid, while the photo now looks like it was taken on a bright sunny day. The generated image is stored in the cloud and delivered optimized via a fast CDN.

Auto corrected beach image

Furthermore, you can include an additional value to configure the enhancement as follows:

  • e_viesus_correct:no_redeye - enhances the image without correcting for red eye.
  • e_viesus_correct:skin_saturation - enhances the image and also applies saturation to the skin tones in the image. You can define a value for the saturation by appending an underscore and then the value (e.g., e_viesus_correct:skin_saturation_20 to boost saturation of skin tones by 20). A positive value boosts saturation and a negative value reduces the saturation. Default value: 50. Range: -100 to 100

Signed URLs

Cloudinary's dynamic image transformation URLs are powerful tools for agile web and mobile development. However, due to the potential costs of end users accessing dynamic URLs including the viesus_correct parameter, image transformation add-on URLs are required (by default) to be signed using Cloudinary's authenticated API or alternatively, you can eagerly generate the required derived images.

A signed Cloudinary image URL is a dynamic URL that will have its signature validated before making it available for view. To create a signed Cloudinary URL using an SDK, set the sign_url parameter to true when building a URL or creating an image tag. The following code example generates an image tag for the beach.jpg image with a signed Cloudinary URL, while visually enhancing the image by setting the effect transformation to viesus_correct and scaling the size to a width of 400 pixels:

Code for generating viesus enhanced signed URL

The generated Cloudinary URL shown below includes a signature component (s--58dQFhjW--). Only URLs with a valid signature that matches the requested image transformation will be approved for on-the-fly image transformation and delivery.

For more details on signed URLs, see Signed delivery URLs.

Note
You can optionally remove the signed URL default requirement for a particular add-on by selecting it in the Allow unsigned add-on transformations section of the Security page in the Console Settings.

Eager transformations

As an alternative to signed URLs, you can eagerly generate all converted images during upload. By using Cloudinary's authenticated API for requesting VIESUS™ image enhancement, accessing the generated images thereafter can be done using regular unsigned Cloudinary URLs.

The following code sample uploads a local JPG file to Cloudinary, assigns a public ID of "beach" and eagerly generates a 400 pixel wide image that is visually enhanced using the VIESUS™ add-on (as in the signed-URL example above):

Tip
You can use upload presets to centrally define a set of upload options including add-on operations to apply, instead of specifying them in each upload call. You can define multiple upload presets, and apply different presets in different upload scenarios. You can create new upload presets in the Upload Presets page of the Console Settings or using the upload_presets Admin API method. From the Upload page of the Console Settings, you can also select default upload presets to use for image, video, and raw API uploads (respectively) as well as default presets for image, video, and raw uploads performed via the Media Library UI.

Learn more: Upload presets

The resized and visually enhanced image is available for delivery immediately when the upload request completes. Therefore, the visually enhanced version can be accessed using an unsigned URL as in the example below:

Correct beach photo

Further image transformations

Visual enhancement using the VIESUS™ add-on can be mixed with any of Cloudinary's rich set of image transformation capabilities. For example, the following code first crops the uploaded beach image to a width of 1000 pixels with south gravity, while visually enhancing the derived image with VIESUS™ and rounding its corners. Then another uploaded image named viesus_logo is added as an overlay. The overlay is resized to a width of 100 pixels, positioned 10 pixels from the top right corner of the containing image and is made 50% semi transparent. Finally, the image is scaled down to a width of 600 pixels:

beach.jpg cropped to 1000 pixels with rounded corners, enhanced with viesus and a logo overlay

For a full list of additional Cloudinary's image transformation options, see the Image transformations documentation.

✔️ Feedback sent!

Rate this page: