Git Product home page Git Product logo

app-screenshots-batch-generate's Introduction

App Generate Screenshots

Welcome

This is a new project built for the purpose of providing a quick method to generate images for the different sizes and orientations for major app platforms. The original version will run primarily as a web app using Javascript.

Usage

NPM Installation

npm i -g app-g-screenshots

NPM Instructions

Type app-g-screenshots -h for a list of commands. The app is designed to search the configured folder for images and then generate them in the configured output folder.

* Recomended file input image ratios for this generator is as follows:
For iOS Screenshots
  • 5.5inch - 16 : 9 ratio
  • 12.9inch - 27 : 20 ratio
For Android Screenshots
  • 5.1inch - 16 : 9 ratio
  • 10inch - 16 : 9 ratio
Limitations
  • Requires [email protected] or above.
  • Can only store one global configuration at a time. If dealing with multiple projects, you should use the --in and --out options every time you use the -g function, which will set configuration on the fly.
  • Only has two profiles for two operating systems and two size profiles, will add to this list on request.

Web App

You can run the code in the browser from Codepen below:

Checkout the Codepen

Web App Instructions

Upload one picture or more pictures and you can output default screenshot sizes for ios and android phone and tablet.

Trademarks

All the following trademarks are the properties of their respective owners as listed below. Should any trademark attribution be missing, mistaken or incorrect, please contact me at [email protected] as soon as possible to fix it.

  • Android is a trademark of Google LLC.
  • IOS is a trademark or registered trademark of Cisco in the U.S. and other countries and is used under license.

app-screenshots-batch-generate's People

Contributors

crushingcodes avatar

app-screenshots-batch-generate's Issues

Saveas not defined on mac web

Hey I like your app. I had to add this line of script in codepen to get it to work:

<script src="https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/1.3.8/FileSaver.js"></script>

IOS also needs a 6.5" iphone screenshot I think. I added that too.
"6.5": { sizeName: "6.5inch", pHeight: 2688, pWidth: 1242, lHeight: 1242, lWidth: 2688, platform: osTypes.ios },

https://codepen.io/samhammer325/pen/eYJZRVw

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.