Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: Print TIF using COM Interop and VB6
Started by kjs11 at 01-24-2008 13:24. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  01-24-2008, 13:24
kjs11 is not online. Last active: 1/24/2008 12:43:13 AM kjs11

Not Ranked
Joined on 01-24-2008
Posts 1
Print TIF using COM Interop and VB6
Reply Quote
Am using Leadtools 15 Raster Image Viewer.  Do not have Document Imaging available.  There was a work-around posted to get a good quality TIF image to show in the viewer without using grayscale,  Is there a similar work-around for printing?  We need to print black and white TIF images.  The are 1 bit per pixel as they are stored.

   Report 
  01-27-2008, 12:03
Adam Boulad is not online. Last active: 7/23/2008 4:14:05 PM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 403
Re: Print TIF using COM Interop and VB6
Reply Quote

Hello,

Since you don't have Document Imaging, you cannot use the 'Scale To Gray' mode that improves the display of zoomed 1-bit images. The work-around for both display and printing is the same, which is to convert the image to 8-bit grayscale (or 4-bit to reduce memory consumption), then display or print the converted image.
 

If you are using our .NET classes, you can print the image after converting it to 8 (or 4) bits using the RasterImagePrinter Class, and specify a value of RasterPaintDisplayModeFlags.Resample in PaintProperties.PaintDisplayMode.
Adam Boulad
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Developer » Printing » Re: Print TIF using COM Interop and VB6

Powered by Community Server, by Telligent Systems