https://github.com/osfunapps/os_android_google_play_feature_graphic_maker-py
This script will create a simple feature graphic for you to use in the Google Play store
https://github.com/osfunapps/os_android_google_play_feature_graphic_maker-py
android automation feature-graphic google-play image tools utils
Last synced: about 2 months ago
JSON representation
This script will create a simple feature graphic for you to use in the Google Play store
- Host: GitHub
- URL: https://github.com/osfunapps/os_android_google_play_feature_graphic_maker-py
- Owner: osfunapps
- License: mit
- Created: 2020-04-27T06:44:24.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-07T13:49:24.000Z (over 5 years ago)
- Last Synced: 2025-07-19T03:35:20.916Z (11 months ago)
- Topics: android, automation, feature-graphic, google-play, image, tools, utils
- Language: Python
- Homepage:
- Size: 58.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Introduction
------------
This script will create a simple feature graphic for you to use in the Google Play store.
## Installation
Install via pip:
pip install os-android-feature-graphic-maker
## Usage
```python
import os_android_feature_graphic_maker.feature_graphic_maker as fgm
fgm.create_feature_graphic(logo_path='/Users/home/Desktop/icons/chubby_logo.png',
output_path='/Users/home/Desktop/icons/feature_graphic.png',
gradient_background_hex_color_start='#ed4264',
gradient_background_hex_color_end='#ffedbc',
app_name='Catch The Chubby Hedgehog!',
app_name_custom_font_path='/Users/home/Library/Fonts/Consolas.ttf')
```
## Output

## Function Signature
```python
def create_feature_graphic(logo_path,
output_path,
fixed_background_hex_color=None,
gradient_background_hex_color_start=None,
gradient_background_hex_color_end=None,
app_name=None,
app_name_font_color_hex='#ffffff',
app_name_custom_font_path=None,
app_name_max_font_size=32,
app_name_distance_from_top=390,
logo_max_width_pixels=300,
logo_distance_from_top=40)
"""Will create the feature graphic.
Parameters:
:param logo_path: the path to your logo file
:param output_path: the path to which the feature graphic image will be saved
:param fixed_background_hex_color: if you would like to use a fixed hex for the background, set it here
:param gradient_background_hex_color_start: if you would like to use a dynamic background, set the start color here
:param gradient_background_hex_color_end: if you would like to use a dynamic background, set the end color here
:param app_name: the name of your app
:param app_name_font_color_hex: the color of your app name
:param app_name_custom_font_path: you can use a custom font for your app name. Just set it here
:param app_name_max_font_size: if the size is too big/small for you, you can set here a new static size
:param app_name_distance_from_top: set here the distance of the app name, from the image top
:param logo_max_width_pixels: the maximum width of the image (the height will be scaled proportionally
:param logo_distance_from_top: the distance of the logo from the top
"""
```
## Licence
MIT