Ayeri Knowledge Base & Documentation

Documentation & User Guide

Master in-browser image optimization, custom target file sizing, social media presets, batch processing, and offline PWA features.

Getting Started with Ayeri

High-speed client-side image processing in four simple steps

1

Upload Your Images

Drag and drop single or multiple photos into the dropzone, or click "Browse Files". Supports PNG, JPG, JPEG, WebP, AVIF, and BMP up to 50MB per file.

2

Configure Format & Quality

Select your preferred output format. Use the Quality Preset (e.g. 85%) or type an exact Target File Size in KB (e.g. 250 KB) for automated sizing.

3

Live Before/After Inspection

Slide the interactive split handle horizontally to inspect pixel clarity, sharpness, and compression artifacts in real time before finalizing your download.

4

Download Single or Batch ZIP (With Tracking)

Click "Download Image" to save the active photo, or hit "Download All as ZIP" to export all processed images packed into a single zip archive. Ayeri automatically marks downloaded files with a "✓ Downloaded" badge and green accent so you never lose track of saved items.

Pro Tip: All compression computations happen locally inside your browser's Web Worker and Canvas memory. Your files are never uploaded to any remote server, giving you zero upload wait times and 100% complete privacy.

Supported Formats & Conversion Engine

Deep dive into Ayeri's 6 output formats and optimization logic

FormatCompression TypeTransparencySize SavingsBest Use Case
WebPLossy & Lossless✓ Yes60% – 85%Modern websites, high performance, Core Web Vitals
AVIFAdvanced AV1 Lossy✓ Yes70% – 90%Maximum compression ratio, cutting-edge mobile apps
JPG / JPEGDiscrete Cosine Lossy✕ No50% – 75%Universal legacy compatibility, camera photos
PNGLossless Deflate / Palette✓ Yes20% – 50%Logos, UI badges, vector graphics, transparent assets
BMPUncompressed 24-bit✕ NoOriginal RAWWindows legacy systems, industrial imaging, raw RGB bitmaps

Smart Size-Guaranteed PNG Conversion

When converting a continuous-tone photograph (JPG) into a lossless format (PNG), standard canvas encoders typically blow up the file size because PNG stores pixels losslessly. Ayeri features an advanced adaptive quantization & downsampling guard: it strictly enforces that the resulting PNG file size never exceeds the original file size (compressedSize <= originalSize), preserving sharp edge details while preventing bloated downloads.

Target File Size (Max KB) Tuning

Compress images to fit government portals, job applications & email caps

Many online portals (such as university admissions, passport applications, job boards, and email systems) require files to be strictly under a specific size (e.g. "Max 200 KB" or "Under 500 KB"). Manually guessing the quality slider until it reaches that size is tedious.

How Ayeri's Target Size Engine Works

  • Target Size Input: Enter your desired threshold in the "Target Size (KB)" field in the compressor toolbar.
  • Binary Iterative Solver: The engine performs an automated multi-pass convergence search, testing quality tiers between 10% and 95% to find the highest possible visual clarity that remains strictly below your requested limit.
  • Dimension Safeguard: If the target size is extremely low (e.g., 50 KB for a 4K photo), the engine intelligently scales canvas dimensions proportionally so the image remains distortion-free.

Built-in Editor & Social Presets

Resize, rotate, flip, and apply color corrections before compression

Social Media Dimension Presets

One-click standard crop sizes for Instagram Post (1:1), Instagram Story (9:16), Facebook Cover (16:9), Twitter Header, and YouTube Thumbnail.

Aspect Ratio Locked Resizing

Adjust width or height directly. When the link icon is enabled, the reciprocal dimension automatically adjusts to maintain exact original proportions without stretching.

90° Rotation & Mirror Flipping

Correct orientation errors with single-click 90-degree left and right rotation. Flip horizontally for mirror portraits or vertically for reflections.

Dynamic Color Filters & Brightness

Apply instant visual filters: Grayscale, Sepia, High Contrast, Vibrant Saturation, Invert, and Hue Rotation, or adjust brightness from 0% to 200%.

Pro Media Studio & Developer Tools

5 advanced client-side utilities for privacy, security, responsive web, and styling

🛡️

1. EXIF Metadata & GPS Geolocation Sanitizer

Open Tool

Smartphone cameras automatically embed sensitive device data and precise GPS coordinates into every picture. Ayeri's low-level DataView binary parser reads JPEG APP1 / TIFF markers, identifies camera make, model, datetime, and latitude/longitude, and provides a 1-click canvas re-encoding pipeline to purge all metadata completely.

Detected MetadataCamera Model, Lens profile, Serial numbers, Exposure settings, Exact GPS Lat/Lon coordinates.
Instant Sanitized DownloadClick "Strip All EXIF & GPS Data" to immediately download a private copy (_clean.jpg) with 0 server uploads.
🔒

2. Watermark Studio & Anti-Theft Security Tiling

Open Tool

Protect original photography, digital art, and commercial product catalogs from unauthorized scraping and social reposting. Comes with a default high-visibility "© Ayeri" watermark and bicubic anti-aliasing to preserve 100% original image quality.

  • Single Placement Mode: Position watermark cleanly in Center, Top-Left, Top-Right, Bottom-Left, or Bottom-Right.
  • Diagonal Tiled Security Pattern: Generates a full-canvas 45° repeating watermark grid with configurable tile spacing and opacity, preventing content scrapers from cropping logos out.
  • Instant High-Res Export: Download watermarked photos immediately in original resolution or apply changes directly to the studio workspace.
⚡

3. Responsive <picture> & Multi-Res Srcset Generator

Open Tool

Optimize website Largest Contentful Paint (LCP) and mobile bandwidth by serving appropriately sized images for every viewport.

Automated Multi-Resolution RendersAuto-renders 480w (Mobile), 768w (Tablet), 1200w (Desktop), and 1920w (2x Retina) versions simultaneously.
Ready-to-Paste HTML5 CodeGenerates complete <picture> tags prioritizing modern AVIF/WebP formats with fallback <img> elements and sensible sizes attributes.
Batch ZIP ExportPackage all generated sizes for all enabled formats into a single zip file with 1 click.
🎨

4. Dominant Color Palette Extractor & Tailwind Utility Mapper

Open Tool

Designed for UI/UX designers and frontend developers creating contextual hero backgrounds, card accents, and theming from hero photography.

Median-Cut Color QuantizationExtracts top 4, 6, or 8 dominant color clusters with exact visual presence percentages.
Tailwind CSS & CSS VariablesMaps each color to the closest Tailwind palette utility (e.g. slate-800, sky-500) and generates full :root CSS variables.
⚡

5. Base64 Data-URI Converter

Open Tool

Embed small icons, loading skeletons, and CSS background graphics directly inside stylesheets and HTML templates to eliminate extra HTTP requests.

4 One-Click Export Formats
  • Full URI: data:image/webp;base64,...
  • CSS Background: background-image: url('data:image/...');
  • HTML Image Tag: <img src="data:image/..." alt="image">
  • CSS Custom Property: --bg-image: url('data:image/...');

Mobile Installation (PWA) & Offline Use

Use Ayeri as a full-screen mobile app that works without internet

Installing on Android (Chrome / Edge / Samsung)
  1. Open Ayeri in Google Chrome or your default Android browser.
  2. Tap the floating "Install Ayeri App" banner at the bottom of the screen, or tap the three dots (⋮) in the top-right.
  3. Select "Install app" or "Add to Home screen".
  4. The app icon will be added to your home screen and app drawer, launching in native standalone mode.
Installing on iPhone / iPad (Safari)
  1. Open Ayeri in Safari on your iPhone or iPad.
  2. Tap the Share button located in the bottom toolbar.
  3. Scroll down the share sheet and tap "Add to Home Screen" .
  4. Tap Add in the top-right corner to save Ayeri directly to your iPhone desktop.

True Offline Compression

Thanks to Ayeri's integrated Service Worker (/sw.js), all application scripts, styling, and icon assets are securely cached on your device. Once installed, you can launch Ayeri and compress photos on airplanes, remote locations, or anywhere with zero cellular connection.

Privacy & Security Guarantee

Zero server uploads, zero logs, 100% private in-browser memory

Unlike traditional online image compression websites that upload your personal pictures, receipts, or medical scans to third-party cloud servers, Ayeri runs 100% in your browser client:

No Server Uploads

Image bytes never leave your device RAM or CPU.

Zero Data Retention

Files vanish immediately when the tab is closed.

GDPR & HIPAA Compliant

Safe for confidential, legal, and financial documents.

Frequently Asked Questions

Quick answers to common questions about Ayeri

Ayeri leverages the modern browser HTML5 Canvas API and WebAssembly blobs. When you add an image, the browser decodes it directly in memory, applies resizing, color transforms, or compression matrices, and outputs a downloadable Blob URL locally. No data packets ever leave your computer or phone.

Ready to Compress Your Images?

Enjoy zero quality loss, fast batch exports, and 100% private in-browser optimization.

Launch Ayeri Compressor