| Author |
Message |
shand
Joined: 30 Oct 2008 Posts: 28 Location: China
|
Posted: Wed 01 Apr 2009, 04:08 Post subject:
[Solved]How to open or edit the "logo.16" file in puppy4.2 |
|
Any idea?
Thanks![/b]
Last edited by shand on Fri 03 Apr 2009, 03:09; edited 1 time in total
|
|
Back to top
|
|
 |
Dougal

Joined: 19 Oct 2005 Posts: 2505 Location: Hell more grotesque than any medieval woodcut
|
Posted: Wed 01 Apr 2009, 05:32 Post subject:
|
|
That file is in a special format used by syslinux.
You need to use a util named lss16toppm to convert it first to the ppm format:
| Code: | | lss16toppm logo.16 > logo.ppm |
Then you need to convert it from ppm to another format, for editing...
| Code: | | ppmtoxpm logo.ppm > logo.xpm |
Then, when you're done, you need to reverse everything: xpmtoppm, then ppmtolss16...
Or you can just create an entirely new image... just make sure to keep the number of colours low (16, for example) and make sure that the image is "indexed" (in Mtpaint: Image-->convert to indexed -- if it says there "convert to RGB" then the image is already indexed). Then you just need to do the compression part (xpmtoppm, then ppmtolss16).
_________________ What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
|
|
Back to top
|
|
 |
shand
Joined: 30 Oct 2008 Posts: 28 Location: China
|
Posted: Wed 01 Apr 2009, 11:07 Post subject:
|
|
Thanks Dougal!
My boot image have changed as your method.
"lss16toppm logo.16 > logo.ppm",Perhaps it‘s your typo.
I entry code,such as: lss16toppm<logo.16>logo.ppm
B.Rgds
shand
|
|
Back to top
|
|
 |
wjaguar
Joined: 21 Jun 2006 Posts: 182
|
Posted: Thu 02 Apr 2009, 03:42 Post subject:
|
|
mtPaint can open and save "lss16" files directly. You can choose "LSS16" format in the "Save As" dialog if your image is indexed with 16 colours or less.
|
|
Back to top
|
|
 |
shand
Joined: 30 Oct 2008 Posts: 28 Location: China
|
Posted: Thu 02 Apr 2009, 05:19 Post subject:
|
|
Hey wjaguar, thanks for your reply.
so, It's easier to change the boot image...
|
|
Back to top
|
|
 |
WhoDo

Joined: 11 Jul 2006 Posts: 4441 Location: Lake Macquarie NSW Australia
|
Posted: Thu 02 Apr 2009, 05:27 Post subject:
|
|
| wjaguar wrote: | | mtPaint can open and save "lss16" files directly. You can choose "LSS16" format in the "Save As" dialog if your image is indexed with 16 colours or less. |
I didn't know that! That's really cool, Dmitry! It will make a huge difference to those who want to make a custom boot image for their puplets, etc.
_________________ Actions speak louder than words ... and they usually work when words don't!
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
|
|
Back to top
|
|
 |
|