Saving Images with Different Sizes

SUMMARY

GDI+ provides a significant improvement in imaging over GDI. In this chapter we discussed the basic imaging capabilities of GDI+, as defined in the System.Drawing namespace. We focused mainly on the Image and Bitmap classes, and by now you should understand how to use the .NET Framework to work with images. We saw how to open, view, save, and manipulate images. We also saw some interesting functionality, including creating thumbnail images, rotating and flipping, zooming in and out, skewing and stretching, and animation.

In addition, we covered some advanced imaging features, including drawing transparent images and setting bitmap resolution and color. Throughout this chapter, we developed a real-world application that you can use in your programming career.

Imaging functionality doesn't end here. Advanced imaging functionality, which is defined in the System.Drawing.Imaging namespace, will be the focus of Chapter 8. Some of the topics yet to be discussed are bitmaps, metafiles, color maps, encoding and decoding images, and details of the color matrix.

Категории