Search Persits Software Knowledge Base

 

Article PS040202126

Displaying CMYK Images with AspPDF

Problem Description

When displaying a CMYK image on a document with AspPDF, the image appears inverted:

Solution

Call the OpenImage (or OpenImageBinary ) method with the Invert parameter set to true, as follows:

Set Image = Doc.OpenImage("c:\path\image.jpg", "invert=true")
Page.Canvas.DrawImage Image, Params

Created: 2/2/2004 1:55:49 PM
Last Modified: 2/2/2004 1:55:49 PM

Copyright © Persits Software, Inc. 1998 - 2018
For technical support, write to support@persits.com.