Skip to content

Commit

Permalink
GITBOOK-204: Add note about exporting ICO files
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzhao authored and gitbook-bot committed Feb 13, 2025
1 parent a1935f5 commit 283158f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion guides/create-and-add-icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ On platforms that have high-DPI support (such as Apple Retina displays), you can

If you want to support different displays with different DPI densities at the same time, you can put images with different sizes in the same folder and use the filename without DPI suffixes. For example:

```text
```
images/
├── icon.png
├── [email protected]
Expand All @@ -39,6 +39,10 @@ The recommended file formats and icon sizes for each platform are as follows:
| Windows | `.ico` | 256x256 pixels |
| Linux | `.png` | 512x512 pixels |

{% hint style="warning" %}
On Windows, ensure that your `.ico` file is exported from an image editor that supports the format (such as [GIMP](https://www.gimp.org/)). Renaming a `.png` file into `.ico` will result in a `Fatal error: Unable to set icon` error.
{% endhint %}

## Setting the app icon

### Windows and macOS
Expand Down

0 comments on commit 283158f

Please sign in to comment.