Description: Recently learning GDI+, want to find a application practice, so based on GDI+ package such interface has been independent, and the use is very convenient, in the MFC used directly (in VS2010 x64 compiler, 32 bits), specific classes are as follows:
1 class based on the GDI+ package, the document and dialog box can be used directly
2 class initialization can choose whether the picture is full of controls, full of words, the picture will adapt to the control of the width of the zoom, but will preserve the original length and width ratio unchanged
3 coordinates of the transformation before and after the relationship has been packaged, can be called directly
. scaling before and after sampling the approaching spreads values (Windows picture viewer and PS are the difference between sampling, probably because the efficiency is high. In detail, the difference can be changed, refer to the GDI+ can be, if you want to operate on the image pixels, using GDI bitmap class, can operate on the
To Search:
File list (Check if you may need any files):
ImageZoomClass\DEMO\Debug\TEST_GDI+_DLG.exe
..............\....\.....\TEST_GDI+_DLG.ilk
..............\....\.....\TEST_GDI+_DLG.pdb
..............\....\TEST_GDI+_DLG\ImageZoom\ImageZoom.cpp
..............\....\.............\.........\ImageZoom.h
..............\....\.............\ReadMe.txt
..............\....\.............\res\TEST_GDI+_DLG.ico
..............\....\.............\...\TEST_GDI_DLG.rc2
..............\....\.............\resource.h
..............\....\.............\stdafx.cpp
..............\....\.............\stdafx.h
..............\....\.............\targetver.h
..............\....\.............\TEST_GDI+_DLG.APS
..............\....\.............\TEST_GDI+_DLG.cpp
..............\....\.............\TEST_GDI+_DLG.h
..............\....\.............\TEST_GDI+_DLG.rc
..............\....\.............\TEST_GDI+_DLG.vcxproj
..............\....\.............\TEST_GDI+_DLG.vcxproj.filters
..............\....\.............\TEST_GDI+_DLG.vcxproj.user
..............\....\.............\TEST_GDI+_DLGDlg.cpp
..............\....\.............\TEST_GDI+_DLGDlg.h
..............\....\.............\test_image\girl.jpg
..............\....\.............\..........\girl_0.jpg
..............\....\.............\..........\天使.jpg
..............\....\.............\x64\Debug\TEST_GDI+_DLG.Build.CppClean.log
..............\....\.............\...\.....\TEST_GDI+_DLG.log
..............\....\TEST_GDI+_DLG.sln
..............\....\TEST_GDI+_DLG.suo
..............\ImageZoom\ImageZoom.cpp
..............\.........\ImageZoom.h
..............\DEMO\TEST_GDI+_DLG\x64\Debug
..............\....\ipch\test_gdi+_dlg-785673c2
..............\....\TEST_GDI+_DLG\ImageZoom
..............\....\.............\res
..............\....\.............\test_image
..............\....\.............\x64
..............\....\x64\Debug
..............\....\Debug
..............\....\ipch
..............\....\TEST_GDI+_DLG
..............\....\x64
..............\DEMO
..............\ImageZoom
ImageZoomClass