Leadtools.ColorConversion Getting Started

Summary

For pointers to sample programs that demonstrate many features, see the table below:

.NET
.NET Framework

.NET

Redistributables Paths

Path Target Platform
<installdir>\Bin\net .NET 6+
Assembly - Class/Namespace Comments
Leadtools.ColorConversion.dll - Leadtools.ColorConversion Methods for creating and manipulating ICC Profiles as well as supporting conversions among the RGB, BGR, YUV, CMYK, HSV,HLS, YIQ, CMY, LAB, YCCK, Y41P, UYVY, YUY2, YVU9, and YCC color spaces.
libleadtools.colorconversion.so Android shared object library for supporting ICC Profiles.

Dependencies

Library Description Dependencies
Leadtools.ColorConversion.dll Core Library Leadtools.dll
NuGet PackageDescription
Leadtools.Formats.Raster.Common Common Raster File Formats Library

Sample Programs

Demo Name Source Code Path Pre-Compiled Executable Path Description
Basic Features \Examples\ImageProcessing\DotNet\BasicFeaturesDemo\net \Bin\net\BasicFeaturesDemo_Original.exe

Demonstrates some basic LEADTOOLS image processing and display features.

  • Loads an image from a file
  • Performs basic image processing using LEADTOOLS Image Processing commands
  • Demonstrates row by row image data access
  • Displays images using the LEADTOOLS Image Viewer Control
Demo Name Source Code Path Pre-Compiled Executable Path Description
Color Conversion \Examples\ImageProcessing\DotNet\ColorConversionDemo\net \Bin\net\ColorConversionDemo_Original.exe

Demonstrates LEADTOOLS Colorspace Conversion SDK features.

Converts image data in a buffer from one color conversion model to another.

Formats supported include RGB, YUV, CMYK, HSV, HLS, YCC, ARGB, and many more.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Document Cleanup \Examples\ImageProcessing\DotNet\DocumentCleanupDemo\net \Bin\net\DocumentCleanupDemo_Original.exe

Demonstrates Document Image Cleanup functionality.

  • Line Remove, Dot Remove, Border Remove, Hole-punch Remove
  • Deskew, Despeckle
  • Inverted Text
  • Character Smooth
Demo Name Source Code Path Pre-Compiled Executable Path Description
GrayScale \Examples\ImageProcessing\DotNet\GrayScaleDemo\net \Bin\net\GrayScaleDemo_Original.exe

Demonstrates Medical Image processing functionalities

The GrayScale Demo contains all LEADTOOLS medical image processing function and allow the user to adjust the parameter of each function, plus doing statistics, segmentation, region of interest, window level, etc.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Image Processing Demo (WinForms) \Examples\ImageProcessing\DotNet\ImageProcessingDemo\net \Bin\net\ImageProcessingDemo_Original.exe

Demonstrates Image Processing functionality.

Apply Image Processing filters to images.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Interactive Histogram \Examples\ImageProcessing\DotNet\InteractiveHistDemo\net \Bin\net\InteractiveHistDemo_Original.exe

Demonstrates powerful and comprehensive tools that allow the user to adjust any image histogram.

  • Load and display images
  • Adjust image histogram
  • Alter, enhance, or segment histogram information
  • Provides histogram statistical information that can be helpful to analyze the image
Demo Name Source Code Path Pre-Compiled Executable Path Description
Image Processing Demo (WPF) \Examples\ImageProcessing\DotNet\WPFImageProcessingDemo\net \Bin\net\WPFImageProcessingDemo_Original.exe

Demonstrates Image Processing functionality.

Apply Image Processing filters to images.

Demo Name Source Code Path Pre-Compiled Executable Path Description
WPF Shader Effects \Examples\ImageProcessing\DotNet\WPFShaderEffectsDemo\net \Bin\net\WPFShaderEffectsDemo_Original.exe

Demonstrates WPF Shader Effects.

  • Load and display an image in the LEADTOOLS WPF Viewer
  • Apply Shader Effects to the displayed image
  • Control the options for the Shader Effects
Demo Name Source Code Path Pre-Compiled Executable Path Description
ASP.NET Controller \Examples\Main\DotNet\AspNetControllerDemo\net \Bin\net\AspNetControllerDemo_Original.exe

Demonstrates using the LEADTOOLS .NET Core NuGet packages to create an ASP.NET RESTful service and showcases how to use LEADTOOLS within a .NET Core Web API environment.

Has three controller endpoints showcasing different LEADTOOLS engines:

/Barcode/RecognizeBarcodes

/Convert/ConvertImage

/Ocr/GetText

You can use the following sample urls to test:

/Barcode/RecognizeBarcodes?uri=https://demo.leadtools.com/images/tiff/barcode1.tif

/Convert/ConvertImage?uri=https://demo.leadtools.com/images/pdf/leadtools.pdf

/Ocr/GetText?uri=https://demo.leadtools.com/images/tiff/ocr1.tif

Demo Name Source Code Path Pre-Compiled Executable Path Description
Draw \Examples\Main\DotNet\DrawDemo\net \Bin\net\DrawDemo_Original.exe

Demonstrates using RasterImage object as a drawing surface.

  • Gets a drawing surface for the LEADTOOLS RasterImage object.
  • Draws graphic objects on the RasterImage object.
  • Saves the updated image.
Demo Name Source Code Path Pre-Compiled Executable Path Description
Main \Examples\Main\DotNet\MainDemo\net \Bin\net\MainDemo_Original.exe

Demonstrates many of the basic and advanced core features of LEADTOOLS.

  • Load and save all formats supported by LEADTOOLS
  • Display (scroll/zoom) images with options, including Animation
  • Apply Image Processing
  • Capture images from the screen
  • Acquire images from TWAIN and WIA scanners
  • Print images
  • Copy/paste images to and from the clipboard
Demo Name Source Code Path Pre-Compiled Executable Path Description
Paint While Load \Examples\Main\DotNet\PaintWhileLoadDemo\net \Bin\net\PaintWhileLoadDemo_Original.exe

Demonstrates painting an image to the screen while loading/decoding.

Simulates receiving an image file over a slow connection.

Paints the image in chunks, as it is loaded/decoded.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Print Preview \Examples\Main\DotNet\PrintPreviewDemo\net \Bin\net\PrintPreviewDemo_Original.exe

Demonstrates implementing image print preview support using LEADTOOLS.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Main Demo (WPF) \Examples\Main\DotNet\WPFMainDemo\net \Bin\net\WPFMainDemo_Original.exe

Demonstrates many of the basic and advanced core features of LEADTOOLS WPF.

  • Load and save all formats supported by LEADTOOLS
  • Display (scroll/zoom) images with options
  • Apply Image Processing

.NET Framework

Redistributables Paths

Path Target Platform
<installdir>\Bin\DotNet4\Win32 x86 .NET 4 or 4.5
<installdir>\Bin\DotNet4\x64 x64 .NET 4 or 4.5
Assembly - Class/Namespace Comments
Leadtools.ColorConversion.dll - Leadtools.ColorConversion Methods for creating and manipulating ICC Profiles as well as supporting conversions among the RGB, BGR, YUV, CMYK, HSV,HLS, YIQ, CMY, LAB, YCCK, Y41P, UYVY, YUY2, YVU9, and YCC color spaces.
libleadtools.colorconversion.so Android shared object library for supporting ICC Profiles.

Dependencies

Library Description Dependencies
Leadtools.ColorConversion.dll Core Library Leadtools.dll
NuGet PackageDescription
Leadtools.Formats.Raster.Common Common Raster File Formats Library

Sample Programs

Demo Name Source Code Path Pre-Compiled Executable Path Description
Basic Features \Examples\ImageProcessing\DotNet\BasicFeaturesDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\BasicFeaturesDemo.exe

Demonstrates some basic LEADTOOLS image processing and display features.

  • Loads an image from a file
  • Performs basic image processing using LEADTOOLS Image Processing commands
  • Demonstrates row by row image data access
  • Displays images using the LEADTOOLS Image Viewer Control
Demo Name Source Code Path Pre-Compiled Executable Path Description
Color Conversion \Examples\ImageProcessing\DotNet\ColorConversionDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\ColorConversionDemo.exe

Demonstrates LEADTOOLS Colorspace Conversion SDK features.

Converts image data in a buffer from one color conversion model to another.

Formats supported include RGB, YUV, CMYK, HSV, HLS, YCC, ARGB, and many more.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Document Cleanup \Examples\ImageProcessing\DotNet\DocumentCleanupDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\DocumentCleanupDemo.exe

Demonstrates Document Image Cleanup functionality.

  • Line Remove, Dot Remove, Border Remove, Hole-punch Remove
  • Deskew, Despeckle
  • Inverted Text
  • Character Smooth
Demo Name Source Code Path Pre-Compiled Executable Path Description
Fusion \Examples\ImageProcessing\DotNet\FusionDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\FusionDemo.exe

Demonstrates the Image Fusion feature of the Medical Viewer engine.

Fusion demo allows the user to fuse two images together and adjust the fusion amount, transparency, scale, position, etc.

Users can also can fuse two series together.

Demo Name Source Code Path Pre-Compiled Executable Path Description
GrayScale \Examples\ImageProcessing\DotNet\GrayScaleDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\GrayScaleDemo.exe

Demonstrates Medical Image processing functionalities

The GrayScale Demo contains all LEADTOOLS medical image processing function and allow the user to adjust the parameter of each function, plus doing statistics, segmentation, region of interest, window level, etc.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Image Processing Demo (WinForms) \Examples\ImageProcessing\DotNet\ImageProcessingDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\ImageProcessingDemo.exe

Demonstrates Image Processing functionality.

Apply Image Processing filters to images.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Interactive Histogram \Examples\ImageProcessing\DotNet\InteractiveHistDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\InteractiveHistDemo.exe

Demonstrates powerful and comprehensive tools that allow the user to adjust any image histogram.

  • Load and display images
  • Adjust image histogram
  • Alter, enhance, or segment histogram information
  • Provides histogram statistical information that can be helpful to analyze the image
Demo Name Source Code Path Pre-Compiled Executable Path Description
Image Processing Demo (WPF) \Examples\ImageProcessing\DotNet\WPFImageProcessingDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\WPFImageProcessingDemo.exe

Demonstrates Image Processing functionality.

Apply Image Processing filters to images.

Demo Name Source Code Path Pre-Compiled Executable Path Description
WPF Shader Effects \Examples\ImageProcessing\DotNet\WPFShaderEffectsDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\WPFShaderEffectsDemo.exe

Demonstrates WPF Shader Effects.

  • Load and display an image in the LEADTOOLS WPF Viewer
  • Apply Shader Effects to the displayed image
  • Control the options for the Shader Effects
Demo Name Source Code Path Pre-Compiled Executable Path Description
Draw \Examples\Main\DotNet\DrawDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\DrawDemo.exe

Demonstrates using RasterImage object as a drawing surface.

  • Gets a drawing surface for the LEADTOOLS RasterImage object.
  • Draws graphic objects on the RasterImage object.
  • Saves the updated image.
Demo Name Source Code Path Pre-Compiled Executable Path Description
Main \Examples\Main\DotNet\MainDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\MainDemo.exe

Demonstrates many of the basic and advanced core features of LEADTOOLS.

  • Load and save all formats supported by LEADTOOLS
  • Display (scroll/zoom) images with options, including Animation
  • Apply Image Processing
  • Capture images from the screen
  • Acquire images from TWAIN and WIA scanners
  • Print images
  • Copy/paste images to and from the clipboard
Demo Name Source Code Path Pre-Compiled Executable Path Description
Paint While Load \Examples\Main\DotNet\PaintWhileLoadDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\PaintWhileLoadDemo.exe

Demonstrates painting an image to the screen while loading/decoding.

Simulates receiving an image file over a slow connection.

Paints the image in chunks, as it is loaded/decoded.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Print Preview \Examples\Main\DotNet\PrintPreviewDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\PrintPreviewDemo.exe

Demonstrates implementing image print preview support using LEADTOOLS.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Main Demo (WPF) \Examples\Main\DotNet\WPFMainDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\WPFMainDemo.exe

Demonstrates many of the basic and advanced core features of LEADTOOLS WPF.

  • Load and save all formats supported by LEADTOOLS
  • Display (scroll/zoom) images with options
  • Apply Image Processing

See Also

Reference

Introduction

Getting Started (Guide to Example Programs)

Programming with LEADTOOLS Color Conversion Functions

Version History

Leadtools.ColorConversion Assembly Changes

Help Version 23.0.2024.10.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ColorConversion Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.