Image Watermarker

Image Watermarker API is a web api for watermarking image with your own picture or text in everywhere of images with your custom size, opacity, font style, margin, and etc.

Structure

http://www.you-tracker.com/API/Watermarker?imageurl=IMAGE-URL&ext;=FINAL-IMAGE-EXTENSION&quality;=IMAGE-QUALITY&aspect;=PRESERVE-ASPECT-RATIO&enlarge;=PREVENT-ENLARGEMENT&width;=IMAGE-WIDTH&height;=IMAGE-HEIGHT&w;_imageurl=WATERMARK-IMAGE-URL&w;_aspect=WATERMARK-PRESERVE-ASPECT-RATIO&w;_enlarge=WATERMARK-PREVENT-ENLARGEMENT&w;_width=WATERMARK-IMAGE-WIDTH&w;_height=WATERMARK-IMAGE-HEIGHT&w;_position=WATERMARK-IMAGE-POSITION&w;_margin=WATERMARK-IMAGE-MARGIN&w;_opacity=WATERMARK-IMAGE-OPACITY&wtext;=WATERMARK-TEXT&wtext;_position=WATERMARK-TEXT-POSITION&wtext;_margin=WATERMARK-TEXT-MARGIN&wtext;_opacity=WATERMARK-TEXT-OPACITY&wfont;_family=WATERMARK-TEXT-FONT-FAMILY&wfont;_size=WATERMARK-TEXT-FONT-SIZE&wfont;_style=WATERMARK-TEXT-FONT-STYLE&wtext;_color=WATERMARK-TEXT-COLOR

Arguments

imageurl (required) The URL of the image. The URL must be url-encoded to ensure that You-Tracker retrieves the correct link.
ext Final Image Extension (Supported Format: PNG, JPG, GIF).
Default is main image format.
quality The Quality of the image (From 1 To 100).
Default is 100.
aspect true to preserve the aspect ratio of the image; otherwise, false.
Default is false.
enlarge true to prevent the enlargement of the image; otherwise, false
Default is false.
width The width of the image.
Default is image width.
height The height of the image.
Default is image height.
w_imageurl The URL of the watermark image. The URL must be url-encoded to ensure that You-Tracker retrieves the correct link.
w_aspect true to preserve the aspect ratio of the watermark image; otherwise, false.
Default is false.
w_enlarge true to prevent the enlargement of the watermark image; otherwise, false
Default is false.
w_width The width of the watermark image.
Default is watermark image width.
w_height The height of the watermark image.
Default is watermark image height.
w_position The position of the watermark image.
Supported values (You can use name or number): Absolute = 0, TopLeft = 1, TopRight = 2, TopMiddle = 3, BottomLeft = 4, BottomRight = 5, BottomMiddle = 6, MiddleLeft = 7, MiddleRight = 8, Center = 9Default is Absolute.
w_margin The margin of the watermark image.
Supported values:
An integer value for margin all
(Example = 5)Two integer value seperated with ‘,’ for horizental and vertical margin
(Example = 10,5)

Four integer value seperated with ‘,’ for left, top, right and bottom margin (Example = 10,5,5,15)

Default is 0.

w_opacity The opacity of the watermark image (From 1 To 100).
Default is 100.
wtext The watermark text.
wtext_position The position of the watermark text.
Supported values (You can use name or number): Absolute = 0, TopLeft = 1, TopRight = 2, TopMiddle = 3, BottomLeft = 4, BottomRight = 5, BottomMiddle = 6, MiddleLeft = 7, MiddleRight = 8, Center = 9Default is Absolute.
wtext_margin The margin of the watermark text.
Supported values:
An integer value for margin all
(Example = 5)Two integer value seperated with ‘,’ for horizental and vertical margin
(Example = 10,5)

Four integer value seperated with ‘,’ for left, top, right and bottom margin (Example = 10,5,5,15)

Default is 0.

wtext_opacity The opacity of the watermark text (From 1 To 100).
Default is 100.
wfont_family The font family of the watermark text.
Example: Arial, Tahoma, Calibri, and etc.Default is Arial.
wfont_size The font size of the watermark text.
Default is 24.
wfont_style The font style of the watermark text.
Supported values (You can use name or number): Regular = 0, Bold = 1, Italic = 2, Underline = 4, Strikeout = 8Default is Regular.
wtext_color The color of the watermark text.
Example: Black, Red, Gray, Green, Blue, and etc.Default is Black.

Samples

Watermark Image
Image Url = 1.jpg
Watermark Image Url = watermark-30.png
Watermark Image Opacity = 50%
Watermark Image Position = BottomLeft
Watermark Image Margin = 5

Leave a Reply

Your email address will not be published. Required fields are marked *