Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 22 Oct 2014, 10:05
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
[Solved]How to open or edit the "logo.16" file in puppy4.2
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
shand

Joined: 30 Oct 2008
Posts: 28
Location: China

PostPosted: 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
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: 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
View user's profile Send private message 
shand

Joined: 30 Oct 2008
Posts: 28
Location: China

PostPosted: 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
View user's profile Send private message 
wjaguar

Joined: 21 Jun 2006
Posts: 280

PostPosted: 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
View user's profile Send private message 
shand

Joined: 30 Oct 2008
Posts: 28
Location: China

PostPosted: 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
View user's profile Send private message 
WhoDo


Joined: 11 Jul 2006
Posts: 4441
Location: Lake Macquarie NSW Australia

PostPosted: 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! Cool It will make a huge difference to those who want to make a custom boot image for their puplets, etc. Smile

_________________
Actions speak louder than words ... and they usually work when words don't!
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0533s ][ Queries: 11 (0.0040s) ][ GZIP on ]