hoichoi-opensource / imageresizer

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

Home Page:https://imageresizerx.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Deploy with Vercel

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 http://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

https://imageresizerx.vercel.app/

License:MIT License


Languages

Language:TypeScript 91.9%Language:HTML 5.6%Language:JavaScript 1.7%Language:CSS 0.8%