Skip to content
FunCoding

image

Image processing workflow guide for format selection, resizing, cropping, compression, metadata, transparency, color profiles, and destination-specific exports. Covers web, social, ecommerce, photography, branding, screenshots, and accessibility.

Star
859
Last commit
Aug 20, 2026

skills/image/SKILL.md

View on GitHub

Image

Image processing workflow guide for destination-specific exports.


When to Use

Use when the main artifact is an image file or visual asset, especially when:

  • Format choice matters
  • Resizing, cropping, compression needed
  • Metadata, transparency, color profile concerns
  • Destination-specific requirements (web, social, ecommerce, print)

Quick Reference

SituationLoad FileWhy
Web optimization, responsive images, lazy loading, SVGweb.mdAvoid CLS/LCP mistakes, oversized assets
Color profiles, metadata, RAW, print workflowsphotography.mdProtect color intent, print readiness
Social platform dimensions, safe zones, bannerssocial.mdPrevent unsafe crops, recompression surprises
Product photos, marketplace standardsecommerce.mdPreserve zoom detail, white-background compliance
Logos, favicons, SVGs, app iconsbranding.mdProtect small-size legibility, SVG consistency
UI screenshots, docs captures, redactionscreenshots.mdAvoid blurry captures, privacy leaks
Alt text, text-in-image risk, chartsaccessibility.mdKeep images usable and compliant
ImageMagick and Pillow commandscommands.mdUse concrete commands once decision is clear

Fast Workflow

  1. Identify asset type: photo, screenshot, UI capture, logo, diagram, social card, product image, print source
  2. Identify destination: web page, social upload, marketplace gallery, print handoff, internal archive
  3. Decide preservation: vector, layered, or RAW vs flattened
  4. Inspect file: dimensions, aspect ratio, orientation, transparency, color profile, metadata
  5. Load destination-specific file if needed
  6. Make minimum safe transformation: crop, resize, convert, compress, strip/preserve metadata, export
  7. Validate in destination context

Asset-Type Defaults

Asset TypeBest Starting PointWatch Out For
PhotoWebP or AVIF for web, JPEG fallback, layered/RAW masterColor profile shifts, overcompression
Product photoJPEG or WebP, high-res clean masterWhite background, edge cleanup, zoom detail
Screenshot/UIPNG or lossless WebPJPEG blur, privacy leaks, unreadable text
Logo/iconSVG master, PNG fallbacks onlyTiny details, unsupported SVG pipelines
Social/OG cardPNG or high-quality JPEGUnsafe crop, tiny text, double compression
Diagram/chartSVG when possible, PNG when raster neededThin lines, low contrast
Print imageTIFF or high-quality JPEG with correct profileWrong profile, wrong physical size, no bleed

Core Rules

1. Choose Workflow by Destination

  • Web delivery, social export, ecommerce prep, print output, and archive preservation are different jobs
  • Screenshot, product photo, logo, infographic, and print asset should not use same format/compression
  • If destination is specialized, read matching file before locking decisions

2. Pick Formats by Content

ContentFormat
PhotosAVIF or WebP (modern web), JPEG (compatibility)
Screenshots, UI, diagrams, text-heavyPNG or lossless WebP
Logos, icons, simple illustrationsSVG when supported
Transparency neededPNG, WebP, or AVIF (not JPEG)
AnimationWebP, MP4, or WebM (not GIF)
Master/archiveTIFF, PSD, layered formats, RAW

3. Preserve Color, Transparency, Detail

  • Web assets: sRGB unless destination needs otherwise
  • Stripping ICC profiles can shift colors
  • Transparent assets need alpha-safe formats
  • Repeated lossy saves compound damage

4. Resize, Crop, Compress in Right Order

  1. Decide aspect ratio
  2. Crop
  3. Resize
  4. Compress
  • Do not upscale by default
  • Retina: 2x is normal, 3x should be deliberate
  • Social cards, ecommerce slots crop aggressively — protect focal area

5. Metadata and Orientation

  • EXIF orientation can rotate images unexpectedly
  • Public web assets should strip GPS and unnecessary camera metadata
  • Copyright, author metadata may need preservation

6. Practical Budgets

Image TypeSize Budget
Hero imageUnder 200 KB
Content imageUnder 100 KB
ThumbnailUnder 30 KB
Raster iconUnder 5 KB
  • Reserve layout space with explicit dimensions
  • Do not lazy-load LCP/hero image

7. Validate Against Destination

  • Platform specs are not interchangeable
  • Ecommerce: background consistency, edge cleanliness, zoom detail
  • Social: safe composition for different feed crops
  • Print: physical size, bleed, color handling

8. Batch Safely

  • Work from originals, not already-optimized outputs
  • Spot-check before batch processing
  • Keep per-destination exports separated from masters

Common Traps

MistakeConsequence
Saving transparent images as JPEGLost alpha channel
JPEG for screenshotsBlurry text
Wrong aspect ratio with correct dimensionsUnsafe crop
Recompressing same JPEG multiple timesQuality degradation
Stripping metadata blindlyBroken orientation, lost licensing info
Forgetting sRGBColor shifts between tools
Using SVG where platform doesn't support itBroken display
Embedding critical text in imagesAccessibility issues, hard to update
Rasterizing logo too earlyBlurry exports forever

When to Use This Skill

  • Optimize images for web delivery
  • Prepare product photos for ecommerce
  • Create social media assets
  • Export for print
  • Process screenshots for documentation
  • Handle logos and icons correctly
  • Ensure image accessibility

  • image-edit — Masking, cleanup, inpainting, targeted edits
  • image-generation — AI image generation
  • photography — Capture, color, print workflows
  • svg — Vector graphics workflows
  • ecommerce — Marketplace product requirements

Similar Skills

blender-motion-state-inspection

AFaffaan-m/ECC278k4,046 new stars in the last 7 days

Official

slack-gif-creator

ANanthropics/skills181k1,119 new stars in the last 7 days

Featured

algorithmic-art

Generate flow fields and particle systems with p5.js, using seeded randomness for original algorithmic art.

ANanthropics/skills181k1,119 new stars in the last 7 days

thinking-out-loud

SHShubhamsaboo/awesome-llm-apps141k808 new stars in the last 7 days

moneyprinterturbo-video

HAharry0703/MoneyPrinterTurbo130k1,722 new stars in the last 7 days

complain

PApaperclipai/paperclip101k2,948 new stars in the last 7 days