mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
Fixes for refactoring the save method (added boolean for reduce colors)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1710 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
221a92ee55
commit
bae0b6c34a
8 changed files with 16 additions and 9 deletions
|
@ -143,7 +143,7 @@ namespace GreenshotConfluencePlugin {
|
|||
private bool upload(Image image, Page page, string filename, bool openPage) {
|
||||
byte[] buffer;
|
||||
using (MemoryStream stream = new MemoryStream()) {
|
||||
ConfluencePlugin.Host.SaveToStream(image, stream, config.UploadFormat, config.UploadJpegQuality);
|
||||
ConfluencePlugin.Host.SaveToStream(image, stream, config.UploadFormat, config.UploadJpegQuality, config.UploadReduceColors);
|
||||
// COPY buffer to array
|
||||
buffer = stream.ToArray();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue