Rastermill is a fast, portable image processing tool for server-side code. It helps you convert images between formats (like turning HEIC photos into JPEG), resize them to fit your needs, and automatically choose the best output format based on whether your images have transparency. The tool works quickly by reading image headers directly, and can fall back to standard computer tools when handling special image formats. It's designed to be safe with built-in limits on how large of images it will process.
How It Works
Your server receives photos in various formats like HEIC, PNG, or JPEG that need resizing or converting.
You create a processor with settings that match your needs, like maximum image sizes to keep everything running smoothly.
Before loading entire photos into memory, you can quickly check their size, format, and whether they have transparent areas.
You resize photos to fit your website, convert HEIC files to JPEG for compatibility, or optimize images for faster loading.
You always want JPEG or PNG output
Let it automatically pick the best format for your image
You receive perfectly sized, converted images with all the details you need about what happened during processing.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.