Extra utils for music_bg
Project description
Extra processors and variables for music_bg.
This is a plugin for music_bg package.
Plugin contents
Processors:
- Box blur;
- Gaussian blur;
- Circle;
- pop_filter
Variables:
- uuid4
Source image for all examples is: This is cover for album "SCUZZY" by Nikki Nair.
Processors
Blurs
To blur an image add this to your layer config:
{
"name": "box_blur",
"args": {
"strength": "6"
}
}
You can use gaussian blur. As an optional parameter you can adjust radius.
{
"name": "gaussian_blur",
"args": {
"radius": "5.4"
}
}
Circle processor
This processor will crop a circle out of an image. To use it add this to your conig file:
{
"name": "circle"
}
It doesn't take any args.
Pop filter
This processor splits image onto 3 color channels and places near each other.
{
"name": "pop_filter",
"args": {
"offset_x": 100,
"offset_y": 100,
"increase_factor": 1.4,
"decrease_factor": 0.8
}
}
increase and decrease factors change increasing and decreasing incdividual colors for each color chanel.
Variables
You can use "{uuid4}" or "{uuid4.hex}" in your config to generate UUIDv4.
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
Built Distribution
Hashes for music_bg_extra-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a39ebac43e60cd1cf638019c9eb603aa7d33a0a0b4baee1ac82d738cd4ecbd1 |
|
MD5 | 6c9d1c2f756f1753dbed2017dda2779f |
|
BLAKE2b-256 | deeb892cf2d4a80c6c1eecf9ee0d6a4bd5880819d50218fda770cbd57f039974 |