• Windows 10 - Bitmap as Icon

    From Jeff Gaines@21:1/5 to All on Fri Jul 4 07:47:33 2025
    I've used that heading because many years ago I found a way of getting
    Windows Explorer (as it was then) to show an icon sized image of a .bmp
    file instead of the icon of the app that opened the file. The trick was:

    To display a bitmap as an icon go to HKEY_CLASSES_ROOT\Paint.Picture\DefaultIcon and set to %1

    I want to do the same for .png and .jpg files. I "think" it is standard nowadays, certainly that's what happens on my other PCs but not on my main
    PC, the one I live on.

    At some stage I was editing graphics files non-stop and I think I changed
    the file association for .png/.jpg to Paint.Net but I can't for the life
    of me find a way to get it back to how it was.

    Any suggestions please? Otherwise it's re-install time...

    --
    Jeff Gaines Dorset UK
    Did you know on the Canary Islands there is not one canary?
    And on the Virgin Islands same thing, not one canary.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul@21:1/5 to Jeff Gaines on Fri Jul 4 05:18:38 2025
    On Fri, 7/4/2025 3:47 AM, Jeff Gaines wrote:

    I've used that heading because many years ago I found a way of getting Windows Explorer (as it was then) to show an icon sized image of a .bmp file instead of the icon of the app that opened the file. The trick was:

    To display a bitmap as an icon go to HKEY_CLASSES_ROOT\Paint.Picture\DefaultIcon and set to %1

    I want to do the same for .png and .jpg files. I "think" it is standard nowadays, certainly that's what happens on my other PCs but not on my main PC, the one I live on.

    At some stage I was editing graphics files non-stop and I think I changed the file association for .png/.jpg to Paint.Net but I can't for the life of me find a way to get it back to how it was.

    Any suggestions please? Otherwise it's re-install time...


    It's ugly, merging a .reg , and you should have a backup of C:
    before going ahead. When I reviewed one of these previously, there
    were some "Brink-isms" in the file, so it wasn't a clean reset.
    Maybe that has been fixed.

    https://www.tenforums.com/tutorials/8703-restore-default-file-type-associations-windows-10-a.html

    Make a note of the special step before merging the registry samples.

    "Enable or Disable UserChoice Protection Driver (UCPD) in Windows 11 and 10 | Windows 11 Forum"

    My Windows 10 JPG and PNG are still set to "Choose a Default".

    Whereas the Default App, somehow my "Photo Viewer" choice is undefined as well, and is also "Choose a Default". Normally the OS makes this (Microsoft) "Photos".

    Yet, if I choose "Open With", there already are predominantly Microsoft
    choices in the list, and GIMP isn't listed.

    Something that kicks the process off, is IrfanView can grab a lot of stuff,
    and then presumably other associations join in later.

    [Picture]

    https://i.postimg.cc/CMjQQtNx/default-for-images.gif

    Paul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Rumm@21:1/5 to Jeff Gaines on Fri Jul 4 10:41:06 2025
    On 04/07/2025 08:47, Jeff Gaines wrote:

    I've used that heading because many years ago I found a way of getting Windows Explorer (as it was then) to show an icon sized image of a .bmp
    file instead of the icon of the app that opened the file. The trick was:

    To display a bitmap as an icon go to HKEY_CLASSES_ROOT\Paint.Picture\DefaultIcon and set to %1

    I want to do the same for .png and .jpg files. I "think" it is standard nowadays, certainly that's what happens on my other PCs but not on my
    main PC, the one I live on.

    At some stage I was editing graphics files non-stop and I think I
    changed the file association for .png/.jpg to Paint.Net but I can't for
    the life of me find a way to get it back to how it was.

    Any suggestions please? Otherwise it's re-install time...

    If you set the folder "view" to "medium sized icons" (or "large icons"
    or "extra large icons") it will show preview images for all picture
    files anyway.

    --
    Cheers,

    John.

    /=================================================================\
    | Internode Ltd - http://www.internode.co.uk | |-----------------------------------------------------------------|
    | John Rumm - john(at)internode(dot)co(dot)uk | \=================================================================/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeff Gaines@21:1/5 to Paul on Sat Jul 5 13:11:15 2025
    On 04/07/2025 in message <104869f$odc3$1@dont-email.me> Paul wrote:

    Any suggestions please? Otherwise it's re-install time...


    It's ugly, merging a .reg , and you should have a backup of C:
    before going ahead. When I reviewed one of these previously, there
    were some "Brink-isms" in the file, so it wasn't a clean reset.
    Maybe that has been fixed.

    Many thanks :-)

    That restores the default app for opening files but the icon in File
    Explorer still show the app icon, not a thumbnail of the graphics file.

    --
    Jeff Gaines Dorset UK
    Did you know on the Canary Islands there is not one canary?
    And on the Virgin Islands same thing, not one canary.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeff Gaines@21:1/5 to John Rumm on Sat Jul 5 13:13:00 2025
    On 04/07/2025 in message <10487jj$ojch$1@dont-email.me> John Rumm wrote:

    Any suggestions please? Otherwise it's re-install time...

    If you set the folder "view" to "medium sized icons" (or "large icons" or >"extra large icons") it will show preview images for all picture files >anyway.

    Yes indeed :-)

    It's useful to see thumbnails of them in File Explorer, especially when
    looking for a graphic for a program.

    --
    Jeff Gaines Dorset UK
    There are 10 types of people in the world, those who do binary and those
    who don't.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)