Tools you need Photoshop or GNU Image processing tool (Fedora 10 ), Pe_mu, uedit. Procedure
1. Use the image processing tool GNU Image processing tool under Fedora First, open the image, first adjust the image to 640*480, then select the index in the Image menu mode, and select generate the optimal color palette in the pop-up dialog box, set the maximum number of colors to 14. Select Floyd steberger for Jitter (reduce the color loss), save it as an XPM file, and then compress it with gzip. 2. Practices in Windows: A) Conception:
Grub's current version only supports 16 colors. For ease of use, we use the Windows XP startup screen and use bootxp to extract two images (the two original images can be retrieved from Grub_splash_how2.zip In/splashimg/resources), combined into a picture:
B ). Modify images in Photoshop: 1 ).Open the image, index it, and open its color table. Change the value of the first three color blocks to 0x333333, and then set it to 14 colors. ("Index color" menu) ("Color table" menu) ("Adjust color value ") 2 ).Then convert the image to the RGB mode, and then "Index" It, Pay attention to the "14" in the Red Circle in the figure": ("RGB color" menu) ("Index again", pay attention to the selection in the red circle, and 14 !) > Save the image, for example Winxp.pro.2.bmp. The work is coming to an end. C). Actions in PE-EM: First, LetProgramAfter the startup, browse the winxp.pro.2.bmp folder, right-click the image, select "graphics conversion", and select XPM Format: (Image format conversion)
> In this way, we get WINXP. pro.2.xpm. Next, we will adjust this file so that it can be properly displayed for grub. D). Adjust the relevant data in uedit: WINXP. pro.2.xpm. is displayed in uedit. 1). "C #2d2d3e3ed2d2",-> "C # 2D (2D) 3E (3e) D2 (D2)",-> "C #2d3ed2 ", ();
2). "C #2d3ed2",-> "[Tab] C #2d3ed2 ", (); 3) put all0d 0a-> 0a, (B ); () (B) OK. Now, save XPM file, we can go to Vmware To test the effect, such: |