Skip to main content

Golden Frame "กรอบทอง" Generator, Create Golden Frame for given images (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.51.tar.gz (2.8 MB view hashes)

Uploaded Source

Built Distribution

golden_frame-1.0.51-py3-none-any.whl (2.8 MB view hashes)

Uploaded Python 3

Supported by

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