Giter Club home page Giter Club logo

android-frameit's Introduction

Python application

android-frameit

A tool for rendering a device frame around screenshots with text and a background image. Google recommends not using framed screenshots in Play Store. Nevertheless, a lot of companies do that for conversion optimization.

Related projects

The most famous framing solution is integrated into fastlane. It works well for iOS but unfortunately not for Android. Even though there is enough demand for an Android implementation, at the time of creating this project it did not exist yet.

Installation

You should have Python with Pillow installed, preferably via pipenv.

pipenv install

Usage

Edit the src/frameit.py configuration to match your needs and run it:

pipenv run python src/frameit.py <path to screenshots> --background default.jpg

So, to convert the example_screenshots which are bundled in this project, you can run

pipenv run python src/frameit.py example_screenshots/ --background default.jpg

Here is an example to convert a single screenshot

FramedImage(background_name="frame_dog_paws.png", frame="pixel2xl",
            screen_shot="screenshot_phone.png", output_name="output_phone") \
            .add_text("Zooplus Android App",
                      "Von überall bequem und schnell durch\nmehr als 8.000 Produkte für Ihr Haustier stöbern",
                      title_font='fonts/MYRIADPRO-BOLDCOND.otf', text_font='fonts/HelveticaNeueLTPro-LtCn.otf') \
            .save()

It will transform a typical screenshot like

Screenshot

into a framed image with text:

Framed

For more details on the available parameters type

pipenv run python src/frameit.py -h

Credits

Developed for Zooplus by Ulrich Scheller

android-frameit's People

Contributors

uscheller avatar arcones avatar dependabot-preview[bot] avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.