Transformations overview
The Transform Media endpoint retrieves an image from a media source and applies on-the-fly transformations.
GET https://media.pixel-fiddler.com/{sourceAlias}/media/{imagePath}?{transfromations}Parameters
Section titled “Parameters”| Parameter | Description | Alias |
|---|---|---|
original | If present, returns the media file exactly as uploaded (1:1), without applying any transformation | orig |
strip | Whether to remove all metadata (EXIF, ICC profiles, etc.) from the output image. true bye default, event if parm not present | st |
width | Target width in pixels More | w |
height | Target height in pixels More | h |
mode | Resize strategy (fill, fit, pad) More | rm |
format | Output format (jpg, webp, avif, png, gif). More | f |
quality | Quality level (1–100) More | q |
background | Background color for pad mode (hex value) More | bg |
blur | Gaussian blur intensity (0–100) More | bl |
brightness | Brightness adjustment (0–100) More | br |
contrast | Contrast adjustment (0–100) More | ct |
saturation | Saturation adjustment (0–100) More | sa |
grayscale | Convert to grayscale More | gs |
sepia | Apply sepia effect More | sp |
sharpen | Sharpen intensity (0–100) More | sh |
noise | Add Gaussian noise (0–100) More | ns |
rotate | Rotate clockwise (0, 90, 180, 270) More | rt |
border.width | Width of the border in pixels More | bo.w |
border.color | Border color in hex format More | bo.c |
border.radius | Corner radius of the border in pixels More | bo.r |
text | Overlay text More | tx |
text.color | Text color (hex) More | tx.c |
text.opacity | Text opacity (0–100) More | tx.o |
text.background | Background color for text (hex) More | tx.bg |
text.background.opacity | Background opacity (0–100) More | tx.bg.o |
text.size | Text size (% of image, 1–100) More | tx.s |
text.font | Font family (e.g. Sans, Arial) More | tx.f |
text.font.size | Text font size in pixels More | tx.fs |
text.position | Text position More | tx.p |
watermark | Apply watermark by name More | wm |
watermark.opacity | Watermark opacity (0–100) More | wm.o |
watermark.size | Watermark size (% of image, 1–100) More | wm.s |
watermark.width | Watermark width in pixels More | wm.w |
watermark.height | Watermark height in pixels More | wm.h |
watermark.position | Watermark position More | wm.p |
crop | Crop strategy or focus for the image. See More | cr |
crop.width | Width of the crop area in pixels. See More | cr.w |
crop.height | Height of the crop area in pixels. See More | cr.h |
crop.object | Automatically crop around a specific object type such as a face or upper body. See More | cr.o |
crop.x | X coordinate of the crop focus for manual adjustment. See More | cr.x |
crop.y | Y coordinate of the crop focus for manual adjustment. See More | cr.y |
crop.after_resize | Whether the crop should be applied after resizing. See More | cr.ar |