# Ico, Cur, Ani Export

**URL:** https://community.aseprite.org/t/ico-cur-ani-export/22416
**Category:** Scripts & Extensions
**Created:** [June 29, 2024, 4:50am UTC](https://community.aseprite.org/t/ico-cur-ani-export/22416 "2024-06-29T04:50:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![behreandtjeremy](https://community.aseprite.org/user_avatar/community.aseprite.org/behreandtjeremy/32/6606_2.png) [@behreandtjeremy](https://community.aseprite.org/u/behreandtjeremy)
#### Post date: [June 29, 2024, 4:50am UTC](https://community.aseprite.org/t/ico-cur-ani-export/22416/1 "2024-06-29T04:50:21Z")

</div>

Hi all,

I wrote a script to export ico, cur and ani files.

> **[GitHub - behreajj/AseIcoExport: Exports Aseprite files to 32-bit icos with...](https://github.com/behreajj/aseicoexport)**
>
> Exports Aseprite files to 32-bit icos with alpha. Supports some imports. - behreajj/AseIcoExport

Files are exported as 32-bit RGBA color, regardless of sprite color mode. Image sizes are promoted to the nearest greater power of 2. The maximum size is 256x256. For curs, the hotspot is set in the dialog by percentage, with (0, 0) being the top left corner and (100, 100) being the bottom right corner of the image.

There is limited import ability for 8-bit indexed, 24-bit RGB and 32-bit RGBA color. icos and curs have to use bitmaps, not pngs. anis have to contain icos or curs. The sprite palette is set to the first 256 used colors from bottom-left to top-right.

Aseprite has built-in support for icos, but they’ve not been working for me.

 ![settingCursorCap](https://community.aseprite.org/uploads/default/original/3X/a/3/a3744f37155bda968e0d803bb2648cef65229cbf.png)

No matter what color bit depth is chosen, icos and curs contain a 1-bit alpha mask (opaque or transparent). From what I’ve tested, exports work with cursor shadows; the script writes any color greater than zero as opaque. The above image shows the interface for Windows 10; Enable pointer shadow is in the bottom-left of the window.

 ![compatibilityTest](https://community.aseprite.org/uploads/default/original/3X/7/9/790e711410bf0a1cb2d2cab1dc030ef630e5fe6a.png)

Above is a compatibility test with Irfanview (for ani) and GIMP (for ico).
