If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Hi,
I have to capture multiple images from the particular range values i.e(from calculated rect size).And finally all images has to be merged to single file and merged bitmap has to be saved.
I think there is at least one issue in your code: You do not capture and work with the result of GetSubBitmap()?
Generally, you need to compute the size of the resulting image, create wxBitmap of this size and then paste the individual screenshots into it, probably via selecting the big bitmap into wxDC and then DrawBitmap()ing the screenshots into it. Should not be difficult, assuming the composed bitmap is not unreasonably large...
Hi,
In the attached bitmap.png file there is two panels in which active panel is highlighted by blue colour.while capturing and storing image i should not display colour.so i tried to use GetSubBitmap() function to get particular panel and merge.