Transparentize

View as Markdown

Adobe ResourcesAdvancedArt TextBackground RemovalBitmapBMPBranched PipelineChannelsClipping PathsCodecsColor AdjustmentColor ConversionColor ManagementColor ProfileCompressionCropDrawingEPSEXIFExtra ChannelsFilesystemFontFormat ConversionFormatted TextGIFGradientGraphics ContainerGreen ScreenImage ValidationIndexed formatInteroperabilityIPTCJPGLossless JPEGMetadataModify ContainerMultiple framesPathPDFPersonalizationPipelinePixel AccessPNGPSDPSD ProcessorRasterizationRAWReadResizeRotateSpot ColorStreamSVGTextText LayoutTGAThumbnailTIFFTransformTransparentizeVDPVignetteWatermarkWEBPWPFWriteXMP

Remove a plain background around a logo

This sample shows how to make the background of a logo or a product shot transparent with the ContiguousBackgroundRemoval transform. The background is everything that can be reached from the border of the image through pixels of similar colour, so areas of the same colour that the subject encloses stay opaque: the white letters on the badge are kept, while a colour key such as Transparentize would punch them out too. The background colour is detected automatically from the border of the image.

Transparentize

Sets alpha values of pixels with a given color to transparent.