CMYK question

CMYK question

Forum member · Nov 2, 2005
Hello, I've got the DynamicPDF Generator.Net version 1.6. I've worked with it without any problems for creating low-res pdf files in web applications, but now I need to generate High quality pdf files for printing. the first question is: How can I publish tiff images originally in CMYK in a pdf document? I've tried this code: System.IO.StreamReader backGroundStream = new StreamReader(@"C:\test.tif"); Image background = new Image(backGroundStream.BaseStream,ImageType.Tiff,0,0,0.5f); but the result is an RGB image. the second question is: where can I find some informations about the scaling of the images and how can I instantiate an image at its 100% scale? thanks in advance and sorry for my english... :-) daniele.

Re:CMYK question

Support · Nov 2, 2005
Hello Daniele, DynamicPDF Generator.NET v1.6 does not fully support CMYK TIFF images. Prior to v3.0 TIFF's containing CMYK colors were converted to RGB when placed in the PDF. Starting with v3.0, DynamicPDF Generator for .NET supports CMYK TIFF images. Following is the link to the download of fully functional evaluation version of DynamicPDF Generator for .NET v3.0 on our web site: http://www.DynamicPDF.com/Products/GeneratorForNET/Download.csp . “Scale Factor” means when you add an image to the PDF you can set the resolution by setting the scale of that image. A scale of .24 will produce 300dpi, and a scale of .48 will produce a scale of 150dpi. For example, the following will add an image to the page at 300dpi: page.Elements.Add( new Image( "path\image.type", x, y, .24f ) ); Starting with v3.0, the scale is read from the image if it is not specified. Here is a link to the Image Resolution topic found in the March 2005 help documentation on our web site. Thanks, ceTe Software Support Team