diff --git a/Source/Ember/Forms/MainForm.cs b/Source/Ember/Forms/MainForm.cs index 393eaa6..155012f 100644 --- a/Source/Ember/Forms/MainForm.cs +++ b/Source/Ember/Forms/MainForm.cs @@ -65,7 +65,7 @@ private static async void Capture(Rectangle area) if (Settings.Default.UploadImage) { - var screenshotBinary = ToByteArray(screenshot, Settings.Default.UploadFormat); + var screenshotBinary = ConvertToByteArray(screenshot, Settings.Default.UploadFormat); using (var client = new ImgurClient()) { @@ -100,7 +100,7 @@ private static async void Capture(Rectangle area) } } - public static byte[] ToByteArray(Image image, ImageFormat format) + public static byte[] ConvertToByteArray(Image image, ImageFormat format) { using (var memoryStream = new MemoryStream()) {