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 Sat 25 Oct 2014, 08:01
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 Posts_count  
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]

Edited_time_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: 283

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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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