|
lcsteel
初级用户
 
积分 37
发帖 8
注册 2007-9-24
状态 离线
|
 『楼 主』:
真正的超简单制作grub背景
使用 LLM 解释/回答一下
关于制作grub背景图,看到有网友提到:
linux底下一条命令就行了
convert -resize 640x480 -colors 14 orgname.jpg bootimg.xpm
其实是有win版的convert的,见附件.
在win下用法:
解压附件中的convert工具到任意目录,命令行下进入convert所在目录,按如下格式输入命令即可完成转换,真正一步到位:
convert abc.jpg -colors 14 -geometry 640x480! abc.xpm
转换好后可用gzip或wingzip压缩成gz格式.
xpm格式原图效果图:
http://www.namipan.com/d/hoo.xpm.rar/59aee50a6a848ec22e534e0ede12265a2531746571d30000
convert转换工具:
http://www.namipan.com/d/convert.7z/2f08ae6b2a5e6bb43ea5c44724db8d023edf9adb26611300
Last edited by lcsteel on 2008-5-21 at 11:39 PM ]
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 ]
|
|
2008-5-21 23:30 |
|
|
lcsteel
初级用户
 
积分 37
发帖 8
注册 2007-9-24
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
这东东没人要?
其实这个convert是imagemagick里面的,偶装了好多不同版本的imagemagick测试才提取了这个绿色可用的convert.
偶在imagemagick中文站看到有:16位像素Windows安装程序(含DLL),8位像素Windows安装程序(含DLL),16位像素Windows安装程序,8位像素Windows安装程序及linux等不同版本,附件中的是从“8位像素版”中提取的。
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".
|
|
2008-5-22 09:37 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
|
2008-5-22 09:49 |
|
|
chenall
银牌会员
    
积分 1276
发帖 469
注册 2002-12-23 来自 福建泉州
状态 离线
|
|
2008-5-24 14:22 |
|
|
asan222
新手上路

积分 6
发帖 3
注册 2008-5-14
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
太谢谢。。真是好东西。顶上去大家分享
Thank you so much.. really good stuff. Push it up for everyone to share
|
|
2008-5-24 16:13 |
|
|
klongyun
新手上路

积分 6
发帖 3
注册 2006-1-9
状态 离线
|
|
2008-5-25 14:19 |
|
|
qieangel
新手上路

积分 4
发帖 2
注册 2008-3-17
状态 离线
|
|
2008-5-28 11:33 |
|
|
fey1988
初级用户
 
积分 42
发帖 16
注册 2008-5-19
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
刚用了
转换过后质量太差,还是用 XNVIEW 转换成 灰白 16 级抖动效果最好
彩色的图片无论经过什么软件转换后效果都不会理想的,只有用 灰白+抖动 效果最佳
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.
|
|
2008-5-29 15:02 |
|
|
lcsteel
初级用户
 
积分 37
发帖 8
注册 2007-9-24
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
Originally posted by fey1988 at 2008-5-29 03:02 PM:
刚用了
转换过后质量太差,还是用 XNVIEW 转换成 灰白 16 级抖动效果最好
彩色的图片无论经过什么软件转换后效果都不会理想的,只有用 灰白+抖动 效果最佳
14色的彩色,效果确实好不到哪去。正像你说的“彩色的图片无论经过什么软件转换后效果都不会理想的”,用其他的软件转换出的也是这个腔调,甚至还没这个效果好,但使用下来觉得这个还是比较方便的。
Last edited by lcsteel on 2008-6-2 at 01:11 PM ]
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 ]
|
|
2008-6-2 13:09 |
|
|
bc12060101
银牌会员
    
积分 1455
发帖 712
注册 2006-1-20
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
嘿嘿,虽说在无忧已经下过了,但还是帮顶一下。谢谢楼主分享!
Hehe, although I have already downloaded it on Wuyou, I still help to top it. Thanks to the landlord for sharing!
|
|
2008-6-2 14:43 |
|
|
jh1688
中级用户
  
积分 248
发帖 126
注册 2008-5-30
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
收了一个,谢谢分享~~~~~~~~~~~~~~
Received one, thanks for sharing~~~~~~~~~~~~~~
|
|
2008-6-3 07:12 |
|
|
caoclz
新手上路

积分 4
发帖 2
注册 2007-11-2
状态 离线
|
|
2008-7-26 19:19 |
|
|
nethood
新手上路

积分 2
发帖 1
注册 2006-3-11
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
正需要呢
谢谢楼主
Just what I needed. Thanks to the LZ
|
|
2008-8-19 00:19 |
|
|
testgrub
新手上路

积分 2
发帖 1
注册 2008-8-26
状态 离线
|
|
2008-8-26 20:23 |
|
|
bc12060101
银牌会员
    
积分 1455
发帖 712
注册 2006-1-20
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
嘿嘿,将win下的命令参照 linux 环境中的命令调整一下顺序:
convert -geometry 640x480 -colors 14 abc.jpg abc.xpm
则会收到不是一般的不一样的效果哦。
当然了,直接在win下面使用linux底下的命令也没有什么不行滴
convert -resize 640x480 -colors 14 orgname.jpg bootimg.xpm
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
|
|
2008-8-26 21:14 |
|