Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Yellow images from canvas DC?
  FAQ FAQ  Forum Search   Register Register  Login Login

Yellow images from canvas DC?

 Post Reply Post Reply
Author
Message
infrax View Drop Down
Beginner
Beginner


Joined: 11 Aug 11
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote infrax Quote  Post ReplyReply Direct Link To This Post Topic: Yellow images from canvas DC?
    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?

Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post 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


Hopefully I can find a quick and easy solution.

Andrew.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store