Re: Problem copying pdfImageRep to bitmapRep. [SOLVED]

2008-07-10 Thread Graham Cox
Thanks Heinrich, that was the key to it. (Sometimes it pays to quit and sleep rather than try and solve "one more thing" before closing down ;-) Working well now - I adapted my code as follows: - (NSBitmapImageRep*) bitmapWithResolution:(int) dpi { NSPDFImageRep* pdfRep = [NSPDFI

Re: Problem copying pdfImageRep to bitmapRep.

2008-07-10 Thread Heinrich Giesen
On 10.07.2008, at 20:19, Graham Cox wrote: I want to render pdf data into a bitmap as part of an export conversion. My pdf data is good (I can save it as a pdf file and that comes up OK). My bitmap is good, but it's blank. follows the code . If I understand the code and what you

Problem copying pdfImageRep to bitmapRep.

2008-07-10 Thread Graham Cox
OK, it's very late (2.18 am) and I'm almost cross-eyed with fatigue.. but I just can't see what I'm doing wrong here. I want to render pdf data into a bitmap as part of an export conversion. My pdf data is good (I can save it as a pdf file and that comes up OK). My bitmap is good, but it's