Imsticker
This is a gem to quickly create iMessage Sticker Pack Xcode project from command line. You just need to prepare your sticker images and sticker sequence (animated sticker!) in a folder, and run one command. No need to drag and drop and clicking around in Xcode.
Requirement
- imagemagick:
brew install imagemagick
Installation
$ gem install imsticker
Usage
- Create a directory for your project.
- Create
stickers
directory inside your project directory and put all your stickers in it. Sticker sequence should be grouped in a directory. - Create an icon for the sticker pack with name
icon1024x768.png
and size1024x768 px
. - Run
imsticker init
in the root directory of your project. - Edit
info.json
file to edit the name of your project. - Run
imsticker
. - Your Xcode project will be created inside
output
directory. Open it using Xcode 8 or later.
Stickers
Prepare your stickers in structure like the following
- project_dir
|- info.json
|- icon1024x768.png
|- stickers
|- happy.png
|- mad.png
|- dancing
|- dancing01.png
|- dancing02.png
|- dancing03.png
|- dancing04.png
|- dancing05.png
|- dancing06.png
|- dancing07.png
- Stickers should be between 300 x 300 pixels and 618 x 618 pixels.
- The image must be a PNG, APNG, GIF or JPEG file.
- The file must be less than 500KB.
Demo
Video Here. Or GIF below.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/nicnocquee/imsticker.
License
The gem is available as open source under the terms of the MIT License.