Skip to Content

Image Processing

Transform any image into lightning-fast, web-ready files. AVIF format, smart placeholders, and global delivery — all automatic.

Upload any image to RIXL and watch it transform into a web-ready masterpiece. Our intelligent processing pipeline delivers files that are 90% smaller while looking identical to the original — it's like magic, but it's just really smart technology.

Quick Actions

How Image Processing Works

Every image you upload gets the full optimization treatment:

Smart Format Selection

Raster images become ultra-efficient AVIF files, while SVGs stay perfectly crisp as vectors.

Intelligent Compression

Advanced algorithms find the perfect balance between tiny file sizes and stunning visual quality.

Instant Placeholders

Generate ultra-compact thumbhash placeholders so your pages load instantly, even on slow connections.

Metadata Preservation

Keep all the important stuff — dimensions, camera settings, color profiles — while ditching unnecessary bloat.

Global Distribution

Your optimized images hit our global CDN immediately, ready for lightning-fast delivery anywhere in the world.

What We Support

Raster Images (get the AVIF treatment)

  • Common formats: JPEG, PNG, WebP, GIF, BMP
  • Professional formats: HEIC/HEIF, TIFF, JPEG 2000
  • Next-gen formats: JPEG XL, WEBP2, HDR, AVIF

Vector Graphics (stay perfect as-is)

  • SVG files: Keep all their scalability and interactivity intact

AVIF Optimization & ThumbHash Previews

AVIF Optimization Settings

  • Quality Level: Balanced for the sweet spot between minimal size and visual perfection
  • Color Depth: 8-bit for universal browser support
  • Smart Metadata: Essential camera settings and color profiles preserved when useful
  • Auto-Rotation: Images automatically display correctly based on their EXIF orientation data

ThumbHash Previews Each processed image generates a compact ~25-byte ThumbHash placeholder that produces instant-loading previews while the full image downloads:

  • Zero extra network requests – Easily embedded directly into initial page payloads or API responses
  • Instant rendering – Immediate, flicker-free visual feedback
  • Color-accurate – Faithfully preserves dominant colors and luminance
  • Smooth transitions – Natural blur-to-sharp loading effect

Implementation Example

Upload an image programmatically and display it using the React SDK:

// 1. Initialize image upload
const initResponse = await fetch(`https://api.rixl.com/media/v1/projects/${projectId}/images/upload`, {
  method: "POST",
  headers: {
    "X-API-Key": apiKey,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    name: file.name,
  }),
});

const {image_id, upload_url} = await initResponse.json();

// 2. Upload image file directly to presigned URL
await fetch(upload_url, {
  method: "PUT",
  body: file,
});
// 3. Render anywhere in your React application
import {Image} from "@rixl/media-react";

export function ProductHero({imageId}: {imageId: string}) {
  return <Image id={imageId} className="w-full h-auto rounded-xl object-cover shadow-lg" analytics analyticsPage="product-detail" />;
}

Performance Impact

File Size Reductions:

  • Photography: 70–90% smaller than JPEG
  • Screenshots: 60–80% reduction from PNG
  • Graphics with text: 50–70% improvement
  • Web graphics: 40–60% smaller than WebP

Loading Performance:

  • Instant placeholders eliminate perceived loading delays
  • Substantially reduced bandwidth usage, especially on mobile
  • Improved Core Web Vitals (LCP & CLS) scores

Browser Support

  • Google Chrome: Version 85+
  • Mozilla Firefox: Version 93+
  • Apple Safari: Version 16.0+ (macOS Ventura, iOS 16+)
  • Microsoft Edge: Version 85+
  • Opera: Version 71+
  • Android Browser / Chrome: Version 85+

Processing Pipeline Details

Upload and Check

Images are ingested, verified, and validated for supported formats and dimensions.

### File Type Detection The system identifies SVG files to keep unchanged and sends other images for conversion.
### Image Optimization Images are converted to AVIF format for smaller file sizes while keeping quality high.
### Create Placeholders Small preview images are generated for fast loading while the full image loads.

Distribute Globally

Optimized images are deployed to servers worldwide for fast delivery to users.

Advanced Features

Auto-Rotate Images

Automatically fixes rotated photos based on camera data

Keep Photo Details

Preserves camera settings, location data, and color information

Fast Global Delivery

Updates images instantly on servers worldwide

Content Checking

Scans uploads to ensure they meet content guidelines

Best Practices

When Uploading:

  • Upload your highest quality images, it'd optimize automatically
  • Use clear, descriptive file names to stay organized
  • Add alt text descriptions for screen readers

When Loading Images:

  • Use our placeholder images for instant feedback while photos load
  • Load images progressively for a better user experience
  • Wait for processing to complete on large files
  • Save processed image URLs to reduce API calls

Security Features

Upload Protection:

  • Checks file types to ensure they're actually images
  • Enforces file size limits at every step

Access Control:

  • Images are isolated within each project
  • API keys required for all access