logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

icns2png - convert Mac OS icns files to png images

Author

       Written by Mathew Eis

Description

       icns2png extracts images from mac .icns files, and exports them to png format.

Examples

       icns2png -x anicon.icns            # Extract all icon found in anicon.icns
       icns2png -x-s 48 anicon.icns      # Extract all 48x48 32-bit icons
       icns2png -x-s 32 -d 1 anicon.icns # Extract all 32x32 1-bit icons
       icns2png -l anicon.icns            # Lists the icons contained in anicon.icns

Name

       icns2png - convert Mac OS icns files to png images

Options

-l, --list
              List the contents of one or more icns images

       -x, --extract Extract one or more icons to png images

       -o, --output
              Where  to place extracted files. If not specified, icons will be extracted to the same path as the
              source file.

       -d, --depth
              Sets the pixel depth of the icons to extract. (1,4,8,32)

       -s, --size
              Sets the width and height of the icons to extract. (16,48,etc) Sizes 16x12, 16x16,  32x32,  48x48,
              128x128, etc. are also valid.

       -h, --help
              Displays this help message.

       -v, --version Displays the version information

Synopsis

icns2png [-x|-l] [options] [file ... ]

See Also