Image Resizer

Image Resizer API is a web api for resizing image to a specified width or height on your site to save you the bother of manually resizing images and saves your users the pain of waiting for large images to load.

Structure

http://www.you-tracker.com/API/ImageResizer?ytw=IMAGE-WIDTH&yth;=IMAGE-HEIGHT&ext;=FINAL-IMAGE-EXTENSION&ytaspect;=PRESERVE-ASPECT-RATIO&ytenlarge;=PREVENT-ENLARGEMENT&ytquality;=IMAGE-QUALITY&ytimageurl;=IMAGE-URL

Arguments

ytw (required) The width of the image.
yth (required) The height of the image.
ytimageurl (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.
ytquality The Quality of the image (From 1 To 100).
Default is 100.
ytaspect true to preserve the aspect ratio of the image; otherwise, false.
Default is false.
ytenlarge true to prevent the enlargement of the image; otherwise, false
Default is false.

Sample IMG

IMG Without Using Image Resizer:
IMG Width = 352px
IMG Height = 100px

Image Width = 3229px
Image Height= 917px

Image Size = 424.64 KB

IMG With Using Image Resizer (Quality 100%):


IMG Width = 352px
IMG Height = 100px

Image Width = 352px
Image Height = 100px
Quality = 100%

Image Size = 19.47 KB

IMG With Using Image Resizer (Quality 70%):
IMG Width = 352px
IMG Height = 100px

Image Width = 352px
Image Height = 100px
Quality = 70%

Image Size = 5.51 KB

Sample Client

Image Url:
Image Width
Image Height
Preserve Aspect Ratio
Prevent Enlargement

Leave a Reply

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