image caption

Allows you to add caption text to the background image with specified size and font.


Example

Running this code will add a caption to image "E:\Example Folder\Picture 1.jpg" with the following properties:

  • Font Size: 24
  • Font Color: FFFFFF
  • Font Style: Bold
  • Outer Text Color: 000000
  • Outer Text Size: 5.0
  • Alignment: Center
  • Coordinates: (X=5, Y=5)
  • Opacity: 100%

Saving it to "E:\Saved Folder\Sample.png".

plugin command("Image Automation.dll", "image caption", "E:\\Example Folder\\Picture 1.jpg", "E:\\Saved Folder\\Sample.png", "Sample Text", "Comic Sans MS", 24, "FFFFFF", "Bold", 000000, 5.0, "Center", "Far", 5, 5, "Auto", "Auto", "Direction Vertical", 100)

Was this helpful?

Previous Article

image brightness