[Solved]How to open or edit the "logo.16" file in puppy4.2

Booting, installing, newbie
Post Reply
Message
Author
shand
Posts: 28
Joined: Fri 31 Oct 2008, 02:08
Location: China

[Solved]How to open or edit the "logo.16" file in puppy4.2

#1 Post by shand »

Any idea?
Thanks![/b]
Last edited by shand on Fri 03 Apr 2009, 07:09, edited 1 time in total.

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#2 Post by Dougal »

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: Select all

lss16toppm logo.16 > logo.ppm
Then you need to convert it from ppm to another format, for editing...

Code: Select all

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

shand
Posts: 28
Joined: Fri 31 Oct 2008, 02:08
Location: China

#3 Post by shand »

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

wjaguar
Posts: 359
Joined: Wed 21 Jun 2006, 14:16

#4 Post by wjaguar »

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.

shand
Posts: 28
Joined: Fri 31 Oct 2008, 02:08
Location: China

#5 Post by shand »

Hey wjaguar, thanks for your reply.
so, It's easier to change the boot image...

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#6 Post by WhoDo »

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! 8) It will make a huge difference to those who want to make a custom boot image for their puplets, etc. :)
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

Post Reply