Skip to content

guanlaoda/Android-Bootanimation-Optimizer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Bash script that optimizes a user selectable number of .png images in the form boot_xxxxx.png to reduce size using pngnq.

REQUIREMENTS
pngnq
PNG images in the form boot_xxxxx.png (for example boot_00001.png through to boot_00057.png) - must have 5 digits!

USE
1. Place script into directory with all boot_xxxxx.png images inside (preferably with all consecutive numbers present)
2. Set permissions to allow executing as a program
3. Open a command prompt, and cd (change directory) into the directory where the script and images are located
4. Run the script with the total number of images (highest number if you are missing consecutive numbers) as a parameter using the following
	./optimizepng.sh *number of images*
5. Let the script run and watch as your images can be reduced as much as 60% in size!

About

Bash script that optimizes .png images to reduce size using pngnq

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%