Skip to content

A simple tool to resize images in different dimensions and compare file size

License

Notifications You must be signed in to change notification settings

dharmi04/imageresizer

 
 

Repository files navigation

Image Resizer

A simple Node.js application to upload images, resize them to specified dimensions or aspect ratios, and export them in both webp and avif formats.

Features

  • Upload images through a web interface.
  • Resize images based on pixel dimensions or aspect ratios.
  • Export resized images in webp and avif formats.
  • Retain and display all historically uploaded and resized images.

Prerequisites

Setup & Installation

  1. Clone the repository:
git clone https://github.com/hoichoi-opensource/imageresizer.git
cd image-resizer
  1. Install the required packages:
npm install

Running the Application

Start the server:

node server.js

Visit https://localhost:3000 in your browser to access the application.

Usage

  1. Click on the "Choose File" button to select an image.
  2. Click on the "Upload and Resize" button.
  3. The resized images in both webp and avif formats will be displayed along with their respective file sizes.

Contributing

Pull requests are welcome. Please see our CONTRIBUTING.md for guidelines on how to contribute to this project.

Checkout the current issues as well to start .

About

A simple tool to resize images in different dimensions and compare file size

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.0%
  • HTML 5.5%
  • JavaScript 1.7%
  • CSS 0.8%