"กรอบทอง Generator"
PS. The original picture of golden frame is K-Pop Star (Search: กรอบทอง ทรงพระเจริญ in Google, there are many variant)
golden-frame build golden_frame.png example/MasterIceZ.jpg --output=example/New-MasterIceZ.png
Use golden-frame --help
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
Adding this properties allow images to be stretch into the same aspect ratio as the input image