- Load and preview images before processing
- Resize images by specifying new dimensions
- Maintain aspect ratio with a linking option
- Rotate images by 90°
- Flip images horizontally or vertically
- Save resized images in different formats (e.g., PNG)
- Simple and intuitive user interface
It's built using multiple technologies:
- Tauri: Provides a lightweight and secure framework for building cross-platform desktop applications using web technologies.
- Rust: Acts as the backend for Tauri, handling system interactions, file management, and PDF processing with high performance and safety.
- JavaScript: Powers the frontend logic and interactivity of the application.
- React: Used to build the user interface, ensuring a responsive and modern experience.
Before downloading the repo, ensure you have the following installed on your system:
-
Node.js (Latest LTS version recommended)
-
Rust (Required for Tauri development)
-
Cargo (Rust package manager, installed with Rust)
-
Tauri CLI (Install with cargo install tauri-cli)
To install MagicResizer, clone this repository and install the dependencies:
git clone https://github.com/AndreaSillano/MagicPdf.git
cd MagicResizer
npm install
cd src-tauri
cargo build
Run the application in development mode with the following command:
npm run tauri dev
To build the MagicResizer executable for your platform, run the following command:
npm run tauri build
This will generate platform-specific binaries inside the src-tauri/target/release directory.