TileIconifier icon indicating copy to clipboard operation
TileIconifier copied to clipboard

When selecting certain images the program breaks.

Open vodkaa-gal opened this issue 5 years ago • 0 comments

FIrst time this has happened, might be the specific image or shortcut

TileIconifier Version: v2.2.6776.40899 - x64 OS Version: 10.0.19041.0 - x64 Administrator?: Yes

System.ArgumentException: Parameter is not valid. at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData) at TileIconifier.Core.Utilities.ImageUtils.ByteArrayToImage(Byte[] bytesIn) in C:\Users\Jonno\Documents\GitHub\TileIconify\TileIconifier.Core\Utilities\ImageUtils.cs:line 83 at TileIconifier.Core.Shortcut.ShortcutItemImage.SetImage(Byte[] imageBytes, Size shortcutSize, Nullable1 x, Nullable1 y) in C:\Users\Jonno\Documents\GitHub\TileIconify\TileIconifier.Core\Shortcut\ShortcutItemImage.cs:line 69 at TileIconifier.Controls.IconifierPanel.TileIconifierPanel.IconSet(Object sender) at System.Windows.Forms.Control.OnDoubleClick(EventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at TileIconifier.Program.Main()

vodkaa-gal avatar Sep 24 '20 20:09 vodkaa-gal