|
||
The most important aspect of ProImage is that it is flexible and adaptable.
You can call the ProImage editor in a number of different ways (depending on your needs) and the editor will adapt itself based on your settings.
This reusable aspect of ProImage allows the same image editor to work in different places in your program without rewriting the code.
Stand Alone Editor Mode
In this mode, you simply call the ProImage editor and allow your user to interact with it much as they would any other photo editor. You can easily control the image sources that are available for them, preset target image sizes and file specifications and much more, The user then saves the processed image file(s) and control returns to your application.
There is an example of configuring ProImage for this (called StandAloneEditor) in the 3rdparty\Examples\ProImage folder
Editor for a Parent Control
In this mode, you are using ProImage as the source of an image that will be used on another control (such as a viewer control on a Form). The user clicks a button to open the ProImage editor. Then they load and process an image using whatever options you make available to them. When they have made their selection the image is not saved to a file - but is simply passed back to the parent control. Then you can display or save it as needed.
There is an example of configuring ProImage for this (called GetImage ) in the 3rdparty\Examples\ProImage folder
Page Editor Mode
When configured to work as a page editor, you are sending an image from another control into the ProImage editor for processing. The user can crop or improve the image, save or export it if you allow it and the final image can be optionally returned to the parent control.
There is an example of configuring ProImage for this (called PageEditor) in the 3rdparty\Examples\ProImage folder