Feed Icon  

Contact

  • Bryant Likes
  • Send mail to the author(s) E-mail
  • twitter
  • View Bryant Likes's profile on LinkedIn
  • del.icio.us
Get Microsoft Silverlight
by clicking "Install Microsoft Silverlight" you accept the
Silverlight license agreement

Hosting By

Hot Topics

Tags

Open Source Projects

Archives

Ads

Image Resizing in .Net 2.0

Posted in at Thursday, 27 April 2006 06:49 Pacific Daylight Time

One of the things it seems like I do a lot is resize images. I have seen many posts/articles/etc on doing this and which options to use. I have played around with this quite a bit and so I decided to write a simple windows application to view what the differences really are.

 

I've posted the source to this application here. The application resizes the image to fit to the window and then allows you to increase the zoom so that you can see what the effects of the resize are really like. You can then switch between different interpolation modes, pixel offset modes, etc. I also allowed the turning on and off of the TileFlipXY attribute which gets rid of the top/left line that occurs when you resize with the HighQualityBicubic interpolation. I only discovered this feature yesterday while reading this article on code project.

If I left out some of the options let me know and I'll try to add them in.

Thursday, 27 April 2006 09:16:53 (Pacific Daylight Time, UTC-07:00)
Nice...

And I've read that article too... but missed/skipped that part.

Nice tip, thanks...
Comments are closed.