---
title: "Transform"
canonical: https://www.graphicsmill.com/samples/tags/transform
product: "Graphics Mill"
---

# Transform

Image transforms and effects

- [Browse all samples](<https://www.graphicsmill.com/samples/index_md>)

## Samples

- [Adjust Lightness (RGB)](<https://www.graphicsmill.com/samples/ColorManagement/LabColorSpace/AdjustLightnessRgb_cs_md>): Adjusts image brightness by modifying all RGB channels.
- [Adjust Lightness Lab](<https://www.graphicsmill.com/samples/ColorManagement/LabColorSpace/AdjustLightnessLab_cs_md>): Adjusts image brightness by modifying the Lab lightness channel.
- [Assemble Pipeline manually](<https://www.graphicsmill.com/samples/LargeImages/PipelineAPISyntax/BranchedPipeline_cs_md>): Shows how to manually assemble and run a simple image processing pipeline using receivers instead of the Pipeline class.
- [Autorotate](<https://www.graphicsmill.com/samples/Transforms/RotateAndFlip/Autorotate_cs_md>): Rotates an image automatically using EXIF orientation metadata.
- [Bezier Transform](<https://www.graphicsmill.com/samples/Transforms/Bezier/Bezier_cs_md>): Applies a Bezier transformation to an image using control points.
- [Conditionally adding pipeline elements](<https://www.graphicsmill.com/samples/LargeImages/PipelineAPISyntax/ConditionalElements_cs_md>): Demonstrates how to add pipeline elements based on input image properties to create sRGB thumbnails with a specific DPI.
- [Create linear pipeline](<https://www.graphicsmill.com/samples/LargeImages/PipelineAPISyntax/SimplifiedSyntax_cs_md>): Shows how to create a linear image processing pipeline using a simple and straightforward syntax.
- [Crop](<https://www.graphicsmill.com/samples/LargeImages/Transforms/Crop_cs_md>): Crop an image to a specified rectangle using the Pipeline API.
- [Crop](<https://www.graphicsmill.com/samples/Transforms/Crop/Crop_cs_md>): Crops an image to a specified rectangular region.
- [Crop Image And Preserve Clipping Path](<https://www.graphicsmill.com/samples/Metadata/ClippingPath/CropImageAndPreserveClippingPath_cs_md>): Crops an image while preserving its clipping path.
- [Draw text watermark on thumbnail image](<https://www.graphicsmill.com/samples/LargeImages/Transforms/TextWatermarkOnThumnail_cs_md>): Creates a thumbnail and draws a semi-transparent text watermark using transforms and drawing APIs.
- [Flip](<https://www.graphicsmill.com/samples/Transforms/RotateAndFlip/Flip_cs_md>): Flips an image vertically or horizontally.
- [Maximum](<https://www.graphicsmill.com/samples/Transforms/MinimumMaximumMedian/Maximum_cs_md>): Applies the Maximum filter to an image.
- [Median](<https://www.graphicsmill.com/samples/Transforms/MinimumMaximumMedian/Median_cs_md>): Applies the Median filter to an image.
- [Minimum](<https://www.graphicsmill.com/samples/Transforms/MinimumMaximumMedian/Minimum_cs_md>): Applies the Minimum filter to an image.
- [Modify Clipping Path Explicitly](<https://www.graphicsmill.com/samples/Metadata/ClippingPath/ModifyClippingPathExplicitly_cs_md>): Crops an image and updates its clipping path explicitly.
- [Modify Clipping Path Explicitly (Memory Friendly)](<https://www.graphicsmill.com/samples/Metadata/ClippingPath/ModifyClippingPathExplicitlyMemoryFriendly_cs_md>): Modifies a clipping path and image using a memory-friendly pipeline.
- [Multiple thumbnails](<https://www.graphicsmill.com/samples/LargeImages/Transforms/GetMultipleThumbnails_cs_md>): Creates two thumbnails of different sizes from a single image read.
- [Remove a gradient background from a product photo](<https://www.graphicsmill.com/samples/Transforms/BackgroundRemoval/RemoveContiguousBackgroundMemoryFriendly_cs_md>): Cuts a product out of a studio photo with a gradient background using the pipeline API.
- [Remove a plain background around a logo](<https://www.graphicsmill.com/samples/Transforms/BackgroundRemoval/RemoveContiguousBackground_cs_md>): Makes the background around a logo transparent while keeping enclosed areas of the same colour opaque.
- [Resize](<https://www.graphicsmill.com/samples/LargeImages/Transforms/Resize_cs_md>): Resizes an image using a memory-friendly pipeline approach.
- [Resize](<https://www.graphicsmill.com/samples/Transforms/Resize/Resize_cs_md>): Resizes an image while maintaining its aspect ratio.
- [Resize And Preserve Metadata](<https://www.graphicsmill.com/samples/Metadata/PreservingMetadata/ResizeAndPreserveMetadata_cs_md>): Resizes a JPEG image and preserves or updates all metadata.
- [Resize Animated Gif](<https://www.graphicsmill.com/samples/Codecs/Gif/ResizeAnimatedGif_cs_md>): Resizes an animated GIF to fixed dimensions while preserving animation properties.
- [Resize Image And Clipping Path (Memory Friendly)](<https://www.graphicsmill.com/samples/Metadata/ClippingPath/ResizeImageAndClippingPathMemoryFriendly_cs_md>): Resizes an image and its clipping path using a memory-efficient pipeline.
- [Resize Sharp](<https://www.graphicsmill.com/samples/Transforms/Resize/ResizeSharp_cs_md>): Resizes an image while preserving sharpness, similar to Photoshop's Bicubic Sharper.
- [Resize while reading JPEG](<https://www.graphicsmill.com/samples/Codecs/Jpeg/ResizeWhileReadingJpeg_cs_md>): Resizes a JPEG image by a factor of 2 during decoding using the codec’s built-in scaling.
- [Rotate](<https://www.graphicsmill.com/samples/LargeImages/Transforms/Rotate_cs_md>): Rotates an image using a memory-friendly pipeline approach.
- [Rotate](<https://www.graphicsmill.com/samples/Transforms/RotateAndFlip/Rotate_cs_md>): Rotates an image by 90, 180, or 270 degrees.
- [Rotate Arbitrary](<https://www.graphicsmill.com/samples/Transforms/RotateAndFlip/RotateArbitrary_cs_md>): Rotates an image by any angle with a specified background color.
- [Tint Using Alpha](<https://www.graphicsmill.com/samples/Transforms/Tint/TintUsingAlpha_cs_md>): Applies a tint to an image using the alpha channel.
- [Tint Using Alpha (Memory Friendly)](<https://www.graphicsmill.com/samples/Transforms/Tint/TintUsingAlphaMemoryFriendly_cs_md>): Applies a tint using the alpha channel with a memory-friendly pipeline approach.
- [Tint Using Lab](<https://www.graphicsmill.com/samples/Transforms/Tint/TintUsingLab_cs_md>): Applies a tint to an image by manipulating Lab color channels.
- [Using the OnInit event to configure pipeline elements](<https://www.graphicsmill.com/samples/LargeImages/PipelineAPISyntax/OnInitEvent_cs_md>): Demonstrates configuring pipeline elements dynamically using the OnInit event to adjust settings based on input image data.

