Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Steps:
- 1. To create the background image template for all the pictures (1920x1080 & RGB)
- (gimp-image-new width height type)
- (gimp-image-new 1920 1080 RGB)
- 2. To use the bucket fill tool to color the Background layer black (HTML - 000000)
- (gimp-context-set-background background)
- (gimp-context-set-background (0 0 0))
- 3. To input the given text at the specified location
- (gimp-text-fontname image drawable x y text border antialias size size-type fontname)
- (gimp-text-fontname Untitled Background 100 100 "Hello" 0 TRUE 90 PIXELS "Times New Roman")
- 4. To save the photo in the requested area
- (gimp-file-save run-mode image drawable filename raw-filename)
- (gimp-file-save NONINTERACTIVE Untitled Background "c:\Users\Name\Desktop\RequiredFolder\SectionA" "")
- Raw Code:
- (gimp-image-new 1920 1080 RGB)
- (gimp-context-set-background (0 0 0))
- (gimp-text-fontname Untitled Background 100 100 "Hello" 0 TRUE 90 PIXELS "Times New Roman")
- (gimp-file-save NONINTERACTIVE Untitled Background "c:\Users\Name\Desktop\RequiredFolder\SectionA" "")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement