Vector-to-Colorless

Vector-to-Colorless is a Python script designed to convert vector images into colorless, grayscale versions with enhanced edges. It leverages OpenCV for image processing, handling alpha channels and producing clean, uniform results suitable for various applications.

Explore the Project

Source code available on GitHub: Source on GitHub

Features

  • - Grayscale Conversion: Converts vector images to clean, uniform grayscale.

  • - Edge Enhancement: Detects and sharpens edges for crisp output.

  • - Alpha Channel Support: Handles transparency correctly.

  • - Batch Processing: Processes all images in the input folder.

  • - OpenCV & NumPy: Leverages powerful libraries for image manipulation.

How to Use

  1. Place your vector images in the input folder.
  2. Run the script:
    python main.py
  3. Processed images will be saved in the output folder.

Examples

Example 1
Example 2
Example 3