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-24 21:43
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Really simple way to make a GRUB background View 11,833 Replies 25
Original Poster Posted 2008-05-21 23:30 ·  中国 上海 杨浦区 电信
初级用户
Credits 37
Posts 8
Joined 2007-09-24 15:19
18-year member
UID 98190
Gender Male
Status Offline
Regarding creating a GRUB background image, I saw a netizen mention:

In Linux, just one command does it
convert -resize 640x480 -colors 14 orgname.jpg bootimg.xpm

Actually, there is a Windows version of convert, see the attachment.

Under Windows, the usage is:
Extract the convert tool from the attachment to any directory, enter the directory where convert is located in the command line, and then enter the command in the following format to complete the conversion in one go:
convert abc.jpg -colors 14 -geometry 640x480! abc.xpm
After conversion, you can compress it into gz format using gzip or wingzip.


Original and effect images in xpm format:
http://www.namipan.com/d/hoo.xpm.rar/59aee50a6a848ec22e534e0ede12265a2531746571d30000

Convert tool:
http://www.namipan.com/d/convert.7z/2f08ae6b2a5e6bb43ea5c44724db8d023edf9adb26611300

[ Last edited by lcsteel on 2008-5-21 at 11:39 PM ]
Recent Ratings for This Post ( 3 in total) Click for details
RaterScoreTime
fastslz +10 2008-05-25 14:31
fujianabc +7 2008-06-03 10:05
zhxy9804 +2 2008-06-22 16:43
Floor 2 Posted 2008-05-22 09:37 ·  中国 上海 杨浦区 电信
初级用户
Credits 37
Posts 8
Joined 2007-09-24 15:19
18-year member
UID 98190
Gender Male
Status Offline
Is no one wanting this thing?

Actually, this convert is from ImageMagick. I installed many different versions of ImageMagick for testing and then extracted this green and usable convert.

I saw on the ImageMagick Chinese website that there are: 16-bit pixel Windows installer (including DLL), 8-bit pixel Windows installer (including DLL), 16-bit pixel Windows installer, 8-bit pixel Windows installer and Linux and other different versions. The attachment is extracted from the "8-bit pixel version".
Floor 3 Posted 2008-05-22 09:49 ·  中国 上海 中国科学院上海分院
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
Support
Floor 4 Posted 2008-05-24 14:22 ·  中国 福建 泉州 石狮市 电信
银牌会员
★★★
Credits 1,276
Posts 469
Joined 2002-12-23 13:00
23-year member
UID 586
Gender Male
From 福建泉州
Status Offline
Thanks for sharing
QQ:366840202
http://chenall.net
Floor 5 Posted 2008-05-24 16:13 ·  中国 福建 泉州 电信
新手上路
Credits 6
Posts 3
Joined 2008-05-14 20:05
18-year member
UID 118686
Gender Male
Status Offline
Thank you so much.. really good stuff. Push it up for everyone to share
Floor 6 Posted 2008-05-25 14:19 ·  中国 上海 闵行区 电信
新手上路
Credits 6
Posts 3
Joined 2006-01-09 22:25
20-year member
UID 48717
Status Offline
Thanks for the楼主's share...
Floor 7 Posted 2008-05-28 11:33 ·  中国 河北 石家庄 联通
新手上路
Credits 4
Posts 2
Joined 2008-03-17 18:03
18-year member
UID 113227
Gender Male
Status Offline
Thanks for sharing......
Floor 8 Posted 2008-05-29 15:02 ·  中国 广西 柳州 电信
初级用户
Credits 42
Posts 16
Joined 2008-05-19 01:34
18-year member
UID 119061
Gender Male
Status Offline
Just used. After conversion, the quality is too poor. Still, converting with XNVIEW to a gray-scale 16-level dither effect is the best. The effect of color images after conversion by any software will not be ideal. Only the gray-scale + dither effect is the best.
Floor 9 Posted 2008-06-02 13:09 ·  中国 上海 杨浦区 电信
初级用户
Credits 37
Posts 8
Joined 2007-09-24 15:19
18-year member
UID 98190
Gender Male
Status Offline
Originally posted by fey1988 at 2008-5-29 03:02 PM:
Just used it.
The quality after conversion is too poor. Still, converting to 16-level dither in gray scale with XNVIEW is the best.
No matter what software is used to convert color images, the effect will not be ideal. Only the effect of gray scale + dither is the best.

The 14-color color really isn't very good. Just as you said, "No matter what software is used to convert color images, the effect will not be ideal." The effects converted by other software are also like this, and even not as good as this effect. But after using it, I feel that this is still relatively convenient.

[ Last edited by lcsteel on 2008-6-2 at 01:11 PM ]
Floor 10 Posted 2008-06-02 14:43 ·  中国 河南 洛阳 电信
银牌会员
★★★
Credits 1,455
Posts 712
Joined 2006-01-20 10:26
20-year member
UID 49246
Status Offline
Hehe, although I have already downloaded it on Wuyou, I still help to top it. Thanks to the landlord for sharing!
Floor 11 Posted 2008-06-03 07:12 ·  中国 上海 杨浦区 电信
中级用户
★★
Credits 248
Posts 126
Joined 2008-05-30 17:18
18-year member
UID 120118
Gender Male
Status Offline
Received one, thanks for sharing~~~~~~~~~~~~~~
Floor 12 Posted 2008-07-26 19:19 ·  中国 浙江 嘉兴 联通
新手上路
Credits 4
Posts 2
Joined 2007-11-02 23:27
18-year member
UID 101540
Gender Male
Status Offline
Thanks for sharing
Floor 13 Posted 2008-08-19 00:19 ·  中国 辽宁 沈阳 和平区 电信
新手上路
Credits 2
Posts 1
Joined 2006-03-11 01:15
20-year member
UID 51767
Status Offline
Just what I needed. Thanks to the LZ
Floor 14 Posted 2008-08-26 20:23 ·  中国 安徽 合肥 电信
新手上路
Credits 2
Posts 1
Joined 2008-08-26 17:11
17-year member
UID 124217
Gender Male
Status Offline
Not bad, simple and practical.
Floor 15 Posted 2008-08-26 21:14 ·  中国 河南 洛阳 电信
银牌会员
★★★
Credits 1,455
Posts 712
Joined 2006-01-20 10:26
20-year member
UID 49246
Status Offline
Heheh, adjust the order of the commands under win with reference to the commands in the linux environment:
convert -geometry 640x480 -colors 14 abc.jpg abc.xpm
Then you will get an effect that is really different.

Of course, it's not impossible to directly use the linux commands under win
convert -resize 640x480 -colors 14 orgname.jpg bootimg.xpm
Forum Jump: