Add frames and titles to your Google Play screenshots. Inspired by fastlane frameit
- Python 3.6
- ImageMagick
pip3 install androidframer==0.1
from androidframer import Framer
Framer("resources/framer.json", "resources/strings.json", "resources/images").start()
or clone this repo and then run the script below:
python3 sample.py
- background: Background frame. More frames can be found on Facebook Design.
- font: Title font
- fontsize: Title font size
- resize: Resize ratio of the source image
- xposition: X position of source image to background image
- yposition: Y position of source image to background image
- data: Title keys ("1" for 1.png) Currently supports 1 or 2 lines
- output: Directory to place output files
{
"background": "resources/background.png",
"data": {
"1": [
"title1_1",
"title1_2"
],
"2": [
"title2_1"
]
},
"font": "resources/font.ttf",
"fontsize":"108",
"xposition":156,
"yposition":780,
"resize":100,
"output": "resources/output"
}
For each language set strings for title keys specified in framer.json
{
"en-US": {
"title1_1": "Follow popular news",
"title1_2": "feeds",
"title2_1": "News summary"
},
"tr-TR": {
"title1_1": "Popüler haber sitelerini",
"title1_2": "takip edin",
"title2_1": "Haber özeti"
}
}