API Documentation
  • Welcome!
  • Quick Start
  • API methods
  • Easy integration
  • Handling Large File Sets
  • Supported formats
  • Webhooks
  • Common usecases
    • Auto enhance image quality
    • Create business photo or avatar from face image
    • Face swap
    • Create beautiful product photo
    • Genarate image in high resolution
    • Remove background
    • AI Drawing to Image - Doodle
    • Real estate
    • Enhancing documents
    • Car dealer photo
  • Image processing
    • Resize and padding
    • Denoise and sharpen
    • Enhance lighting and colors
    • Enhance face details
    • Background removal and generation
    • Image generation
    • Inpainting and outpainting (uncrop)
    • Frame identification
    • Print
    • Captions
    • Additional parameters
    • Presets
  • Account & settings
    • Account information
  • storages
    • Description
    • AWS S3
    • AWS S3 IAM Configuration
  • Presets
    • E-commerce
    • Real-estate
    • Print/Photo
    • Digital Art
  • Technology
    • Algorithms
    • Upscale
    • Background removal
      • Remove BG recommendation
    • Sharpen & Noise reduction
    • Enhance Lighting
  • FAQ
Powered by GitBook
On this page
  • PNG vs JPEG — the difference in upscaling
  • Video
  1. Technology

Upscale

PreviousAlgorithmsNextBackground removal

Last updated 2 years ago

Deep-image.ai uses a revolutionary upscale technique to create high-resolution images from low-resolution originals. While there are many techniques to upscale an image, the neural networks at Deep-image.ai offer a solution that scales or enlarges your image using the latest artificial intelligence algorithms techniques. With this technology, any image can be upscaled to a high-resolution version without losing quality.

PNG vs JPEG — the difference in upscaling

PNG offers a lossless compression meaning that the picture loses no quality with compression, meanwhile JPEG reduces the image quality as the file size gets smaller. The most obvious thing to happen when a JPEG compresses severely is that the finer details disappear. Pictures is getting more pixelated, giving the image “blocky” apperance.

Deep-Image.AI uses different AI models for each of these formats, but it recognises the image format by its image header.

One of the potential challenges is be when the image which was saved first with JPEG compression that introduced heavy JPEG artifacts was saved as a PNG file. In that case Deep-Image.AI will process the file as PNG, but in fact pixels look like they were processed with JPEG compression.

Let see the example below. One was saved as a PNG file and upscaled 4x and the second one was saved as a JPEG file and also upscaled 4x.

The differences are clearly noticeable. Much more details are restored in the PNG image.

Of course, this will only happen when the source image was the RAW file not a JPEG file saved as a PNG. In that case, we would have the situation described at the beginning of this section

Video

RAW photo without any compression.
JPEG image upscaled 4x and cropped
PNG image upscaled 4x and cropped