save an image in a selected format, But that image shows only some specific area of application
in
Programming Questions
•
3 years ago
Hello.
I've got a simple application which makes some changes (after iterations) with the picture.
Interface itself consist of some buttons and other things as usual interfaces do.
The picture (which is changed) is, let's say, in the middle of my application window...
I would like to add a function and attach it to some button, but I don't know how to do it.
The function should save image (like print screen) to selected file with selected format
(basically the user can select the name, directory for it and format like PNG or BMP).
(basically the user can select the name, directory for it and format like PNG or BMP).
And also only some part of my application window should be saved, not the whole area.
Anyone could help me?
1