ICNS2PNG(1)
β¨ icns2png β the manual, but make it cute β¨
okay so bestie, welcome to icns2png, a little User Commands icon-gremlin that lives in your terminal and is so good at its one job π
πΈ NAME πΈ
icns2png β convert Mac OS .icns files to .png images π¦
π SYNOPSIS π
icns2png [-x|-l] [options] [file ... ]
that's it. that's the whole vibe. -x or -l, some options, some files, go off π
π DESCRIPTION π
icns2png extracts images out of mac .icns files and exports them to png format. that's literally it. it takes the icon soup and serves you individual pngs, plated, garnished, slay β¨
π OPTIONS π
-l,--listβ List the contents of one or more icns images. like a little window-shopping trip for icons ποΈ-x,--extractβ Extract one or more icons to png images. the main character option fr fr-o,--outputβ Where to place extracted files. If not specified, icons will be extracted to the same path as the source file. no-o? they just chill next to the original, home sweet home π‘-d,--depthβ Sets the pixel depth of the icons to extract. (1,4,8,32) β yes those are the only depths, don't be extra-s,--sizeβ Sets the width and height of the icons to extract. (16,48,etc) β Sizes16x12,16x16,32x32,48x48,128x128, etc. are also valid. so you can go square or go rectangle, your call πββοΈ-h,--helpβ Displays this help message. bestie needs a refresher sometimes π«Ά-v,--versionβ Displays the version information. proof it's the real one, no cap π§
π 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
look at these little one-liners. absolute icons. not me being obsessed with icns2png -x -s 32 -d 1 anicon.icns π
heads up: the comments in the examples wrap onto the next line in the original β the commands are the first part of each line, the # bits are the commentary. keep them exactly as written and you're golden β
π AUTHOR π
Written by Mathew Eis π
π COPYRIGHT π
Copyright Β© 2001-2008 Mathew Eis
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. (fr fr, no warranty, read the source if you wanna know the deets π₯)
and that's the whole page, bestie π this was icns2png version 1.5, from March 2008, a User Commands classic. go extract some icons, you got this π¦β¨π
π¦ where this page comes from
- arch rolling: libicns 0.8.1-11 Β· LGPL-2.1-or-later
- debian bookworm: icnsutils 0.8.1-3.1
- debian trixie: icnsutils 0.8.1.83.g921f972-0.1+b2 Β· LGPL-2.1-or-later
- epel 10: libicns-utils 0.8.1-32.el10_0 Β· LicenseRef-Callaway-LGPLv2+ AND GPL-2.0-or-later
- epel 9: libicns-utils 0.8.1-22.el9 Β· LGPLv2+ and GPLv2+
- fedora 43: libicns-utils 0.8.1-34.fc43 Β· LicenseRef-Callaway-LGPLv2+ AND GPL-2.0-or-later
- fedora 44: libicns-utils 0.8.1-35.fc44 Β· LicenseRef-Callaway-LGPLv2+ AND GPL-2.0-or-later
- nixos 26.05: libicns 0.8.1-unstable-2022-04-10
- nixpkgs unstable: libicns 0.8.1-unstable-2022-04-10
- opensuse-leap 16.0: icns-utils 0.8.1+git20201014-bp160.1.2 Β· GPL-2.0-only
- opensuse-leap 16.0: icns-utils 0.8.1+git20201014-bp160.1.2 Β· GPL-2.0-only
- opensuse-leap 16.0: icns-utils 0.8.1+git20201014-bp160.1.2 Β· GPL-2.0-only
- opensuse-leap 16.0: icns-utils 0.8.1+git20201014-bp160.1.2 Β· GPL-2.0-only
- ubuntu jammy: icnsutils 0.8.1-3.1
- ubuntu noble: icnsutils 0.8.1.83.g921f972-0.1build2 Β· LGPL-2.1-or-later
- ubuntu questing: icnsutils 0.8.1.83.g921f972-0.1build2
- ubuntu resolute: icnsutils 0.8.1.83.g921f972-0.1build3 Β· LGPL-2.1-or-later
- ubuntu stonking: icnsutils 0.8.1.83.g921f972-0.1build3 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms