---
title: "Pipeline"
canonical: https://www.graphicsmill.com/samples/tags/pipeline
product: "Graphics Mill"
---

# Pipeline

Working with images via the Pipeline API

- [Browse all samples](<https://www.graphicsmill.com/samples/index_md>)

## Samples

- [Add Alpha Channel (Memory Friendly)](<https://www.graphicsmill.com/samples/ColorManagement/Channels/AddAlphaChannelMemoryFriendly_cs_md>): Adds an elliptical alpha channel using a memory-friendly pipeline.
- [Adjust Colors Using Lab](<https://www.graphicsmill.com/samples/Transforms/ColorAdjustment/AdjustColorsUsingLab_cs_md>): Adjusts image colors by modifying Lab color channels.
- [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.
- [CMYK To CMYK Using Device Link Profile](<https://www.graphicsmill.com/samples/ColorManagement/ColorProfile/CmykToCmykUsingDeviceLinkProfile_cs_md>): Converts a CMYK image to another CMYK color space using a device link profile.
- [Color Proofing](<https://www.graphicsmill.com/samples/ColorManagement/ColorProfile/ColorProofing_cs_md>): Converts a CMYK image to RGB for proofing using color profiles.
- [Combine channels](<https://www.graphicsmill.com/samples/ColorManagement/Channels/CombineChannels_cs_md>): Combines image channels from multiple sources into one image.
- [Combine Channels](<https://www.graphicsmill.com/samples/LargeImages/ChannelManipulations/CombineChannels_cs_md>): Combines separate RGB channel images into a single full-color image.
- [Compare Image Format Compressions](<https://www.graphicsmill.com/samples/Codecs/WebP/CompareImageFormatCompressions_cs_md>): Compare compression efficiency of WebP, JPEG, and PNG formats.
- [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.
- [Convert Animated GIF Image To WebP](<https://www.graphicsmill.com/samples/Codecs/WebP/ConvertAnimatedGifImageToWebP_cs_md>): Convert an animated GIF image to WebP format, preserving animation.
- [Convert Clipping Path To TGA](<https://www.graphicsmill.com/samples/Codecs/Tga/ConvertClippingPathToTga_cs_md>): Converts a clipping path from a JPEG to an alpha channel and saves as TGA.
- [Copy Clipping Path (Memory Friendly)](<https://www.graphicsmill.com/samples/Metadata/ClippingPath/CopyClippingPathMemoryFriendly_cs_md>): Copies clipping paths using a memory-efficient pipeline.
- [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.
- [Create Vignette](<https://www.graphicsmill.com/samples/LargeImages/Transforms/CreateVignette_cs_md>): Creates a vignette effect with a specified color using advanced pipeline techniques.
- [Crop](<https://www.graphicsmill.com/samples/LargeImages/Transforms/Crop_cs_md>): Crop an image to a specified rectangle using the Pipeline API.
- [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.
- [Draw Using Advanced Graphics](<https://www.graphicsmill.com/samples/LargeImages/Drawing/DrawUsingAdvancedGraphics_cs_md>): Draw a rectangle on an image using advanced graphics in the Pipeline API.
- [Get embedded profile using memory-friendly Pipeline API](<https://www.graphicsmill.com/samples/ColorManagement/ColorProfile/GetEmbeddedProfileMemoryFriendly_cs_md>): Displays embedded color profile info using a memory-friendly pipeline.
- [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.
- [Preview RGB To CMYK On Screen (Memory Friendly)](<https://www.graphicsmill.com/samples/ColorManagement/RGBToCMYK/PreviewRgbToCmykOnScreenMemoryFriendly_cs_md>): Previews CMYK color conversion using a memory-efficient pipeline approach.
- [Read Convert And Write TGA](<https://www.graphicsmill.com/samples/Codecs/Tga/ReadConvertAndWriteTga_cs_md>): Reads a TGA image, converts it to 16-bit with RLE compression, and saves it.
- [Read image with WPF](<https://www.graphicsmill.com/samples/Codecs/CustomCodecs/ReadImageWithWPF_cs_md>): Shows how to use a custom WPF image reader to pass an image into a processing pipeline.
- [Read Multiframe TIFF Memory Friendly](<https://www.graphicsmill.com/samples/Codecs/Tiff/ReadMultiframeTiffMemoryFriendly_cs_md>): Reads a multi-frame TIFF using a memory-friendly pipeline and saves each frame as JPEG.
- [Recompress JPEG partially](<https://www.graphicsmill.com/samples/Codecs/Jpeg/RecompressJpegPartially_cs_md>): Applies a mosaic effect to a region of a JPEG image and updates only that region using partial recompression.
- [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.
- [Resize](<https://www.graphicsmill.com/samples/LargeImages/Transforms/Resize_cs_md>): Resizes an image using a memory-friendly pipeline approach.
- [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 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.
- [Rgb To Cmyk Memory Friendly](<https://www.graphicsmill.com/samples/ColorManagement/RGBToCMYK/RgbToCmykMemoryFriendly_cs_md>): Converts RGB to CMYK with color management using a memory-friendly pipeline.
- [Rotate](<https://www.graphicsmill.com/samples/LargeImages/Transforms/Rotate_cs_md>): Rotates an image using a memory-friendly pipeline approach.
- [Split And Combine Channels](<https://www.graphicsmill.com/samples/LargeImages/ChannelManipulations/SplitAndCombineChannels_cs_md>): Splits an image into RGB channels, adjusts brightness, and recombines them.
- [Split channels](<https://www.graphicsmill.com/samples/ColorManagement/Channels/SplitChannels_cs_md>): Splits a CMYK image into separate channel files.
- [Split Channels](<https://www.graphicsmill.com/samples/LargeImages/ChannelManipulations/SplitChannels_cs_md>): Splits RGB channels, adjusts their brightness, and saves each as a separate image.
- [Swap Channels Memory Friendly](<https://www.graphicsmill.com/samples/ColorManagement/Channels/SwapChannelsMemoryFriendly_cs_md>): Swaps red and green channels using a memory-friendly pipeline.
- [TIFF Extra Channels To Spot Color Space](<https://www.graphicsmill.com/samples/Codecs/SpotColors/TiffExtraChannelsToPdfSpot_cs_md>): Converts a TIFF with extra channels to a PDF using separation color space.
- [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.
- [Write Animated WebP](<https://www.graphicsmill.com/samples/Codecs/WebP/WriteAnimatedWebP_cs_md>): Create a simple animated image in WebP format.
- [Write EXIF and IPTC (Memory Friendly)](<https://www.graphicsmill.com/samples/Metadata/EXIFAndIPTC/WriteExifIptcMemoryFriendly_cs_md>): Writes EXIF and IPTC metadata to a JPEG using a memory-friendly pipeline.
- [Write Extra Channel With Display Info](<https://www.graphicsmill.com/samples/Codecs/Tiff/WriteExtraChannelWithDisplayInfo_cs_md>): Saves extra channels with display info to Adobe resources in a TIFF file.
- [Write Extra Channel With Name](<https://www.graphicsmill.com/samples/Codecs/Tiff/WriteExtraChannelWithName_cs_md>): Saves an extra channel with a custom name to a TIFF image using Adobe resources.
- [Write image with WPF](<https://www.graphicsmill.com/samples/Codecs/CustomCodecs/WriteImageWithWPF_cs_md>): Demonstrates saving an image from a pipeline using a custom WPF image writer.
- [Write Multiframe TIFF](<https://www.graphicsmill.com/samples/Codecs/Tiff/WriteMultiframeTiff_cs_md>): Create a TIFF file with multiple frames, each with its own compression.
- [Write WebP Lossy And Lossless](<https://www.graphicsmill.com/samples/Codecs/WebP/WriteWebPLossyAndLossless_cs_md>): Save an image in both lossy and lossless WebP formats.

