https://github.com/zebrajaeger/browser-resize-tool
https://github.com/zebrajaeger/browser-resize-tool
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zebrajaeger/browser-resize-tool
- Owner: zebrajaeger
- Created: 2021-08-13T11:49:27.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-13T11:54:57.000Z (almost 4 years ago)
- Last Synced: 2025-02-07T23:43:03.061Z (3 months ago)
- Language: JavaScript
- Size: 471 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Browser resize
- Simple HQ image scaler, browser based.
- Choose the max-bounds,
- Drop some images.
- Click on preview to copy the scaled image to clipboard.Not my best work ever - but it works!

# run it
put index.html, app.css and app.js in some kind of webserver als execute it.
or
- Install node.js
- clone this project from github (or download it)
- go into directory and run
npm run develop# Thanks for code and inspiration
- https://www.smashingmagazine.com/2018/01/drag-drop-file-uploader-vanilla-js/
- Drop Down stuff- https://imagekit.io/blog/how-to-resize-image-in-javascript/
- Resize image in Browser
- https://stackoverflow.com/a/40547470
- Copy to Clipboard
- https://stackoverflow.com/a/39637827
- HQ downscale