Re: DrawImage with High DPI Still Pixelated?
- From: "Rick Mogstad" <Rick.Mogstad@xxxxxxxxxxxxxxxx>
- Date: Mon, 18 Jul 2005 07:36:44 -0700
what is the original DPI of the image you are recieving? Perhaps you are
changing it, and that is causing the blurriness?
(Note: I am making guesses here and just trying to help. Hopefully someone
more knowledgable will be along to help as well)
"Craig" <Craig@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:40353930-BDBC-4B9B-BC99-7FB190A01E92@xxxxxxxxxxxxxxxx
>I receive an image from another application to which I want to print. I
>pass
> them a Bitmap with a DPI of 600x600. I take that image and draw it into
> the
> graphics object when I print. Their text that they draw into the Bitmap
> that
> I pass them comes out blury. Please note that its not blury when I
> display
> it on the screen. So my issue is the text quality in the image that I
> draw
> into the DC when printing. I even had them turn off anti-aliasing, but it
> looked real bad when doing that.
>
> Any ideas?
>
> - Craig
>
> "Rick Mogstad" wrote:
>
>>
>> "Craig" <Craig@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:73A906E0-91A9-4556-8DFE-4CACE12B5A5A@xxxxxxxxxxxxxxxx
>> > Hi All,
>> >
>> > I get a lot of pixelation (bluriness) when I draw an image into a
>> > graphics
>> > object that is passed to the Paint event handler when I perform a
>> > print.
>> > The
>> > image that I am using has a DPI of 600x600 (same as the printer) with
>> > some
>> > text. When it prints the image, the text is blury. Now if I draw the
>> > same
>> > text with the DrawString method into the received graphics object, the
>> > text
>> > is real crisp.
>> >
>> > Why is the image blury if it has the same DPI as the graphics object
>> > for
>> > the
>> > printer? Am I missing something? I am using Framework 1.1 with the
>> > latest
>> > SP, and Visual Studio 2003 on Windows XP.
>> >
>> > Here is what I use to draw the image into the graphics object:
>> >
>> > primaryGraphics.DrawImage(myImage, myRect, 0, 0, myImage.Width,
>> > myImage.Height, GraphicsUnit.Pixel);
>> >
>> > Any ideas on what I am doing wrong here? Thanks!
>> >
>> >
>> > Craig
>>
>>
>> You have your text saved as an image, or? I am not sure how DrawImage
>> and
>> DrawString are really related, as they perform different functions.
>>
>>
>>
>>
.
- Follow-Ups:
- Re: DrawImage with High DPI Still Pixelated?
- From: Craig
- Re: DrawImage with High DPI Still Pixelated?
- References:
- DrawImage with High DPI Still Pixelated?
- From: Craig
- Re: DrawImage with High DPI Still Pixelated?
- From: Rick Mogstad
- Re: DrawImage with High DPI Still Pixelated?
- From: Craig
- DrawImage with High DPI Still Pixelated?
- Prev by Date: Re: DrawImage with High DPI Still Pixelated?
- Next by Date: Re: Converting a JPG to TIF in C#
- Previous by thread: Re: DrawImage with High DPI Still Pixelated?
- Next by thread: Re: DrawImage with High DPI Still Pixelated?
- Index(es):
Relevant Pages
|