Skip to content

Unhandled Exception error when specifying custom image path #446

@tardywrangler

Description

@tardywrangler

64-bit Windows 10 LTSC 21H2

Double-click to open Icon Selector window
Click Browse, select an .ico file, click ok/open
Nothing happens
Radio button for 'Extract an icon' is selected
Select 'Use custom image' radio button
Click Browse, select an .ico file, click ok/open
Nothing happens
Switch focus to File Explorer, navigate to .ico file
Hold shift -> right click -> Copy as path
Icon Selector window -> Image path field -> ctrl v
Backspace to remove " char at end of string
Delete " char at start of string
Unhandled Exception error thrown

######## COPY FROM HERE

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

System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
at System.Drawing.Graphics.DrawImage(Image image, Rectangle rect)
at System.Windows.Forms.PictureBox.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

######## TO HERE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions