A fast, private image resizer and optimizer that processes images directly in your browser without any server uploads.
Image Resizer is a web application that allows you to resize, compress, and optimize your images directly in your browser. Unlike traditional image processing services, this tool processes everything client-side, ensuring your images never leave your device, providing complete privacy and security.
- Client-Side Processing: Images never leave your device, all processing happens locally in your browser
- Multiple Format Support: Convert between JPEG, PNG, WebP, and AVIF formats
- Size Control: Specify target file size or dimensions for precise control
- Advanced Compression Options: Fine-tune quality, compression effort, and tolerance settings
- Format Auto-Selection: Intelligently chooses the best format based on your content and target size
- Real-Time Statistics: See compression results and file size reduction instantly
- Drag & Drop Interface: Easy-to-use interface for uploading images
- URL Import: Import images directly from URLs
- Responsive Design: Works seamlessly on desktop and mobile devices
- Optimize images for websites to improve page load times
- Reduce file size for email attachments
- Prepare images for social media upload
- Convert between different image formats
- Resize images for specific dimensions needed for platforms or applications
- Node.js 16.x or higher
- npm or yarn
# Clone repository
git clone https://github.com/killcod3/image-resizer.git
# Navigate to the project directory
cd image-resizer
# Install dependencies
npm install# Development mode
npm run dev
# Production build
npm run build
# Start production server (if needed)
npm startThis application is built as a static site and can be deployed to any static hosting provider.
- Push your code to a GitHub repository
- Sign up for a Netlify account
- Create a new site from Git
- Select your repository
- Configure build settings:
- Build command:
npm run build - Publish directory:
out
- Build command:
- Deploy the site
- Drag and drop interface
- File browser selection
- URL import capability
- Support for all major image formats
- Target file size control
- Quality adjustment
- Dimension resizing with aspect ratio preservation
- Format conversion
- Advanced compression settings
- Side-by-side comparison
- Size reduction statistics
- One-click download
- Preview of processed image
- Frontend Framework: Next.js with React 18
- Language: TypeScript
- Styling: Tailwind CSS
- UI Components: shadcn/ui
- Icons: Lucide React
- State Management: React Hooks
- Build Tool: Next.js build system
- Deployment: Static export (compatible with Netlify, Vercel, etc.)
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
- Maintain privacy-first approach (no server uploads)
- Ensure browser compatibility
- Focus on performance and optimization
- Follow existing code style
This project is licensed under the MIT License - see the LICENSE file for details.
Jawad - GitHub Profile
Project Link: https://github.com/killcod3/image-resizer
Made with ❤️ by Jawad