Re: Printing to PDF -- poor bitmap quality

Tech-Archive recommends: Speed Up your PC by fixing your registry



ugh, I wish you luck on that one. RTF is not my favourite thing.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.





Jeff wrote:
I tried each of the 9 different possible modes, but no luck. And
again, everything looks great when my device context is the screen, an
actual printer, or even a TIFF. This tells me that it has to be a
problem with Acrobat. Unfortunately, they've been no help.

The bitmap that I'm trying to render is actually the result of some
code that Ken Tucker posted for rendering the contents of a
RichTextBox. It works wonderfully. Unfortunately, since it appears
that printing to PDF doesn't work well with bitmaps, I'm going to have
to find a way to parse RTF markup and render it using DrawString,
Fonts, etc. Yippee...

On Feb 8, 1:08 pm, "Bob Powell [MVP]" <bob@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Try setting the InterpolationMode on the Graphics object to one of the
antialiased settings. I recommend HighQualityBiLinear as BiCubic is
slower and seems to deliver a worse result for all it's supposed advantages.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consultinghttp://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Trickshttp://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQhttp://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.



Jeff wrote:
I'm rendering text (DrawString) and images (DrawImage). The output
looks great on screen and looks great when printing to a printer (both
Laser and Inkjet).
When printing to Adobe PDF (which is what my users will mostly be
doing), the sections rendered using DrawString look great, but the
images rendered using DrawImage look blocky and pixellated. I've
tried modifying the Adobe Settings hoping that it would increase the
image quality, but no luck. I've tried several ideas found in Acrobat
Support, but no luck.
Any suggestions?- Hide quoted text -
- Show quoted text -


.



Relevant Pages

  • Re: Printing to PDF -- poor bitmap quality
    ... I tried each of the 9 different possible modes, but no luck. ... The bitmap that I'm trying to render is actually the result of some ... Find great Windows Forms articles in Windows Forms Tips and Trickshttp://www.bobpowell.net/tipstricks.htm ... Answer those GDI+ questions with the GDI+ FAQhttp://www.bobpowell.net/faqmain.htm ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Printing graphics/text that span multiple pages
    ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... Answer those GDI+ questions with the GDI+ FAQ ... You need to figure out how many pages you need and then render your ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Zero Width Pen Draws through clipped region...
    ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... Exclude the rectangle from the graphics clip region. ... IF you use a pen that is more than one pixel the clipping works ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Partial zooming using transform
    ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... Is there any "good way" of figuring out the dimensoions of the transformed image to get the size of the border I need to draw? ... the "object" will be a square or a slice of pixels with its own individual zoom and transform. ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: troubles logging in to domain - on account does, the other doesnt
    ... Deploying Windows Firewall Settings for Microsoft Windows XP with Service ... Good Luck ... Systems Administrator ... I have two profiles created on AD. Person1 and Person2. ...
    (microsoft.public.windows.server.active_directory)