Advertisement
Guest User

Untitled

a guest
Mar 16th, 2017
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. Steps:
  2.  
  3. 1. To create the background image template for all the pictures (1920x1080 & RGB)
  4. (gimp-image-new width height type)
  5. (gimp-image-new 1920 1080 RGB)
  6.  
  7. 2. To use the bucket fill tool to color the Background layer black (HTML - 000000)
  8. (gimp-context-set-background background)
  9. (gimp-context-set-background (0 0 0))
  10.  
  11. 3. To input the given text at the specified location
  12. (gimp-text-fontname image drawable x y text border antialias size size-type fontname)
  13. (gimp-text-fontname Untitled Background 100 100 "Hello" 0 TRUE 90 PIXELS "Times New Roman")
  14.  
  15. 4. To save the photo in the requested area
  16. (gimp-file-save run-mode image drawable filename raw-filename)
  17. (gimp-file-save NONINTERACTIVE Untitled Background "c:\Users\Name\Desktop\RequiredFolder\SectionA" "")
  18.  
  19. Raw Code:
  20.  
  21. (gimp-image-new 1920 1080 RGB)
  22. (gimp-context-set-background (0 0 0))
  23. (gimp-text-fontname Untitled Background 100 100 "Hello" 0 TRUE 90 PIXELS "Times New Roman")
  24. (gimp-file-save NONINTERACTIVE Untitled Background "c:\Users\Name\Desktop\RequiredFolder\SectionA" "")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement