2001-02-11 18:16:56

by Ryan Hairyes

[permalink] [raw]
Subject: linux-logo.h

Hello All,

Could anyone tell me about linux_logo.h. I want to put my
own picture in there. What format is the picture written in?
Any any idea on how I could change it? Also, could the
picture be any bigger than 80x80, I would like for it to take
up the whole screen.

Thanks in advance.

Ryan



2001-02-11 20:04:09

by Brad Douglas

[permalink] [raw]
Subject: Re: linux-logo.h

On 11 Feb 2001 19:14:58 +0000, Ryan Hairyes wrote:
> Hello All,
>
> Could anyone tell me about linux_logo.h. I want to put my
> own picture in there. What format is the picture written in?
> Any any idea on how I could change it? Also, could the
> picture be any bigger than 80x80, I would like for it to take
> up the whole screen.
>
> Thanks in advance.

Search for a program called fblogo. Sorry, I don't have a link handy,
but it's widely avaliable.

Thanks,

Brad Douglas
[email protected]
http://www.linux-fbdev.org


2001-02-12 10:54:45

by Mads Martin Joergensen

[permalink] [raw]
Subject: Re: linux-logo.h

* Ryan Hairyes <[email protected]> [Feb 11. 2001 19:18]:
> Hello All,
>
> Could anyone tell me about linux_logo.h. I want to put my
> own picture in there. What format is the picture written in?
> Any any idea on how I could change it? Also, could the
> picture be any bigger than 80x80, I would like for it to take
> up the whole screen.

There is a gimp plugin to make boot logos here:

http://registry.gimp.org/plugin?id=376

--
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic and
totally illogic, with just a little bit more effort."
-- A. P. J.

2001-02-12 19:08:36

by Torrey Hoffman

[permalink] [raw]
Subject: RE: linux-logo.h

Ryan Hairyes ([email protected]) said:
>Could anyone tell me about linux_logo.h. I want to put my
>own picture in there. What format is the picture written in?
>Any any idea on how I could change it? Also, could the
>picture be any bigger than 80x80, I would like for it to take
>up the whole screen.

Probably the best thing for you do is to check out the
FreeLords LPP patch, at http://lpp.freelords.org.

Some people consider that one overkill, however...

If you want to do it yourself, then the easiest way to put
your own picture into linux_logo.h is to get the GIMP plugin
called "glogo". I found a copy by searching on some GIMP
plugin index web pages. The linux_logo.h just stores the
images (and the palettes) as big arrays of hex numbers.

In the GIMP, you create three versions of your image - one
with 214 colors, one with 16, and one in black and white.
Then you run the glogo plugin and feed it your three images.
It will output a file that you can name linux_logo.h and
copy into the include/linux directory.

However, if I recall correctly, the 80x80 restriction is
coded into the kernel in at least two places, as well as the
glogo plug in. (yuck!)

So, what you really want is a patch I made for the 2.2.17
and later series which makes it easy to put bigger logos in,
and also center them on the screen and other little things.
My patch is not that exciting though, anyone with some C
programming skill could do the same thing in a couple of
hours, no previous kernel experience necessary.

I have a hacked up version of glogo to go along with my
kernel patch, which moves some of the LOGO_W and LOGO_H
#defines around to tidy it up a bit. It also makes it easy
to have completely different images for the 16 color and
B&W images - you could leave the 80x80 penguin in for those
if you want, while putting in a nice big 214 color logo.

If you want my patch and glogo hack, just email me.

There are other, similar patches out there. I read
about one last fall that actually had the ability to convert
a png into the linux_logo.h during a kernel build.

Also note that putting in a huge logo will make your kernel
bzImage or zImage noticeably larger. This is not likely to be
a problem if you use modules for most things.

Best wishes,

Torrey Hoffman
[email protected]