PDF Association logo.

Status: Partner Member
Country: US
Sector: All industries
Joined at: Feb 08
Website: http://www.datalogics.com/

Linked User
Maryanne Pavlin
Matt Kuznicki
Nicki Bullock
Vel Genov
Emma Kaschke
Leonard Ho

Color conversion with Adobe PDF Library

The correct display of color on different devices has always been an important part of PDF technology. Using the correct color model when working with documents allows for more predictable results. Different color models can be used to achieve different things. Need to use a document in a print workflow? A CMYK color space will mimic how the ink will look on paper. Is the output meant for a computer monitor? An RGB color space can display a larger color gamut than CMYK can.

In the APDFL 10.1.0P4s release, the tools for color conversion were made available to the .NET and Java interface making the process of color converting a document really easy.
The color conversion process can be applied on three different levels:
1. Document level.
2. Page level.
3. Element level.

At the Document and Page level, it is possible color convert the entire content or only certain types of content. For example, in a document with many images, a specific action can be applied to images in the RGB color space, while a different action is applied to images that use a CMYK color space, the API can differentiate between the different content types such as text, line art, transparency, etc. Alternatively, color conversion can be applied to individual elements the document with a single function call.

Lets look at a quick example on how to convert a PDF to the sRGB colorspace using C#. This code will also embed the profile in the document making the content more reliably readable in different workflows:


Learn more about Adobe PDF Library and start your free eval today.

Related Products
Adobe PDF Library

The Adobe PDF Library SDK is a low-level PDF library that contains a powerful set of native C/C++ APIs with interfaces for .NET and Java APIs. Systems integrators, independent software vendors (ISVs), enterprise IT developers, and others can integrate Adobe PDF functionality within custom applications in a client and / or server environment.

PDF Java Toolkit

Datalogics PDF Java Toolkit is a native Java library that provides high-level APIs for automating PDF workflows like processing PDF forms, verifying digital signatures, and extracting text. It also offers low-level APIs for working directly with the structure of the PDF for those times you need it.

Adobe PDF Converter

Adobe Normalizer, is an API which allows developers to quickly and easily convert Encapsulated PostScript (EPS) and PostScript (PS) files to Adobe’s Portable Document Format (PDF). The industry-standard Adobe Distiller and Distiller Server are themselves built upon PDF Converter SDK; and now this API is available separately to application developers.

Adobe PDF Print Engine

The Adobe PDF Print Engine is a common rendering engine technology, packaged as a software development kit (SDK). It can be the basis for a variety of products for previewing and printing Adobe Portable Document Format (PDF) documents at different stages of the professional print workflow.


Datalogics PDF2IMG is a command-line utility that converts PDF files to a variety of image formats including PNG, JPG, TIFF, BMP, and more. It is built upon the Adobe PDF Library and uses Adobe technology for unrivaled color management during the PDF conversion process

PDF Alchemist

Datalogics PDF Alchemist is a new (C/C++) SDK for intelligently extracting text and images from PDFs and exporting to HTML 5 or EPUB. It employs sophisticated techniques to identify and reconstruct “text flows” within the PDF.