China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 03:27
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » How to make the GRUB background image clear? View 2,316 Replies 7
Original Poster Posted 2007-10-04 19:38 ·  中国 广东 阳江 电信
中级用户
★★
Credits 300
Posts 107
Joined 2007-09-15 17:34
18-year member
UID 97469
Gender Male
Status Offline
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!
Floor 2 Posted 2007-10-04 21:51 ·  中国 上海 浦东新区 电信
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
Grub only supports 16-bit xpm
Floor 3 Posted 2007-10-04 21:58 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
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.
Windows 一键还原
http://www.yjhy.com
Floor 4 Posted 2007-10-04 21:59 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
The simplest way is to use ready-made background images.
Windows 一键还原
http://www.yjhy.com
Floor 5 Posted 2007-10-04 23:05 ·  中国 广东 广州 中国科学院广州分院能源研究所
中级用户
★★
Credits 254
Posts 63
Joined 2003-04-08 00:00
23-year member
UID 1430
Gender Male
Status Offline
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 ]
Floor 6 Posted 2007-10-05 05:10 ·  中国 广东 阳江 江城区 电信
中级用户
★★
Credits 300
Posts 107
Joined 2007-09-15 17:34
18-year member
UID 97469
Gender Male
Status Offline
I also did this, but the picture isn't that nice
Floor 7 Posted 2007-10-05 11:47 ·  中国 广东 广州 中国科学院广州分院能源研究所
中级用户
★★
Credits 254
Posts 63
Joined 2003-04-08 00:00
23-year member
UID 1430
Gender Male
Status Offline
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.
Floor 8 Posted 2007-10-09 12:45 ·  中国 广东 阳江 电信
中级用户
★★
Credits 300
Posts 107
Joined 2007-09-15 17:34
18-year member
UID 97469
Gender Male
Status Offline
Is there currently a better way to make the GRUB background better?
迅源电脑,欢迎软件下载!
http://www.wou88.cn
Forum Jump: