Image Optimization Guides

In-depth articles about modern image formats, compression techniques, and best practices for web performance.

Featured

Featured AI & Automation 12 min read

AI Image Compression and Conversion: Describe the Result, Skip the Settings

Describe the result in plain English and let Mochify pick the format, quality and size. How natural-language image compression works, from a browser prompt to a fully agentic pipeline.

June 30, 2026 Read Guide
AI & Automation

Image Compression Inside Claude Code: The Mochify CLI + MCP Guide

Can Claude Code use MCP? Yes. Here's how to compress images inside Claude Code with the Mochify CLI as a build step and a local MCP server.

July 17, 2026 · 15 min read Read Guide →
Image Formats

HEIF to JPG: The Complete Conversion Guide

Convert HEIF (.HIF) files from Canon, Sony, and Fujifilm cameras to universally compatible JPG. Every method, the quality trade-offs, and batch workflows.

July 15, 2026 · 14 min read Read Guide →
Quick Guides

What Is an AVIF File? (And How to Open One)

An AVIF file is an image in the AV1 Image File Format, up to 50% smaller than JPEG. Here's how to open it on Windows and Mac, or convert it to JPG.

July 14, 2026 · 2 min read Read Guide →
Image Formats

AVIF to JPG: How to Convert AVIF Files on Any Device

AVIF is a modern format browsers love but desktop apps often reject. Convert AVIF to JPG free online in seconds, or use native tools on Windows and Mac.

July 13, 2026 · 13 min read Read Guide →
AI & Automation

How to Compress and Optimize AI-Generated Images (in Automated and Agent Workflows)

AI image compression for generated assets: why diffusion outputs are huge, which formats win, and how to automate the optimize-after-generation step in an agent pipeline.

July 2, 2026 · 15 min read Read Guide →
AI & Automation Featured

AI Image Compression and Conversion: Describe the Result, Skip the Settings

Describe the result in plain English and let Mochify pick the format, quality and size. How natural-language image compression works, from a browser prompt to a fully agentic pipeline.

June 30, 2026 · 12 min read Read Guide →
Image Formats

How to Convert iPhone Photos (HEIC) to PDF

Convert iPhone HEIC photos to PDF on any device - iPhone, Mac, Windows, or online. Native methods, batch tips, and a one-click tool. No app needed.

June 29, 2026 · 12 min read Read Guide →
Quick Guides

Do Marketplace Product Images Need to Be Square?

No marketplace universally requires square product images, but most crop thumbnails to 1:1 - making pre-cropped images the safer choice for any seller.

June 29, 2026 · 2 min read Read Guide →
Image Formats

Converting Images to JPEG XL: The Practical Guide for 2026

Compression benchmarks, every conversion path (JPEG, PNG, AVIF to JXL), honest 2026 browser support, and how to serve JXL safely with picture fallbacks.

June 26, 2026 · 11 min read Read Guide →
Quick Guides

Should I convert HEIC to JPEG or WebP for WordPress uploads?

JPEG works everywhere and is the safest default. WebP is better when file size matters - it's 25–35% smaller and has 97%+ browser coverage. HEIC must always be converted before serving.

June 25, 2026 · 3 min read Read Guide →
Web Performance

Convert MP4 to WebM for the Web: Smaller Files, Faster Pages, No Upload Required

Converting an MP4 hero video to WebM using VP9 typically cuts file size by 30–50% with no visible quality difference. Covers browser support, Core Web Vitals impact, the video fallback pattern, and in-browser conversion.

June 24, 2026 · 17 min read Read Guide →
Quick Guides

Why Does eBay Say My Image File Is Not Supported?

eBay rejects HEIC, HIF, RAW and oversized images. Convert to JPEG before uploading to fix 'file not supported' errors instantly.

June 24, 2026 · 2 min read Read Guide →
Quick Guides

Should I Use fetchpriority or rel="preload" for My LCP Image?

Use fetchpriority="high" on an <img> tag found in HTML. Use rel="preload" when the browser discovers the image late, via CSS or JavaScript.

June 20, 2026 · 2 min read Read Guide →
Quick Guides

How to Convert Sony HIF Files to JPG

Convert Sony .HIF files to JPG with Sony's free Imaging Edge Desktop, or convert online in one step. Which Alpha bodies shoot HEIF, and how to export.

June 17, 2026 · 3 min read Read Guide →
AI & Automation

Working with PDFs in AI Agent Workflows: Extract, Split, and Convert Pages

How to extract images from PDF, split multi-page files, and convert pages to WebP inside an AI agent pipeline. Mechanics, pitfalls, and a privacy-first workflow.

June 16, 2026 · 12 min read Read Guide →
Quick Guides

What Is a HIF File? (And How to Open One)

A HIF file is a 10-bit HEIF photo from Canon, Sony and Fujifilm cameras. What it is, why it won't open, and how to view one on macOS, Windows, iOS and Linux.

June 13, 2026 · 3 min read Read Guide →
AI & Automation

LLM Image Token Costs: How Many Tokens Does an Image Use?

No single number: Claude uses width×height/750 (~1,334 tokens for 1 MP), OpenAI and Gemini use tiling. Pass file paths, not image bytes, to save context.

June 7, 2026 · 4 min read Read Guide →
Quick Guides

Does Converting HIF to JPG Reduce Quality?

Converting HIF to JPG rarely reduces visible quality. The real exception is Canon HDR PQ, where the HDR-to-SDR tone-map changes the look more than bit depth.

June 5, 2026 · 3 min read Read Guide →
Image Formats

HIF to JPG: Convert Canon, Sony & Fujifilm Photos to Shareable JPEGs

Convert HIF to JPG from Canon, Sony and Fujifilm cameras. Every method on every platform, plus what you trade away going 10-bit to 8-bit.

June 4, 2026 · 19 min read Read Guide →
AI & Automation Featured

On-Device AI Agents: Image and PDF Optimization for Local Workflows

From NVIDIA DGX Spark to Apple Silicon, local AI agents are real in 2026. What that means for handling images and PDFs inside MCP agent pipelines - and why a local model doesn't mean local data.

June 2, 2026 · 15 min read Read Guide →
Data Privacy

Why We Relaxed Our Zero-Retention Policy for MCP Server Compressions

Why we softened Mochify's 'wiped immediately' claim on hosted MCP compressions to a five-minute pickup window, what we kept end-to-end, and what it means for your workflow.

May 29, 2026 · 5 min read Read Guide →
AI & Automation Featured

How the Mochify MCP Server Works: Hosted vs Local, with Worked Examples

The hosted and local MCP surfaces compared - architecture, token costs, retention behavior, and four worked examples covering URL input, uploaded images, Claude Desktop file work, and build pipelines.

May 28, 2026 · 9 min read Read Guide →
Workflows

Ecommerce Product Photo Workflow: Resize & Convert in One Prompt

How to batch-convert product photos to JPG at 1200px and 800px with a single natural-language prompt. The fastest workflow for Shopify, Etsy, eBay, and Amazon sellers.

May 23, 2026 · 4 min read Read Guide →
Quick Guides

What Image Format Should I Use for Product Photos?

Use AVIF for the smallest files, WebP as a fallback, and JPEG for the broadest compatibility. Here's the practical format fallback order for ecommerce product images.

May 19, 2026 · 2 min read Read Guide →
Quick Guides

Do Journaling Apps Compress Images? Avoid Storage Bloat.

Most journaling apps skip real compression or make it worse. Day One converts HEIC to larger JPEGs. Here's how to fix storage bloat before it hits.

May 18, 2026 · 4 min read Read Guide →
Image Formats

SVG Conversion Guide: When to Keep Vector and When to Rasterize

The real question isn't 'can I use SVG?' - it's 'should I use SVG here, for this workflow?' Decision framework, format comparison, and WordPress workflows for designers and developers.

May 16, 2026 · 8 min read Read Guide →
Workflows

AI Agent Workflow Automation for Photographers: Save Hours with Claude and Mochify

Build a hands-off post-shoot pipeline with Claude, Dispatch, and Mochify MCP. Files land in upload-ready folders while you're still in the field.

May 03, 2026 · 10 min read Read Guide →
Quick Guides

Does HEIF/HEIC Work With Client Gallery Platforms Like Pixieset and SmugMug?

HEIF and HEIC files don't work reliably with most client gallery platforms. Here's what actually happens on upload, and how to keep control of your output.

Apr 26, 2026 · 3 min read Read Guide →
Quick Guides

Should I Shoot HEIF or JPEG on My Mirrorless Camera?

Shoot HEIF for capture quality, deliver JPEG to clients. Here's the practical 2026 workflow for Canon EOS R, Nikon Z, and Sony Alpha shooters.

Apr 25, 2026 · 3 min read Read Guide →
Workflows

HIF/HEIF to JPEG for Professional Photographers: A Privacy-First Workflow Guide

Convert Canon HIF and HEIF to JPEG with confidence. Wedding, commercial, and editorial workflow blueprints with EXIF stripping, batch sizing, and zero-retention processing.

Apr 23, 2026 · 12 min read Read Guide →
Quick Guides

Is JPEG XL Ready for Shopify Product Images in 2026?

JPEG XL is not ready for live Shopify stores in 2026. Browser support sits at 12–17% globally and Shopify doesn't accept JXL uploads. Use AVIF with a WebP fallback.

Apr 14, 2026 · 3 min read Read Guide →
Quick Guides

What Should I Use in 2026: WebP, AVIF, or JPEG XL?

In 2026, use AVIF as your primary format with WebP as fallback. JPEG XL is not production-ready for web at ~15% browser support.

Apr 13, 2026 · 2 min read Read Guide →
Image Optimization

Should I Optimize My Images Before I Upload Them?

Almost always yes. A practical guide to pre-upload image optimization covering LCP, EXIF privacy, format choice, and workflows for Shopify, WordPress, and marketplaces.

Apr 13, 2026 · 15 min read Read Guide →
Quick Guides

Does Chrome 145 Enable JPEG XL by Default in 2026?

Chrome 145 adds JPEG XL decoding support, but the feature is off by default and requires a browser flag. Here is what that means for serving images in 2026.

Apr 10, 2026 · 3 min read Read Guide →
Quick Guides

How Do I Preload AVIF Hero Images in WordPress to Pass the LCP Threshold?

Serving AVIF isn't enough - browsers still discover it late. Add a preload hint to your WordPress theme so the hero image starts downloading before the render tree is built, and hit Google's 2.5s LCP target.

Apr 09, 2026 · 3 min read Read Guide →
Quick Guides

How to Use Jpegli for Shopify Product Images

Pre-compress Shopify product images with Jpegli before upload. Stop Shopify's recompression from degrading quality - get ~35% smaller files, faster LCP, and better search rankings.

Apr 06, 2026 · 6 min read Read Guide →
Data Privacy

A European Alternative to TinyPNG: Privacy-First, Zero-Retention Image Compression

Looking for a GDPR-compliant image compressor hosted in the EU? Mochify processes images in memory only, never stores your files, and strips EXIF data by default.

Mar 22, 2026 · 15 min read Read Guide →
AI & Automation

How to Use Mochify via MCP: AI Agent Image Compression (2026)

Connect Mochify to your AI assistant via MCP and compress images with plain English - no manual settings, no uploads to a browser tab. For Claude Desktop, Cursor, and any MCP-compatible client.

Mar 09, 2026 · 7 min read Read Guide →
AI & Automation

AI-Powered Image Compression: How Mochify's Natural Language Feature Works (2026)

Describe your image goal in plain English and Mochify's AI picks the right format, size, and settings automatically. Powered by Mistral Small 4. No tech knowledge needed.

Mar 08, 2026 · 8 min read Read Guide →
Image Optimization

Optimizing Hero Images for Web Performance: A 2026 Guide

Learn how to optimize your website's hero images for faster load times and better Core Web Vitals in 2026. A step-by-step guide to choosing the right format, compression settings, and responsive techniques.

Feb 20, 2026 · 14 min read Read Guide →
Image Optimization

How to Self-Host an Image Optimization API with Docker

Tired of uploading your images to third-party services? Learn how to set up your own image optimization API using Docker and the Mochify-Lite engine for secure, private compression.

Feb 18, 2026 · 5 min read Read Guide →
Image Optimization

Top 5 Secure Image Compressors of 2026: Privacy, Performance, and Format Support Comparison

Compare the best secure image compressors of 2026. Find out which tools offer true zero-retention privacy, support HEIC/AVIF/JPEG XL, and deliver the smallest files.

Feb 17, 2026 · Updated Mar 13, 2026 · 15 min read Read Guide →
Image Formats

The History of Image Compression: From BMP to AVIF & Jpegli (2026 Guide)

Trace the evolution of images from BMP to AVIF and Jpegli. Learn how 2026 compression tech boosts Core Web Vitals and SEO for developers and creators.

Feb 15, 2026 · 15 min read Read Guide →
Data Privacy

The Risks of EXIF Data in Image Compression (2026 Guide)

Learn why stripping EXIF metadata during image compression is crucial for privacy and security. Understand the risks of leaving GPS coordinates, device info, and other sensitive data in your images.

Feb 13, 2026 · 15 min read Read Guide →
Image Formats

The 2026 Guide to Next-Gen Formats: WebP, AVIF, and JPEG XL

Your 2MB JPEG homepage hero is killing your LCP score. Google's PageSpeed Insights keeps screaming "Serve images in next-gen formats," but which one should you actually use? WebP has been around since 2010, AVIF promises 50% better compression, and JPEG XL keeps showing up in conversations despite near-zero browser support.

Feb 10, 2026 · Updated Mar 13, 2026 · 20 min read Read Guide →
WordPress Performance

Fix "Next-Gen Formats" in WordPress (No Plugins) & Boost LCP

Boost LCP on your WordPress site by fixing "Serve images in next-gen formats" without plugins. A simple, plugin-free workflow for pre-optimizing images with Mochify before uploading to WordPress.

Feb 09, 2026 · Updated Mar 13, 2026 · 15 min read Read Guide →
Image Optimization

Jpegli Guide 2026: Why Jpegli Changes the Quality-Per-Byte Game

Boost eBay & Etsy sales with Jpegli. Get 35% better compression than MozJPEG with no quality loss. Master chroma & workflows via Mochify's encoder.

Feb 09, 2026 · 20 min read Read Guide →
Data Privacy

Privacy & Image Optimization: A Comprehensive Guide (2026)

Learn how to keep your images secure with zero-retention optimization. The only way to ensure 100% data privacy in 2026 while still getting fast, high-quality compression.

Feb 05, 2026 · Updated Mar 13, 2026 · 6 min read Read Guide →
Image Formats

Fuji HIF Files Explained: How to Convert X-T5 / X-H2 / X100VI / X-T50 HIF to JPEG

Fuji's HIF files are highly efficient and better quality at 10-bit but they're not supported everywhere, which can lead to frustration. Learn how to convert your camera's .HIF files to JPGs

Feb 01, 2026 · Updated June 4, 2026 · 5 min read Read Guide →
Free Tool

Ready to squish some images?

Try our native C++ engine for instant Jpegli, AVIF, and WebP compression.

Start Optimizing Now