Ryan Turney

Ryan Turney

  • NA
  • 245
  • 209.1k

Image quality loss

Mar 2 2008 2:56 PM

Hey everyone, I am having some issues with a RichTextBox and image quality when resizing it. Anyone have any idea why this happens or how to fix it? Here is an example:

Before resizing: http://img299.imageshack.us/img299/3...estgoodsa5.jpg
After resizing: http://img257.imageshack.us/img257/6...testbadil1.jpg

If I save the file as .RTF after I resize it and open it in Word the image looks perfect resized. If I close down my program, reload it and try to open it, it still looks bad.

In order to put a image into the RichTextBox I save all the contents of the clipboard and then copy the image to the clipboard. The image is then pasted to the RichTextBox and the previous clipboard data is restored to the clipboard. I doubt this has anything to do with the image quality, but you never know.

Any ideas?
Thank you.