Skip to content

Latest commit

 

History

History
88 lines (58 loc) · 3.56 KB

README.md

File metadata and controls

88 lines (58 loc) · 3.56 KB

Image Resizer

GitHub stars GitHub forks GitHub issues GitHub pull requests GitHub GitHub release (latest by date) GitHub contributors GitHub last commit GitHub top language Dependencies Code size Open Source Love

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 to the Project

We welcome contributions from everyone who is interested in helping to improve this project! Whether it's fixing bugs, adding new features, improving documentation, or spreading the word, your help is appreciated.

Here are some ways you can contribute:

  • Reporting bugs: If you find a bug, please report it by opening a new issue on GitHub.
  • Suggesting enhancements: Have an idea to make this project better? Share it with us by opening a new issue for discussion.
  • Submitting changes: Want to submit a fix or a feature? Great! Fork the repository, make your changes, and submit a pull request.

Getting Started

  1. Fork the repository: Click the 'Fork' button at the top right of this page to create your copy of the repository.
  2. Clone your fork:
  3. Create your feature branch:
  4. Make your changes: Implement the changes or improvements you propose.
  5. Commit your changes:
  6. Push to the branch:
  7. Submit a pull request: Go to your fork on GitHub and click the 'Pull Request' button to send your changes review.

Please see our CONTRIBUTING.md for guidelines on how to contribute to this project.

Checkout the current issues as well to start .