GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - NeaByteLab/Image-Optimizer: A simple Express app to upload, optimize, and convert images to WebP format using lossy compression, with file size reduction and base64 encoding support.

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
screenshoot
screenshoot
 
 
views
views
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package.json
package.json
 
 
server.js
server.js
 
 

Repository files navigation

Image Optimizer 📸

This is a simple Express application for uploading and optimizing images. The images are converted to the WebP format, and their sizes are minimized using lossy compression with the help of the Sharp library.

Gemini Assistant Preview


⚙️ Features

  • 🖼️ Upload Images: Allows users to upload up to 9 images at a time.
  • ⚡ Optimize Images: Converts uploaded images to the WebP format using Sharp.
  • 📊 File Size Reduction: Shows the original and minified sizes of the images along with the percentage of size saved.
  • 🔄 Base64 Encoding: Generates a data URL for each image to easily embed the image in HTML.

🛠️ Technologies Used

  • Express: Web framework for Node.js
  • Multer: Middleware for handling file uploads
  • Sharp: High-performance image processing library
  • EJS: Templating engine for rendering HTML views

🚀 Installation

  1. Clone the repository:

    git clone https://github.com/NeaByteLab/Image-Optimizer.git
    cd Image-Optimizer
  2. Install dependencies:

    npm install
  3. Start the server:

    npm start
  4. Access the app at http://localhost:3000


📦 How to Use

  • Upload Images: Use the file input on the homepage to select images.
  • Optimization: After uploading, the images will be automatically optimized and displayed with their original size and minified size.
  • Download: The optimized images will be available in a base64-encoded format for easy embedding.

📝 License

MIT License © 2025 NeaByteLab

About

A simple Express app to upload, optimize, and convert images to WebP format using lossy compression, with file size reduction and base64 encoding support.

Topics

expressjsimage-optimizationlossy-compressionwebp-conversion

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.