Mac command line tools for working with .icns icon files and image file formats.
geticon
andseticon
can be used to get and set an icon of a file or folder.image2icns
andicns2image
are there to convert icons from/to images.
In January 2022 in wanted to learn more about programming in general and image/icon processing in particular. I found and forked the command line utilities suite osxiconutils, which was developed from 2003 by Sveinbjorn Thordarson, who finally stopped his work on it in 2020. “Created a long time ago” wrote Thordarson.
I renamed it to Classiiccons because I found the name appropriate for this “historical” work and I have a weakness for extraordinary unique names.
The osxiconutils suite uses IconFamily, a Cocoa/Objective-C wrapper for Mac OS X Icon Services’ “IconFamily” data type by Troy Stephens and many other developers.
Just don’t expect anything from this repository. It is just for me to learn and understand. There are plenty of modern ports of the components used here.
Copyright © 2003-2020 Sveinbjorn Thordarson.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-
Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.