Golden Frame Generator, Create Golden Frame for given images, it also supports other frame.
Project description
Golden Frame
"กรอบทอง Generator"
Example
+ =
PS. The original picture of golden frame is K-Pop Star (Search: กรอบทอง ทรงพระเจริญ in Google, there are many variant)
Command for Above Example
golden-frame build golden_frame.png example/zhongxina_before.jpg --output=example/zhongxina_after.png
Other commands
Use golden-frame --help
Adding Images
Currently, to add images, add them directly in assets folder.
You can get its location with this command
import pkg_resources
pkg_resources.resource_filename("golden_frame", "assets")
Note that this is temporary can be overwrite when installing new version.
file_name.json Schema
{
"name": "Golden Frame ทพจร",
"pos": "122,122,620,844"
}
pos => x1,y1,x2,y2 ; Position to put pictures on, you can get these info using Paint
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
golden-frame-1.0.50.tar.gz
(2.4 MB
view hashes)
Built Distribution
Close
Hashes for golden_frame-1.0.50-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9aa5c8e14fda0b773f69f21062233fb49671fffc66239b0e19adac00007090ad |
|
MD5 | b1cd298e744f543f87da3e75f4d5a797 |
|
BLAKE2b-256 | dd7767e769fe4edacf425887a0561d18a04eb0bc1d38eafd336cb1e8460b7ac1 |