icns:   Apple Icon Files
pict->icns-bytes
7.0

icns: Apple Icon Files

Philip McGrath <philip at philipmcgrath dot com>

 (require icns) package: icns

This is a (very early-stage) library for working with Apple’s .icns icon file format.

procedure

(pict->icns-bytes pict)  bytes?

  pict : pict-convertible?
Like pict->argb-pixels, but returns bytes in Apple’s .icns icon file format. The pict will be scalled to various sizes, and, if it is not a square, it will be centered on a transparent square. There is currently no way to configure this behavior.