Print Page | Close Window

Yellow images from canvas DC?

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1921
Printed Date: 22 Nov 24 at 6:31PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Yellow images from canvas DC?
Posted By: infrax
Subject: Yellow images from canvas DC?
Date Posted: 11 Aug 11 at 9:04AM
Hi all

I'm using the following code to create PDF:

PrnCanvas := TCanvas.Create;
PrnCanvas.Font.PixelsPerInch := DPI;

DC:=PDFLibrary.GetCanvasDC(PageWidth,PageHeight);
PrnCanvas.Handle := DC;

//draw something on PrnCanvas by some other library

PDFLibrary.NewPageFromCanvasDC(DPI,0);
...

Fonts and everything else is printed OK, but images are slightly yellow -> white is not white but yellow.
As I would have a yellow filter on top of image.

I tried with different images (png, jpg, bmp, ...), but the results are the same.

I tried to print this directly on printer (without QuickPDFLibrary) and there images are OK.

Any ideas how to fix this?




Replies:
Posted By: AndrewC
Date Posted: 12 Aug 11 at 3:04PM
Is it possible to send for you to send the PDF and the image file to us by creating a support ticket using

    http://www.quickpdflibrary.com/support/support-query.php - http://www.quickpdflibrary.com/support/support-query.php

Hopefully I can find a quick and easy solution.

Andrew.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk