Cartoonizer
Cartoonizer is a Python library that converts normal pictures into cartoon-like images.
Installation
To install the library, use pip:
pip install cartoonizer-thellmike
Project Structure
Ensure your project directory looks like this:
my_project/
├── input_image.jpg
├── output_image.png
├── use_cartoonizer.py
└── venv/ # Optional, if you are using a virtual environment
Usage
Create a Python script named use_cartoonizer.py and add the following code:
from cartoonizer import apply_cartoon_effect
# Path to the input image
input_image_path = 'input_image.jpg'
# Path to save the output cartoon image
output_image_path = 'output_image.png'
# Apply the cartoon effect
apply_cartoon_effect(input_image_path, output_image_path)
print(f"Cartoon effect applied and saved to {output_image_path}")
Running the Script
Make sure you have an image named input_image.jpg in the same directory or provide the correct path to an image.
from cartoonizer import apply_cartoon_effect
# Path to the input image
input_image_path = 'input_image.jpg'
# Path to save the output cartoon image
output_image_path = 'output_image.png'
# Apply the cartoon effect
apply_cartoon_effect(input_image_path, output_image_path)
print(f"Cartoon effect applied and saved to {output_image_path}")
Run the script:
python use_cartoonizer.py
Metadata
Release files for cartoonizer-thellmike 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cartoonizer_thellmike-0.1.1.tar.gz | 3.3 kB | Without provenance | Details for cartoonizer_thellmike-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cartoonizer_thellmike-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for cartoonizer_thellmike-0.1.1-py3-none-any.whl |
Total release size: 7.6 kB
Release files / cartoonizer_thellmike-0.1.1.tar.gz
| Download URL | cartoonizer_thellmike-0.1.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d35f4d1960dd0b674c819fbeb99dc6208cd7f9aa1c7e4d088389e4aed6a2bf99
|
|
BLAKE2b-256 checksum How to use checksums |
f9548076e02b607b2b6ded421125ec3b08c4a51a6571ddb82cee1ca2892067fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Release files / cartoonizer_thellmike-0.1.1-py3-none-any.whl
| Download URL | cartoonizer_thellmike-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
697e129dbd2c226ffe613d4a3a3e934372d85c42087f0b5824042eeafecbb2b1
|
|
BLAKE2b-256 checksum How to use checksums |
a66b86760b277f2ebd87f1d483df57e5831ca2491692698c2155e155fd2065db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Security for cartoonizer-thellmike 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.