Created
November 9, 2017 10:18
-
-
Save mirzak/664a5b9ab215d8cb6d3cdceca9fa2eea to your computer and use it in GitHub Desktop.
Convert image to ppm format suitable for Linux splashscreen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The logo_linux_clut224.ppm was generated in the following way | |
- open your desired splash screen image (bmp, jpeg, whateva) in GIMP | |
- File->Export As... | |
- Change the name to <image name>.ppm and save | |
- Choose "RAW" in the pop-up window that is showed | |
- Now we run the following comands | |
# This is to reduce color count to 224 | |
ppmquant 224 <image name>.ppm > <image name>_224.ppm | |
# Convert to ASCII! | |
pnmnoraw <image name>_224.ppm > logo_linux_clut224.ppm | |
Replace the file in this directory with the result from above commands. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment