Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] "Icon" Editor???
Date: Mon, 01 Jun 2009 18:22:31
Message-Id: 200906011922.26489.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] "Icon" Editor??? by meino.cramer@gmx.de
1 On Monday 01 June 2009, meino.cramer@×××.de wrote:
2 > Jacob Todd <jaketodd422@×××××.com> [09-06-01 18:12]:
3 > > What format are the icons? What's 'Indexed mode'? What are 'Button
4 > > Screens'?
5 > >
6 > > On Mon, Jun 01, 2009 at 04:58:52PM +0200, meino.cramer@×××.de wrote:
7 > > > Hi,
8 > > >
9 > > > I am trying to create "button screens" and such stuff for a touch
10 > > > enabbles LCD of 160x80 pixels (pure black and white).
11 > > >
12 > > > Unfortunately I couldn't convince gimp to set black pixels
13 > > > when using Indexed mode...
14 > > >
15 > > > And converting an rgb/grayscaled picture to b/w is no option,
16 > > > since on a 160x80 "screen" this would result in broken lines
17 > > > and such...
18 > > >
19 > > > I there any Icon-Editor which is able to handle text (kiconeditor
20 > > > can't do that) and the other more general graphical drawing
21 > > > operations?
22 > > >
23 > > > Or any other application with which I could acchieve what I want?
24 > > >
25 > > > Thank you very much for any help in advance!
26
27 >
28 > Format is any format. which supports pure b/w pixels...pbm for
29 > example.
30 > Button screens are screens, on which button are drawn, since on
31 > screen sizeof of a handfull of pixels (160x80) in this case it is
32 > not useful to use windowmanager or XLibs or such to draw on to
33 > the screens. The screens are predefined and put onto the LCD
34 > when necassary.
35 > Indexed mode is a way to store the colors of a picture:
36 > True color: Each picture cell (short pixel) contains the bytes of
37 > bits defining the absoulte color value for red green and blue (rgb).
38 > Indexed mode: Each picture cell contains an index into an array of
39 > predefined rgb tripel.
40 > Most often, programs which do support only treu color does not
41 > understand to export to pure b/w image formats.
42 > Programs understanding indexed mode do more often pure b/w...
43 >
44 > Based on this, what program would you suggest to use, Jake?
45
46 Don't know about Jake, but I suggest you use Gimp.
47
48 Gimp is ideal for creating icon files (as in ico file type) although I am not
49 sure that's what you're talking about. If converting an RGB file to b&w is a
50 problem, you could try desaturating the image while in RGB and then
51 converting it to index mode. It is always better to work on an RGB file and
52 then convert it to Index mode when the image is complete. If the icon image
53 is displaying lines when rendered, I suspect the image is distorting due to
54 incorrect width and height settings in the conversion code, or the icon image
55 has not been created with the correct height and width for the default
56 settings of an icon file (ie: 16x16 px or 32x32 px).
57 --
58 Regards,
59 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature