Shrink a photo to fit a strict file size requirement for an online form.
Compress an image while previewing the result before downloading.
Resize images without uploading them to any server.
| shayansaha85/sizefoto | 0xradioac7iv/tempfs | 52191314/web-agent-proxy-sdk | |
|---|---|---|---|
| Stars | 0 | 0 | 0 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | easy | moderate | moderate |
| Complexity | 1/5 | 3/5 | 4/5 |
| Audience | general | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
SizeFoto is a small web app that resizes and compresses an image until its file size lands within a specific range in kilobytes, such as between 50 and 100 KB. This is useful for situations like online forms or document submissions that require a photo to fit within a strict file size limit rather than just being small. Everything happens directly in the browser using the HTML5 Canvas API, so no image is ever uploaded to a server. The user picks minimum and maximum size bounds, and the app repeatedly adjusts the image quality and, if needed, its dimensions until the result fits within those bounds. If an image starts out smaller than the minimum size, the app can also scale it up to meet the lower bound. The interface shows a live preview of both the original and processed image along with their file sizes, and offers a one click download once processing is done. It is built to work well on both desktop and mobile screens. The project is built with React 18, TypeScript, Vite as the build tool, and Tailwind CSS for styling, with Lucide React used for icons. A live version is hosted online, and running it locally requires Node.js version 18 or higher along with npm, yarn, or pnpm. After cloning the repository, a developer installs dependencies with npm install and starts the development server with npm run dev, which serves the app locally, usually at localhost port 5173. The project is released under the MIT license, meaning it can be used freely, including for commercial purposes, as long as the original copyright notice is kept.
SizeFoto is a browser-based tool that resizes and compresses images to fit a specific KB file size range, entirely on your device.
Mainly TypeScript. The stack also includes React, TypeScript, Vite.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly general.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.