# Convert PDF to ICNS

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=pdf&to=icns, 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 "pdf" and to "icns".

## Questions

### Does converting PDF to ICNS lose quality?

Yes, in one way. An ICNS holds the picture at a few fixed square sizes, so it is resized to each of them, padded with transparency if it is not square, and a small picture comes out soft at the larger sizes. An ICNS holds one page, so only the first page of the PDF comes across.

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

Yes, but not as it was. An ICNS holds the picture at fixed square sizes, so the round trip resizes it and the PDF you get back need not match the one you started with. And only the first page comes back: the others never made it into the ICNS.

### How is a PDF made into an ICNS?

In two steps, one after the other, both on our server: the PDF is made into a PNG, and that PNG into the ICNS. The PNG in between never leaves the server and is deleted as soon as the second step has read it.
