ExpandImageWide is a simple command-line tool that automatically adjusts images to a 16:9 widescreen aspect ratio by expanding the background with a blurred edge fill. It also corrects EXIF orientation to ensure images appear as intended.
- β Automatic EXIF orientation correction (fixes rotated images).
- β Expands images to 16:9 without cropping.
- β Blurs the extended background to blend seamlessly.
- β Command-line interface for quick and easy processing.
- Drag and drop an image file onto the console and press Enter.
- The tool corrects image rotation (if needed).
- It expands the image to 16:9 by filling the extra space with a blurred background.
- The processed image is saved with a `` suffix.
- .NET 8.0 or later
git clone https://github.com/yourusername/ExpandImageWide.git
cd ExpandImageWide
Then build and run:
dotnet build
cd bin/Debug/net8.0
ExpandImageWide.exe
Simply drag and drop an image into the console and press Enter.
Drag and drop image files onto this window and press Enter to process them.
Type 'exit' and press Enter to close the program.
ExpandImageWide.exe path/to/image.jpg
The processed image will be saved as:
path/to/image.processed.jpg
- JPEG (.jpg, .jpeg)
- PNG (.png)
- BMP (.bmp)
- GIF (.gif)
- TIFF (.tiff)
- Fixes Rotation
- Reads EXIF orientation metadata and applies necessary flips/rotations.
- Resizes to 16:9
- Maintains original image height.
- Expands width to fit 16:9 aspect ratio.
- Fills Extra Space
- Copies edge pixels to create a seamless extension.
- Applies Gaussian blur to the extended background.
- Centers the Image
- The original image is positioned in the center of the new 16:9 frame.
MIT License. See LICENSE for details.