mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Refactoring: created a OutputSettings class to contain all the output settings for writing files. Default the settings are loaded from the configuration, in a later version it will be possible to have separate settings for every destination and these can be configured at one place... the settings form.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1815 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
5902a3d236
commit
e5fd88ebd3
21 changed files with 182 additions and 123 deletions
|
@ -49,10 +49,8 @@ namespace Greenshot.Plugin {
|
|||
/// Will save the current Image in the supplied format to the given stream
|
||||
/// </summary>
|
||||
/// <param name="stream">The stream the image is stored on</param>
|
||||
/// <param name="extension">The image type (extension), e.g. "png", "jpg", "bmp"</param>
|
||||
/// <param name="quality">Only needed for "jpg"</param>
|
||||
/// <param name="reduceColors">reduce the amount of colors to 256</param>
|
||||
void SaveToStream(Stream stream, OutputFormat extension, int quality, bool reduceColors);
|
||||
/// <param name="outputSettings">OutputSettings</param>
|
||||
void SaveToStream(Stream stream, OutputSettings outputSettings);
|
||||
|
||||
/// <summary>
|
||||
/// Get the ToolStripMenuItem where plugins can place their Menu entrys
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue