Thanks to visit codestin.com
Credit goes to github.com

Skip to content

romancow/img-resizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Image Resizer

An easy to use, fully browser-side image resizer perfect for creating Instagram posts and other social media content. No server required - all processing happens directly in your browser!

✨ Features

  • πŸ–ΌοΈ Drag & Drop Upload - Simply drag images onto the app or click to browse
  • πŸ“ Multiple Size Presets - Square (1:1), Portrait (3:4), Landscape (4:3)
  • 🎨 Smart Fitting Options - Fill (crop to fit) or Fit (show entire image with background)
  • 🌈 Custom Background Colors - Choose any color for the background when using fit mode
  • πŸ’Ύ Multiple Export Formats - Save as PNG, JPEG, or WebP
  • πŸ‘€ Live Preview - See exactly how your image will look with SVG rendering
  • πŸ“± Responsive Design - Works perfectly on mobile and desktop

🌐 Try it on GitHub Pages

πŸ”„ Creating Releases

This project uses GitHub Actions to automatically create draft releases when version tags are pushed:

# Create and push a version tag
git tag v1.0.0
git push origin v1.0.0

The workflow will:

  • βœ… Create a draft release with auto-generated changelog
  • πŸ“¦ Generate a source code zip archive
  • πŸ—ƒοΈ Create a standalone HTML file with inlined CSS/JS
  • πŸ“‹ Include detailed release notes with features and usage instructions

When you publish the release, it will automatically:

πŸ› οΈ Development

The project structure is simple:

src/
β”œβ”€β”€ index.html    # Main HTML structure
β”œβ”€β”€ styles.css    # Styling and responsive design
└── script.js     # Image processing logic

About

Fully browser-side image resizer for instagram posts

Resources

Stars

Watchers

Forks

Packages

No packages published