# Convert ICNS to AVIF

Files are processed on our server, and the results are kept for a few minutes so you can download them, then deleted — whether or not you did. Free, no account, no watermark.

Results are deleted 15 minutes after the job finishes.

## API

POST the file as the raw request body to https://toolsforfree.app/api/jobs?from=icns&to=avif, then

GET https://toolsforfree.app/api/jobs/{taskId}?engine={engine} until state is done,
then GET https://toolsforfree.app/api/jobs/{taskId}/output?engine={engine}&format={format}, with the taskId, engine and format the 202 answers.

Details: https://toolsforfree.app/api.md

MCP: call convert_file at https://toolsforfree.app/mcp with from "icns" and to "avif".

## Options

Sent as JSON in the x-tff-options header. Bounds and allowed values are in https://toolsforfree.app/openapi.json.

- `image`: quality, targetKb, lossless, effort, width, height, fit, focus, allowEnlarge, stripMetadata, rotate, autoOrient, density, page, flip, background, crop

## Questions

### Does converting ICNS to AVIF lose quality?

Yes, in one way. An ICNS holds the same picture at several sizes, and only the largest comes across. With the Lossless switch on, AVIF keeps every pixel of that picture; left off, it is lossy, and the quality setting decides how much detail it keeps.

### Can I convert the AVIF back to ICNS?

Yes, but not as it was. An ICNS holds the picture at fixed square sizes, so the round trip resizes it and the ICNS you get back need not match the one you started with.

### What can I change about the AVIF it produces?

You can choose whether to keep every pixel, the quality, how long to spend, whether to keep EXIF, whether to turn it the way the camera recorded, the DPI a printer reads, the width and height, whether to keep the shape, a size by percent, and whether to enlarge. Anything left on Auto is decided by the encoder, which is usually the right answer unless you are targeting a specific size or device.
