Git Product home page Git Product logo

hoichoi-opensource / imageresizer Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 10.0 9.38 MB

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

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

License: MIT License

HTML 5.64% JavaScript 1.69% TypeScript 91.90% CSS 0.77%
avif avif-images hacktoberfest hacktoberfest-accepted hacktoberfest2023 image image-manager image-manipulation image-processing imageoptimizer

imageresizer's Introduction

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 .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.