Questions tagged [ico]

ICO is an image file format (associated with ".ico" file extension) developed by Microsoft and designed for storing icons. It is widely used in Microsoft products, notably in Windows operating systems. From there it spread to other platforms and Internet. Use this tag if your question is related to this specific format. Do not use this tag for general questions about icons or concepts such as "favicon" if you don't plan to use ICO format for them.

Single ICO file can contain many images of different pixel sizes and color depths. The idea behind this is that software can pick most appropriate format without performing internal scaling, which from historical point of view had impact on performance and from the other point of view may give poor results when it comes to appearance. Scaling icon from high to small resolution, like 16x16 pixels, may require artist intervention or specialized software to keep icon sharp and readable.

225 questions
2
votes
3 answers

Android Studio icon not showing in taskbar - Windows 11

Recently I upgraded from Windows 10 to Windows 11. But now when I open Android Studio only a blank file icon appears on the taskbar. Is there any way to retrieve the original Android Studio icon? I have also checked that the .ico file exists in…
Lehan Musthafa
  • 125
  • 1
  • 7
2
votes
0 answers

Crowd Sale Contract Issue while minting token

I am currently working on a crowd sale contract, But I am having an issue with a function as the list of the error and the code of the function is attached, I need someone to tell me that what is happening in the code and how can i resolve the error…
2
votes
1 answer

How to return a list of user-defined struct in solidity?

I want to return a list of user-defined struct function sortByEtherValues (string category) public view returns (JobStruct[]) { ... } I am getting the following error: Failed to decode output: Error: Unsupported or invalid type: tuple
2
votes
1 answer

How can I canvas an icon in web pages using chrome extension?

I built a Chrome extension, to highlight phone numbers on web pages. Besides highlighting the numbers I want to append an icon at the end of each number. Here I have two options: Using font awesome icons. Using .ico file. There is a problem with…
Sivaprasad derangula
  • 1,169
  • 4
  • 12
  • 29
2
votes
1 answer

maven-assembly-plugin png and ico broken

I´m using maven-assembly-plugin for creating a zip file containing some artifacts and additional stuff. The additional stuff is located at a folder called "Installationattachments". Everything working alright so far. "Installationattachments" also…
TrackerSB
  • 317
  • 6
  • 19
2
votes
0 answers

Writing an ICO decoder in Java

I'm trying to write an ICO decoder in Java so Im able to display favicons from websites. I've first used the image4j library but noticed it didn't decode all the favicons I threw at it. So after some investigation I realized that image4j only is…
MircoProgram
  • 295
  • 1
  • 20
2
votes
1 answer

How can I tell my Winforms application to use the same icon for all forms?

I have a nice icon and I want to use it on all of the forms in my application. How can I do this?
delete
2
votes
2 answers

How to get imagemagick to create a favicon less than 15k

I'm using ImageMagick's convert command to combine 3 different sized icons (16, 32, 48 pixels square, repsective) into a single favicon.ico. $ convert --version Version: ImageMagick 6.8.9-7 Q16 x86_64 2015-07-06 http://www.imagemagick.org Copyright:…
JamesWilson
  • 3,833
  • 2
  • 30
  • 40
2
votes
2 answers

.ico file looks wrong drawn with DrawIcon

I have a few icons in .ico files in my C++ MFC program. I use DrawIcon and DrawIconEx to draw them onto a memory bitmap and they come out with some sort of shadow-like border at the edge of the edges of the visible content. The pixels look like they…
David Rector
  • 958
  • 9
  • 31
2
votes
0 answers

How do I get WPF to choose my 16x16-pixel icon instead of down-scaling a larger one?

For a WPF appplication, using either Greenfish or IcoFX, I create a .ico with 16x16 and 64x64 images. I made several versions of the 16x16 one for every available bit depth/number of colors, but it always scales down the 64x64 version to 16x16 on a…
Dale Barnard
  • 779
  • 1
  • 7
  • 16
2
votes
1 answer

Python PIL sometimes can't convert ico to png

I need to convert the favicon with ICO format to PNG. I tried to do it with the PIL: img = Image.open('favicon.ico') img.save('favicon.png', 'png') But often the conversion was incorrect, since after it favicon not displayed. I was looking for…
2
votes
1 answer

It is possible to set icon (in .sed file), working with IExpress?

I want to create an .exe from my .msi. I use for it (with good result): IExpress /N myFile.SED myFile.SED was generated by Start menu->Run->IExpress. I want to change the icon (.ico) for the final .exe with IExpress. I know that I can change .ico…
PolGraphic
  • 3,233
  • 11
  • 51
  • 108
2
votes
1 answer

Favicon is not showing

I have a small problem. On some of my pages I cannot make favicon to be shown. On some pages everything is fine, and favicon is shown properly, however on other sites I cannot make the favicon to appear. I tried putting the ico file in the main…
user2463248
  • 167
  • 1
  • 8
2
votes
0 answers

How to get path to .ico file from .lnk

Possible Duplicate: Extract Icon from Windows .lnk (shortcut) file For example, I have a Shortcut (.LNK) file that has C:\Foo\bar.ico as it's icon. How can I get the path of the icon (C:\Foo\bar.ico) when supplied with just the shortcut file in…
chyyran
  • 2,446
  • 2
  • 21
  • 35
1
vote
1 answer

Question About Icons and GUI For Notepad++ Lovers

In the notepad++ website there's a technique to change the icons with any other "ico" format image. Each icon has it special name in order to be detected by notepad++. For instance, the new file icon is: new_normal.ico. The open file icon is:…
alexchenco
  • 53,565
  • 76
  • 241
  • 413