Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing complex BMPs - corruption
Message
 
 
To
16/05/2002 07:23:53
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00657179
Message ID:
00657653
Views:
34
I figured it out - the PDF ActiveX outputs a 2bit black & white BMP that apparently windows/the printer driver see fit to interpolate or dither during printing. The same behaviour occurs even when printing from popular image-editing programs like Paint Shop Pro. If I pump the PDF BMP through an image handling ActiveX (LeadTools) and up the number of colors to 256 (8bpp), the image comes out perfectly!

The reason I did not choose to allow FoxPro to scale (isometric) the image is because a PDF varies in height and width depending on how many bytes of data it contains. If I allowed FoxPro to scale, the "bits" in the image would grow larger or smaller, possibly affecting scanner readability. Right now I just specify an oversized picture box in which I think the PDF will never outgrow and keep FoxPro's hands off the image.
Previous
Reply
Map
View

Click here to load this message in the networking platform