Skip to content

Latest commit

 

History

History
218 lines (166 loc) · 7.56 KB

File metadata and controls

218 lines (166 loc) · 7.56 KB

ToolsForImage

Note: A hosted version of this tool is available for free (and ad-free) at https://toolsforimage.com/

A multilingual web application that provides a suite of image processing tools. Built with Flask and Python, this application offers various image manipulation capabilities through an intuitive web interface.

License: MIT Python 3.8+ Flask GitHub issues GitHub stars PRs Welcome

Table of Contents

Features

  • Multi-language Support: Available in English, Spanish, French, Chinese, and Hindi
  • Image Processing Tools: Various image manipulation and conversion capabilities including:
    • Image compression
    • Format conversion
    • Resize and crop
    • Watermarking
    • Background removal
    • Image effects and filters
    • And more...
  • Web-based Interface: No installation required, works directly in your browser
  • Clean and Modern UI: User-friendly interface with responsive design
  • Privacy-Focused: All processing happens locally or temporarily - no data is stored

Prerequisites

  • Python 3.8 or higher
  • pip (Python package manager)
  • Virtual environment (recommended)

Installation

  1. Clone the repository:
git clone https://github.com/mlbrothers/ToolsForImage-OSS.git
cd ToolsForImage-OSS
  1. Create and activate a virtual environment:
# On Windows
python -m venv venv
venv\Scripts\activate

# On macOS/Linux
python3 -m venv venv
source venv/bin/activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up environment variables:
# Create a .env file with necessary configuration
cp .env.example .env
# Edit .env with your settings

Running the Application

Development Mode

python app.py

The application will be available at http://localhost:5000

Production Deployment

For production deployment, it's recommended to use a WSGI server like Gunicorn:

gunicorn -w 4 -b 0.0.0.0:8000 app:app

Docker Deployment

Build and run the Docker container:

# Build the image
docker build -t toolsforimage .

# Run the container
docker run -p 8000:8000 toolsforimage

Project Structure

ToolsForImage-OSS/
├── app.py                   # Main Flask application
├── all_blog_data.py         # Blog data configuration
├── requirements.txt         # Python dependencies
├── Dockerfile              # Docker configuration
├── .env.example            # Environment variables template
├── .gitignore              # Git ignore rules
├── LICENSE                 # MIT License
├── README.md               # This file
├── CONTRIBUTING.md         # Contribution guidelines
├── CODE_OF_CONDUCT.md      # Code of conduct
├── SECURITY.md             # Security policy
├── .github/                # GitHub templates
│   ├── ISSUE_TEMPLATE/     # Issue templates
│   └── pull_request_template.md
├── static/                 # Static assets (CSS, JS, images)
│   ├── styles.css
│   └── ...
└── templates/              # HTML templates
    ├── en/                 # English templates
    ├── es/                 # Spanish templates
    ├── fr/                 # French templates
    ├── zh/                 # Chinese templates
    └── hi/                 # Hindi templates

Available Tools

  • Image Compression: Reduce file size while maintaining quality
  • Image Resize: Change image dimensions
  • Format Conversion: Convert between JPEG, PNG, WebP, GIF, and more
  • Image Rotation: Rotate images by any angle
  • Watermarking: Add text or image watermarks
  • Image Effects: Apply filters and effects
  • Crop Image: Crop images to desired dimensions
  • Blur Face: Privacy protection by blurring faces
  • Remove Background: Automatic background removal

Contributing

We welcome contributions from the community! Whether it's bug fixes, new features, documentation improvements, or translations, your help is appreciated.

Please read our CONTRIBUTING.md for detailed guidelines on:

  • How to report bugs
  • How to suggest enhancements
  • Development setup
  • Code style guidelines
  • Pull request process
  • Adding new languages
  • Adding new image tools

Quick start for contributors:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Code of Conduct

This project adheres to a Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to burstneuron1729@gmail.com.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Copyright (c) 2025 ToolsForImage Contributors

Support

If you encounter any issues or have questions:

Security

If you discover a security vulnerability, please send an email to burstneuron1729@gmail.com instead of opening a public issue. We take security seriously and will respond promptly.

Acknowledgments

  • Built with Flask - Python web framework
  • Pillow - Python Imaging Library for image processing
  • ONNX Runtime - For machine learning-based background removal
  • image-conversion by WangYueLue - Client-side image conversion
  • Google Fonts - Lato and Inter fonts
  • All our amazing contributors

Roadmap

  • Add more image processing tools
  • Improve mobile responsiveness
  • Add batch processing capabilities
  • Add API endpoints for programmatic access
  • Add more language translations
  • Implement user preferences/settings
  • Add image editing history/undo functionality

Star History

If you find this project useful, please consider giving it a ⭐ on GitHub!


Made with care by the ToolsForImage community | Report Issues | Contribute