Skip to content
LayfatePublic

Repository files navigation

FrameFix logo

FrameFix

Offline image alignment and enhancement for Windows.

Windows checks Latest release MIT license Windows x64

Download for Windows  ·  Quick start  ·  Documentation  ·  Report an issue


FrameFix helps you straighten tilted images, correct document perspective, and apply controlled cleanup. Review each adjustment, compare it with the original, and export a new file. Your source stays intact, and processing stays on your device.

FrameFix desktop interface showing the official logo and image editing controls

Download

Download FrameFix v0.1.0 for Windows x64

  1. Download and extract the complete ZIP.
  2. Open the extracted FrameFix folder.
  3. Run FrameFix.exe.

No Python installation is required. Keep the application folder and its files together. The portable executable is unsigned.

Platform Availability
Windows 11 x64 Packaged release; locally tested
Windows 10 x64 Not yet validated
Linux / macOS No packaged release or validation yet

See the release notes for version-specific details and limitations.

Features

Task What FrameFix provides
Align Rotation suggestions with confidence indicators and manual angle controls
Correct perspective Document-boundary detection and draggable or numeric four-corner adjustment
Crop Manual crop selection and an optional, visible border-crop proposal
Clean up Adjustable denoising and sharpening, plus a pixel-art preservation mode
Review Original/result comparison, zoom, pan, and recipe-based undo/redo
Export PNG, JPEG, and WebP output to a new file with overwrite protection
Upscale Optional, verified Swin2SR 2x inference on CPU

Import: PNG, JPEG, WebP, BMP, and supported TIFF variants. EXIF orientation is applied on import, and embedded color profiles are normalized to sRGB.

Quick start

  1. Open an image. Use the file picker or drop a file onto the canvas.
  2. Choose the image type. Select Document / page for page-boundary suggestions; General photo does not propose perspective warps.
  3. Review alignment. Apply a suggestion or set rotation manually. Adjust corners on the original image, then choose Done adjusting to review the result.
  4. Refine the image. Draw a crop, adjust cleanup, or select the pixel-art preset.
  5. Compare and export. Use View original, then export with a new filename.

Optional AI upscaling

Geometry, cleanup, and export work without an AI model. To use AI 2x, open the Upscale section and explicitly download or import the approved model. Files are checksum-verified before use; model weights are not bundled with the app.

The initial AI input limit is 65,536 pixels, with at most 512 pixels per side after geometry and crop. Larger images need a smaller crop; tiled inference is not included. AI can change fine detail, so review the result before exporting.

For a source installation, first install the optional runtime:

.venv\Scripts\python -m pip install -r requirements/ai.txt

See model provenance and licensing for the pinned artifact and inference contract.

Privacy and image handling

  • No account, image uploads, or application telemetry.
  • Images and edit recipes are not persistently cached.
  • Model downloads are explicit and do not upload your image.
  • Original files and existing output files are never overwritten.
  • Exports embed sRGB and remove source EXIF/location metadata.

Current limits

Editing uses 8-bit sRGB. Multi-frame images load the first frame/page with a warning. Inputs are limited to 40 MP / 256 MiB; render-memory guards can reject smaller images when an edit requires too much allocation.

Automatic detection is heuristic and can decline to suggest a correction. Reduced previews and full-resolution cleanup can differ in fine detail. Atomic exports need hard-link support, normally NTFS. Native processing may finish its current stage before cancellation takes effect.

Keyboard and canvas controls

Control Action
Ctrl+O Open an image
Ctrl+L Apply the current geometry suggestion
Ctrl+Z / Ctrl+Shift+Z Undo / redo
Ctrl+Shift+S Export
Hold Space over the canvas Temporarily view the original
Mouse wheel / drag Zoom / pan outside selection modes
Arrow keys on a focused corner Nudge the corner; hold Shift for a larger step

100% preview means one display pixel per reduced-preview pixel. The preview's longest source edge is capped at 1400 pixels.

Development

Use 64-bit Python 3.12 on Windows. Development and CI currently use 3.12.10.

python -m venv .venv
.venv\Scripts\python -m pip install -r requirements/dev.txt
.venv\Scripts\python -m pip install --no-deps --no-build-isolation -e .
.venv\Scripts\python -m framefix

Run the checks:

.venv\Scripts\python -m ruff check src tests scripts
.venv\Scripts\python -m ruff format --check src tests scripts
.venv\Scripts\python -m mypy src/framefix
.venv\Scripts\python -m pytest -q

Build a Windows application folder:

./scripts/build_windows.ps1

The result is dist/FrameFix/FrameFix.exe. See the developer guide for packaging and verification details.

Documentation

Guide Contents
Image pipeline Coordinates, color, alpha, memory limits, and export contracts
Architecture Modules, background jobs, and non-destructive edit recipes
Benchmarks Measured performance, hardware, and test scope
Model documentation Model origin, checksum, license, and CPU inference limits
Release process Build, package, and verify release assets
Third-party notices Dependency licenses and corresponding sources

Contributing

Bug reports and focused contributions are welcome. Include your Windows version, FrameFix version, steps to reproduce, and a shareable example when possible. Avoid posting private images or personal information.

Read CONTRIBUTING.md before submitting a change.

License

FrameFix source is licensed under the MIT License. Dependencies and optional model weights retain their own licenses; see the third-party notices and model documentation.

Releases

Packages

Contributors

Languages