中国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 03:14
47,811 topics / 349,897 posts / today 0 new / 48,256 members
GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Really simple way to make a GRUB background
Printable Version  12,347 / 25
Floor1 lcsteel Posted 2008-05-21 23:30
初级用户 Posts 8 Credits 37
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 ]
Floor2 lcsteel Posted 2008-05-22 09:37
初级用户 Posts 8 Credits 37
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".
Floor3 fujianabc Posted 2008-05-22 09:49
金牌会员 Posts 1,616 Credits 3,467
Support
Floor4 chenall Posted 2008-05-24 14:22
银牌会员 Posts 469 Credits 1,276 From 福建泉州
Thanks for sharing
Floor5 asan222 Posted 2008-05-24 16:13
新手上路 Posts 3 Credits 6
Thank you so much.. really good stuff. Push it up for everyone to share
Floor6 klongyun Posted 2008-05-25 14:19
新手上路 Posts 3 Credits 6
Thanks for the楼主's share...
Floor7 qieangel Posted 2008-05-28 11:33
新手上路 Posts 2 Credits 4
Thanks for sharing......
Floor8 fey1988 Posted 2008-05-29 15:02
初级用户 Posts 16 Credits 42
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.
Floor9 lcsteel Posted 2008-06-02 13:09
初级用户 Posts 8 Credits 37
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 ]
Floor10 bc12060101 Posted 2008-06-02 14:43
银牌会员 Posts 712 Credits 1,455
Hehe, although I have already downloaded it on Wuyou, I still help to top it. Thanks to the landlord for sharing!
Floor11 jh1688 Posted 2008-06-03 07:12
中级用户 Posts 126 Credits 248
Received one, thanks for sharing~~~~~~~~~~~~~~
Floor12 caoclz Posted 2008-07-26 19:19
新手上路 Posts 2 Credits 4
Thanks for sharing
Floor13 nethood Posted 2008-08-19 00:19
新手上路 Posts 1 Credits 2
Just what I needed. Thanks to the LZ
Floor14 testgrub Posted 2008-08-26 20:23
新手上路 Posts 1 Credits 2
Not bad, simple and practical.
Floor15 bc12060101 Posted 2008-08-26 21:14
银牌会员 Posts 712 Credits 1,455
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
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023