mirror of
https://github.com/greenshot/greenshot
synced 2025-08-15 19:27:02 -07:00
Fixed refactoring changes for unused plugin.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2123 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
568264a045
commit
f464b3a3ca
1 changed files with 2 additions and 2 deletions
|
@ -111,9 +111,9 @@ namespace GreenshotPhotobucketPlugin {
|
|||
public bool Upload(ICaptureDetails captureDetails, Image image, out string uploadURL) {
|
||||
OutputSettings outputSettings = new OutputSettings(config.UploadFormat, config.UploadJpegQuality, config.UploadReduceColors);
|
||||
using (MemoryStream stream = new MemoryStream()) {
|
||||
host.SaveToStream(image, stream, outputSettings);
|
||||
ImageOutput.SaveToStream(image, stream, outputSettings);
|
||||
try {
|
||||
string filename = Path.GetFileName(host.GetFilename(config.UploadFormat, captureDetails));
|
||||
string filename = Path.GetFileName(FilenameHelper.GetFilename(config.UploadFormat, captureDetails));
|
||||
PhotobucketInfo photobucketInfo = null;
|
||||
|
||||
// Run upload in the background
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue