Hi,
recently I have worked on resizing the Android Marshmallow bootanimation for multiple screen resolutions. To make it easier for me, I created a shell script which enables me to easily resize the bootanimation files and pack them in a flashable zip. I thought it could be useful for other users here on XDA, so I'm sharing it with you here. You can find the tool in the Downloads section of this project.
Requirements:
Preparation:
Usage:
resize.sh parameters:
The resize.sh script is used like this:
The parameters being:
Example usage:
This will resize the original images to 800x600 px and then rotate them 90 degrees.
The resulting bootanimation will be saved to bootanimation-flashable-800x600-90deg.zip.
XDA:DevDB Information
Bootanimation Resizer, Tool/Utility for all devices (see above for details)
Contributors
frantisek.nesveda
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2015-08-23
Created 2015-08-23
Last Updated 2015-08-23
recently I have worked on resizing the Android Marshmallow bootanimation for multiple screen resolutions. To make it easier for me, I created a shell script which enables me to easily resize the bootanimation files and pack them in a flashable zip. I thought it could be useful for other users here on XDA, so I'm sharing it with you here. You can find the tool in the Downloads section of this project.
Requirements:
- Linux / OS X / other UNIX operating system
- imagemagick
- (Very) basic shell knowledge
Preparation:
- Download the bootanimation-resizer.zip from the Downloads section of this project
- Extract the tool to a folder of your choosing
- Copy the original bootanimation.zip to this folder (the actual bootanimation, not the flashable zip)
- OPTIONAL: Edit the updater script in recovery-zip/META-INF/com/google/android/updater-script
Usage:
- Run resize.sh with the right parameters
- The new bootanimation flashable zip will be saved in the folder where you extracted the tool
resize.sh parameters:
The resize.sh script is used like this:
Code:
./resize.sh WIDTH HEIGHT [ROTATION]
- WIDTH: the new width of the images
- HEIGHT: the new height of the bootanimation images
- ROTATION (optional): by how many degrees to rotate the animation (clockwise). The supported values are 0, 90, 180 and 270.
Example usage:
Code:
./resize.sh 800 600 90
The resulting bootanimation will be saved to bootanimation-flashable-800x600-90deg.zip.
XDA:DevDB Information
Bootanimation Resizer, Tool/Utility for all devices (see above for details)
Contributors
frantisek.nesveda
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2015-08-23
Created 2015-08-23
Last Updated 2015-08-23
Aucun commentaire:
Enregistrer un commentaire