New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@randy.tarampi/android-splash-generate

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@randy.tarampi/android-splash-generate

Generate all required splash screen images from one source. Right size, right file name.

  • 3.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

android-splash-generate

Build Status Dependency Status devDependency Status

Generate all required splash screen images from one source. Right size, right file name.

The default splash screen image file names and required sizes for android are retrieved from the android-splash module.

The files created have the default names as you might want to use them, for example, in config.xml of a PhoneGap/Cordova project and the correct dimensions.

Important

Require node.js v0.10.46 and npm v2.15.1

How does it work?

A 2208x2208 source image gets scaled first and then cropped to the target dimensions. If you put the relevant part (logo, text, etc.) of your splash screen in the exact center of your source image, this means that the resulting images are all going to be centered as well.

Install

$ npm install --save @randy.tarampi/android-splash-generate

Usage

var generate = require('@randy.tarampi/android-splash-generate');

generate('path/to/source.png', 'output/splash/').then(function() {
	// splash images created
});

CLI

$ npm install --global @randy.tarampi/android-splash-generate
$ android-splash-generate --help
Generate all required splash screen images from one source. Right size, right file name.

Example
  $ android-splash-generate -i path/to/source.png -o path/to/output/
	

License

MIT © David Pfahler

Keywords

FAQs

Package last updated on 01 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc