Skip to main content

Image preprocessing library with filters and templates

Project description

IMAGE PREPROCESSING LIBRARY

License: MIT Python 3.7+

[Project Status : Still Under Development]

This Python library provides a simple, code-based interface for apply various image editing features and predefined templates to pictures.

📋 Table of Contents

FEATURES

The library currently include four primary image editing features and three prepared editing templates for quick application.

Editing Features (Manual Use)

  • [Feature 1]: Change Brightness
  • [Feature 2]: Adjust Saturation
  • [Feature 3]: Adjust Sharpness
  • [Feature 4]: Adjust Shadow

Predefined Templates (Quick Use)

  • |Template A|: Golden Hour
  • |Template B|: Gritty Contrast
  • |Template C|: Pastel Matte

Installations

Option 1: From GitHub (Recommended)

pip install git+https://github.com/wamos0922/OSFPLibrary.git

Option 2: From Source (For Development)

  1. Open your Command Prompt (CMD) and navigate to your preferred working directory

  2. Clone the OSFPLibrary repository:

    git clone https://github.com/wamos0922/OSFPLibrary.git

  3. Navigate into the OSFPLibrary directory:

    cd OSFPLibrary

  4. Install the package:

    pip install -e .

  5. Back to working directory:

    cd ..

  6. Clone the OSFPDemo repository:

    git clone https://github.com/wamos0922/OSFPDemo.git

  7. Navigate into the OSFPDemo folder:

    cd OSFPDemo

  8. Run the demo.py file:

    python demo.py

Requirements

  • Python 3.7 or higher
  • Pillow (PIL) 9.0.0 or higher

🧪 Testing

Run tests with pytest:

# Install dev dependencies
pip install -e ".[dev]"

# Run all tests
pytest

# Run with coverage
pytest --cov=ossimg tests/

Contributing

If you're interested in contributing to this project, please feel free to fork the repository and submit a pull request! See CONTRIBUTING.md for more detail.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ossimg-2.0.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ossimg-2.0.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file ossimg-2.0.0.tar.gz.

File metadata

  • Download URL: ossimg-2.0.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for ossimg-2.0.0.tar.gz
Algorithm Hash digest
SHA256 fc9d82b968762b821b1a4287d47053b27b231b67232ce7bbccbd07e649b919c4
MD5 cd98bba388cb73afd1d2a1491e27d1b3
BLAKE2b-256 3ec9e1e878cb9879c9e1a80dcb298f06e5bf3a73d2f7db94812921407ffa9b1e

See more details on using hashes here.

File details

Details for the file ossimg-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: ossimg-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for ossimg-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad344ac7236cdd6d83d9f97d320ae381abf8e425e44bc41dc5548ac74e46a5ea
MD5 a03e96cd1a20c1eb64790627c2394ea2
BLAKE2b-256 43f808a1cfa8ce2f72e63fc485b1006a188d7c4456272455b99ce61be2b1ad78

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page