中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 04:15
47,811 topics / 349,897 posts / today 0 new / 48,256 members
GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » How to make the GRUB background image clear?
Printable Version  2,426 / 7
Floor1 yjjia Posted 2007-10-04 19:38
中级用户 Posts 107 Credits 300
GRUB background images only support 16 - bit colors, and doing it with Photoshop just causes distortion. I don't know which expert can know what software is best for making XPM images!
Floor2 fujianabc Posted 2007-10-04 21:51
金牌会员 Posts 1,616 Credits 3,467
Grub only supports 16-bit xpm
Floor3 lianjiang2004 Posted 2007-10-04 21:58
金牌会员 Posts 1,884 Credits 3,946
When the bugs are almost solved, the author will address such icing-on-the-cake functions. Under the current circumstances, relatively high requirements are put forward for the level of image creation and selection.
Floor4 lianjiang2004 Posted 2007-10-04 21:59
金牌会员 Posts 1,884 Credits 3,946
The simplest way is to use ready-made background images.
Floor5 wangjf Posted 2007-10-04 23:05
中级用户 Posts 63 Credits 254
The method of making xpm pictures under Windows

The background picture of GRUB needs to be a 640×480×8 (color depth is 4) 14-color xpm picture. Only when all the above conditions are met, the obtained xpm background picture will not be distorted after starting GRUB. The following introduces the method of making xpm pictures under Windows.

I. Required tools
1. FireWorks
2. ACD Photo Editor
3. Xnview

II. Prepare the picture you like (it can be commonly used formats such as JPG, PNG, etc.)

III. Open the picture with FireWorks, and then select - . As shown in Figure 1
1.jpg (52.02 KB)

2007-9-7 23:01

IV. Set the pixel width to 640 and the height to 480 in . As shown in Figure 2
2.jpg (31.57 KB)

2007-9-7 23:01

V. Set "Format" to BMP8 in , "Palette" to "Closest to Web" or "Best Fit" (preview which one is better by yourself), enter "14" in the right box (because GRUB only supports 14 colors), then check 100%, and finally click the button at the lower right to get a BMP format file. As shown in Figure 3. This step is the most critical.
3.jpg (35.73 KB)

2007-9-7 23:01


VI. Open the 01.BMP picture exported by FireWorks with ACD Photo Editor, open - option, change "256 colors (8 bits)" to "16 colors (4 bits)", and then save it as a *.BMP picture. As shown in Figure 4
4.jpg (52.92 KB)

2007-9-7 23:01


VII. The last step is to open the just BMP bitmap with Xnview, and then save it as XPM format.



After testing, the distortion situation of the XPM picture made by this method is smaller than the method provided by the previous forum friends.


Now upload the two pictures I made for everyone.

01.bmp (150.12 KB)

2007-9-7 23:03

02.bmp (150.12 KB)

2007-9-7 23:03

[ Last edited by wangjf on 2007-10-4 at 11:07 PM ]
Floor6 yjjia Posted 2007-10-05 05:10
中级用户 Posts 107 Credits 300
I also did this, but the picture isn't that nice
Floor7 wangjf Posted 2007-10-05 11:47
中级用户 Posts 63 Credits 254
At present, it can only be like this. If you want it to be more beautiful, you can only wait until the developer perfects the important functional parts and has time to do it later.
Floor8 yjjia Posted 2007-10-09 12:45
中级用户 Posts 107 Credits 300
Is there currently a better way to make the GRUB background better?
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023