mirror of
https://github.com/greenshot/greenshot
synced 2025-07-14 17:13:44 -07:00
Added reduce colors to the quality form
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1708 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
d824b8e893
commit
9733aa79a8
22 changed files with 131 additions and 78 deletions
|
@ -67,7 +67,7 @@ namespace PluginExample {
|
|||
string filePath = Path.Combine(config.OutputFilePath, file);
|
||||
using (FileStream stream = new FileStream(filePath, FileMode.Create)) {
|
||||
using (Image image = surface.GetImageForExport()) {
|
||||
host.SaveToStream(image, stream, OutputFormat.png, 100);
|
||||
host.SaveToStream(image, stream, OutputFormat.png, config.OutputFileJpegQuality, config.OutputFileReduceColors);
|
||||
}
|
||||
}
|
||||
MessageBox.Show("Saved test file to: " + filePath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue