You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

dakoo

Beginner

  • "dakoo" started this thread

Posts: 21

Location: I N D I A

  • Send private message

1

Sunday, July 4th 2004, 11:01pm

........need help to develop a s/w 4 icon managment pls anyo

i with a bunch of friends want to make a s/w like icon packager in linux....

we want to know which file associates icons in the themes to files in KDE....

is there a way to may icon size to 128x128 pixel in the browser....

we want to make a program that will enable to cange icon of a predefined folder....

and also allows make themes easily ....

info on HOW to make theme will also be helpfull ...

pls reply with any link/mailid/forum of source who can help...

we want to do it from a long time....

rush_on_net@indiatimes.com
vinayak_shukre@indiatimes.com
O P E N ur M I N D

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Monday, July 5th 2004, 7:39am

I am not sure what exactly you want to know.

KDE's icons are in the directories under KDEPREIX/share/icons

The current theme selects the subdirectory, for example crystalsvg

Icons are usually in PNG format.

Which icon is sued for which purpose is decided by the name, that is the icon loader looks for an icon with a specific name, if it can't find it in the current theme, it will try to find it in the default theme, called "hicolor"

There is some ongoing work on freedesktop.org for unified icon specifications shared among free software desktops.

For information on how to make icon themes, I suggest asking on kde-look.org

Cheers,
_
Qt/KDE Developer
Debian User

dakoo

Beginner

  • "dakoo" started this thread

Posts: 21

Location: I N D I A

  • Send private message

3

Monday, July 5th 2004, 11:50pm

"Which icon is sued for which purpose is decided by the name, that is the icon loader looks for an icon with a specific name, if it can't find it in the current theme, it will try to find it in the default theme, called "hicolor" "

thnx , anda_skoa ...

now how does icon loader look for an icon with specific name is what i want to know...

there must be some file which hold info about linking of these specified names of icons and what purpose it is used which is it ?

or the prog src which does this ...

also if U can tell how to get the resolution to 128x128 pixel in explorer it will help ...

i suppose by default it supports 64x64...

Is there any way to make icon themes apart from name the icons with specific name....
O P E N ur M I N D

dakoo

Beginner

  • "dakoo" started this thread

Posts: 21

Location: I N D I A

  • Send private message

4

Tuesday, July 6th 2004, 12:03am

also anda_skoa woth this method
now i have to rename icons for each resolution..

is there a prog like (axilas icon workshop) which convert macx file to png in linux...

anda_skoa ur email id could be useful ...pls...
mailxrush@yahoo.com
O P E N ur M I N D

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

5

Thursday, July 8th 2004, 2:21pm

Quoted

Original von dakoo

now how does icon loader look for an icon with specific name is what i want to know...

there must be some file which hold info about linking of these specified names of icons and what purpose it is used which is it ?

The programs look choose which icon to load, unless it is a standard action icon (for example the one for "open file") which are usually used through the KStdAction functions.

Quoted


Is there any way to make icon themes apart from name the icons with specific name....


No idea, try to ask on kde-looks.org, lot of artistic people hang around there, some who already created icon themes themselves.

Cheers,
_
Qt/KDE Developer
Debian User

seb

Professional

Posts: 622

Location: Sydney

Occupation: Student

  • Send private message

6

Thursday, July 8th 2004, 2:49pm

Quoted

Original von dakoo


Is there any way to make icon themes apart from name the icons with specific name....


Why do you need to do that?

I'm not entirely sure i understand what your needs are.

dakoo

Beginner

  • "dakoo" started this thread

Posts: 21

Location: I N D I A

  • Send private message

7

Tuesday, July 20th 2004, 6:01pm

pls have a look at stardock site

hey ....

been wating for replies ...

if u dont get what i wanna say ...

have a look at stardock's s/w ICON PACKAGER for windows ...
http://www.stardock.com/

for conversion of mac icons to windows see AXILAS ICON WORKSOP....
http://www.axialis.com/

for unzipping stuffit is used ....

i would like to combine all with some added features ....

coustomizing will be great for newbees who will hook on to linux ...

and making it easier will be gr8 ....

having a theme file which manages all resolutions like *.ip for icon packager makes making theme very easy ....


pls dont say U didn't understand ....
i am tired of saying same thing and wating too ;-)...
O P E N ur M I N D

8

Sunday, July 25th 2004, 2:07am

The best place to ask these questions is http://www.kde-look.org since there are many people over there that create icon themes on a regular basis. Also it is kind of hard to understand what people mean when they type like how someone would talk after they just ran a marathon.

Probably a good way to try and learn a little is looking in the icons directory. On RedHat systems (and Fedora), the icon directory is generally '/usr/share/icons/'. Each subfolder of that directory is generally a different theme. Other distrobutions will generally have different icon directories.

dakoo

Beginner

  • "dakoo" started this thread

Posts: 21

Location: I N D I A

  • Send private message

9

Friday, August 6th 2004, 1:49pm

pls i have nothing to do with icon creation

its regarding how to devlop the s/w
O P E N ur M I N D

dakoo

Beginner

  • "dakoo" started this thread

Posts: 21

Location: I N D I A

  • Send private message

10

Friday, August 6th 2004, 1:59pm

simply put

let me put it very simply

if i have to make a s/w for making icons from scratch ....

how do i do it ...

as linux is op0en source ...

which r the concerned files
O P E N ur M I N D

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

11

Friday, August 6th 2004, 5:54pm

Ah, I see.
You other postings made the impression you were interested in the structure of icon themes, we didn't get that it was about the image creation stage.

Assuming you want to use Qt:

Image handling classes in Qt are QImage and QPixmap.

QPixmap can be used with the QPainter drawing API and QImage has a pixel based API and provides the IO functionality.

Cheers,
_
Qt/KDE Developer
Debian User

dakoo

Beginner

  • "dakoo" started this thread

Posts: 21

Location: I N D I A

  • Send private message

12

Monday, August 9th 2004, 1:44pm

you were right the first time

well gess what ..
you were right the first time..
"if i have to make a s/w for making icons from scratch .... "
meant makin s/w from scratch not the icons ..
well. the other begginer did piss me off
O P E N ur M I N D

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

13

Monday, August 9th 2004, 9:45pm

Re: you were right the first time

Quoted

Original von dakoo

well gess what ..
you were right the first time..


Well, in this case the best option is to ask people that have already created icon themes, thus knowing exactly which directory structure and which file names to use.

And is has already been pointed out that these people are reachable over kde-look.org where they also post their themes and discuss new ones.

Cheers,
_
Qt/KDE Developer
Debian User

dakoo

Beginner

  • "dakoo" started this thread

Posts: 21

Location: I N D I A

  • Send private message

14

Thursday, August 12th 2004, 8:28pm

thanks anda

see i know know how to put the dir structure ...

and what to name the icons ...

what all diff resolutions to put..

but what i am intrested in is how does kde manages these themes...

the kde code which uses the themes...
O P E N ur M I N D

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

15

Thursday, August 12th 2004, 10:36pm

The class that handles Icon loading is KIconLoader, its code is somewhere in kdelibs, very likely kdelibs/kdecore

Cheers,
_
Qt/KDE Developer
Debian User

dakoo

Beginner

  • "dakoo" started this thread

Posts: 21

Location: I N D I A

  • Send private message

16

Monday, August 16th 2004, 5:52pm

thxs anda_skoa

The class that handles Icon loading is KIconLoader,
its code is somewhere in kdelibs, very likely kdelibs/kdecore

thxs anda_skoa. :lol:

heres some more info for needy like Me ;-)

Header files :/usr/include/kde

Info
/usr/share/doc/HTML/en/kdelibs-apidocs/kdecore/html
/usr/share/doc/kdelibs-devel-3/kdecore/html


Themes :/usr/share/icons


Icon Types :The standard groups are defined below.
KIcon::Desktop: Icons in the iconview of konqueror, kdesktop and similar apps.
KIcon::Toolbar: Icons in toolbars.
KIcon::MainToolbar: Icons in the main toolbars.
KIcon::Small: Various small (typical 16x16) places: titlebars, listviews and menu entries.
KIcon::Panel: Icons in kicker's panel

Authors :
Geert Jansen <jansen@kde.org>
Antonio Larrosa <larrosa@kde.org>
O P E N ur M I N D

dakoo

Beginner

  • "dakoo" started this thread

Posts: 21

Location: I N D I A

  • Send private message

17

Monday, August 16th 2004, 6:19pm

Unzipping of Macintosh compressed files

thxs anda_skoa. :lol:

that really helped our work is already underway ...
now next problem is :?:

Unzipping of Macintosh compressed files (*.sit & *.sit.hqx) in linux...

plz MODS keep this post in this section itself as its part of same problem....
:cry:
O P E N ur M I N D

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

18

Tuesday, August 17th 2004, 10:49am

Re: Unzipping of Macintosh compressed files

Quoted

Original von dakoo


Unzipping of Macintosh compressed files (*.sit & *.sit.hqx) in linux...

http://www.stuffit.com/unix/index.html

To the paths you pointed at above:
/usr is not always the prefix for KDE
kde-config --path can get you the correct ones.

Cheers,
_
Qt/KDE Developer
Debian User

dakoo

Beginner

  • "dakoo" started this thread

Posts: 21

Location: I N D I A

  • Send private message

19

Monday, August 23rd 2004, 12:25pm

is there s/w to convert *.ico to *.png

sorry my mistake..

i didn't check the linux link....

now,is there s/w to convert *.ico to *.png ....

or mac icon files to *.png...

will help lot if such s/w alredy exists..

any info / project on conversion betwn such files ...

keep postin anda_skoa man U rock.....

I still need to know list for all types of ICONS in linux ...
O P E N ur M I N D

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

20

Monday, August 23rd 2004, 3:37pm

Re: is there s/w to convert *.ico to *.png

Quoted

Original von dakoo

now,is there s/w to convert *.ico to *.png ....

or mac icon files to *.png...

Hmm, not sure.
Maybe Qt can load them alreay, at least Konqueror can load the favicon.ico files of websites.
Hmm, wait, I think that's an KImageIO plugin.
KIconLoader could be able to handle .ico already.

A library with very good format support is ImageMagick

Quoted


I still need to know list for all types of ICONS in linux ...

I don't understand what you mean with type, the filetype is usually PNG.

Btw, this class could be interesting to you:
http://api.kde.org/3.3-api/kdecore/html/classKIconTheme.html

Cheers,
_
Qt/KDE Developer
Debian User