![]() The command supports a lot of customization through options, and you can find more information about each option by typing icongen stub -help. Here's the command that were run to get each icons above: #1 For example, here are some icons created using various commands: The application also supports creating "temporary" icons, that you would use during development if you don't have an icon yet (for example at project creation). The command supports a lot of customization through options, and you can find more information about each option by typing icongen mask -help Creating temporary icons The command used in the example was (it assumes that AppIcon.appiconset is the original App Icon Set and is in the current working directory): icongen mask AppIcon.appiconset \įor now, the command only supports adding a mask into the bottom-left corner, but allowing to add it anywhere is definitely a feature we want. The application also supports "masking" app icons, adding a small mask at the bottom-left corner of the icons, allowing for example to convert the following icons: There are more options to icongen generate which you can discover by running icongen generate -help. The type, if not specified, defaults to iphone.įor example, to generate icons for iPhones and iPads, and output the images set in Images.xcassets, run (assuming the path Icon PDF file is also in the current directory and is called Icon.pdf): icongen generate Icon.pdf Images.xcassets -type=iphone,ipad If the XCAsset Folder is not specified, then the current working is assumed to be the output folder. The base syntax of the command is: icongen generate -type= You can specify iPhone and iPad at the same time, however iMessage must be specified on its own. Please note that the Display P3 color space is not supported yetĪnd supports generating sticker packs icons for iMessage apps. Generate App Icon Setsįor now, the CLI supports generating app icon sets for all supported platforms: If you wish not to use sudo permissions to RubyGems, you can follow the instructions of the CocoaPods guys here, by replacing all cocoapods with ios_icon_generator in the shell commands. IOS Icon Generator is built using Ruby, and can be installed using its default local installation in your terminal via: sudo gem install ios_icon_generator stub: generates a default iOS App Icon Sets, using a background color, a text and its color.mask: generates a new iOS App Icon Sets from a base one, adding a mask at its bottom left which can be customized.generate: generates an iOS App Icon Set from a base PDF.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |