mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -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
|
@ -497,9 +497,9 @@ namespace Greenshot {
|
|||
get { return surface.CaptureDetails; }
|
||||
}
|
||||
|
||||
public void SaveToStream(Stream stream, OutputFormat extension, int quality) {
|
||||
public void SaveToStream(Stream stream, OutputFormat extension, int quality, bool reduceColors) {
|
||||
using (Image image = surface.GetImageForExport()) {
|
||||
ImageOutput.SaveToStream(image, stream, extension, quality);
|
||||
ImageOutput.SaveToStream(image, stream, extension, quality, reduceColors);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue