MathewSachin / Captura

Capture Screen, Audio, Cursor, Mouse Clicks and Keystrokes
https://mathewsachin.github.io/Captura/
MIT License
9.81k stars 1.84k forks source link

Screenshot #565

Open peternagelsa opened 4 years ago

peternagelsa commented 4 years ago

Describe the bug Value cannot be null. Parameter name: filename

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Screenshot Icon'
  2. Click on 'Click on Icon'
  3. See error

Expected behavior I assume it should open the image editor?

Desktop (please complete the following information):

Additional context Captura v9.0.0.0 OS: Microsoft Windows 10 Pro|C 64-bit OS 64-bit Process 8 processor(s)

Name: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz NumberOfCores: 4 NumberOfLogicalProcessors: 8

Name: Physical Memory Capacity: 4294967296

Name: Physical Memory Capacity: 4294967296

Name: Intel(R) UHD Graphics 620 AdapterRAM: 1073741824

Desktop: {X=0,Y=0,Width=3840,Height=1080} Screen: \.\DISPLAY1: {X=0,Y=0,Width=1920,Height=1080} Screen: \.\DISPLAY2: {X=1920,Y=0,Width=1920,Height=1080} Mic: Microphone Array (Realtek High Definition Audio(SST)) Speaker: Speaker/HP (Realtek High Definition Audio(SST)) Webcam: Integrated Camera Webcam: screen-capture-recorder

System.ArgumentNullException: Value cannot be null. Parameter name: filename at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) at Captura.Models.EditorWriter.Save(IBitmapImage Image, ImageFormats Format, String FileName) at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext() at System.Threading.Tasks.Task.WhenAll(IEnumerable1 tasks) at Captura.ViewModels.ScreenShotModel.d14.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Captura.ViewModels.ScreenShotViewModel.<>cDisplayClass9_0.<<-ctor>b__7>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)