View Single Post
  #6  
Old June 16th 20, 11:49 PM posted to rec.photo.digital,alt.comp.os.windows-10,alt.comp.freeware
Arlen Holder[_9_]
external usenet poster
 
Posts: 416
Default How do you edit an icon in one of the Windows system DLLs?

On Tue, 16 Jun 2020 21:37:25 +0100, Ed Cryer wrote:

If you look at, eg, shell32.dll with Icon Explorer
(https://www.mitec.cz/iconex.html), and click on any icon, you'll see
that it stores several versions (often 8 or 9) for each one.
And therein lies the tale and explanation of the phenomena we've mentioned


Hi Ed Cryer,

That freeware suggestion almost instantly solved the stated problem!
o People like you are what make Usenet a wonderful helpful helpdesk!
https://i.postimg.cc/8kBqrHYN/icon06.jpg

Thanks for purposefully helpfully suggesting IconExplorer freeware, which
worked just fine to edit what I've been calling the "globe" icon, but which
is actually named the %SystemRoot%\System32\SHELL32.dll "shell32_13" icon.
https://i.postimg.cc/76ZvXJdf/icon03.jpg

What I've been calling the "two screen" icon is actually named
"shell32_89", whose [0] version is a PNG file of size 256x256 pixels
https://i.postimg.cc/NFhjn4cd/icon04.jpg

If I right click on the 256x256 pixel icon, I have three choices:
o Save to Icon...
o Save to Bitmap...
o Save to PNG...
https://i.postimg.cc/SNJgdfKB/icon05.jpg

Aha!

That solves the problem set of _how_ to edit the "globe" system DLL icon!

(1) Point IconExplorer freeware to "%SystemRoot%\System32\SHELL32.dll"
(2) Click on the largest "globe" icon (aka "shell32_13") in view
(3) Save as whatever format {png, bmp, ico} you can edit most easily
(4) I chose to save the largest globe as globe.bmp (IV can edit ICO files)
(5) Edit that file in any editor (e.g., I added the red circle & slash)
https://i.postimg.cc/DwWj5dxW/globe.gif (upload can't handle bmp)
(6) Save a black background & a white background version if desired
https://i.postimg.cc/prxJHKQB/world-black.png (upload converted it)
https://i.postimg.cc/9f7dwLJp/world-white.png (upload converted it)
(7) In Irfanview, control+shift+y to auto-crop exactly to the image borders
(8) In Irfanview, set to 32x32 pixels & save as an ico file
(9) In my case, I saved to "world_black.ico" & "world_white.ico"
(10) Right click your shortcut & set the icon to the desired *.ico above
https://i.postimg.cc/8kBqrHYN/icon06.jpg

The only remaining question is that of "transparent background"...
o Can a ICO file have a transparent background?
--
Usenet is a public helpdesk where people purposefully help each other.
Ads