.ico compiler

Thread Solved

Join Date: Nov 2006
Posts: 66
Reputation: Racoon200 is an unknown quantity at this point 
Solved Threads: 1
Racoon200's Avatar
Racoon200 Racoon200 is offline Offline
Junior Poster in Training

.ico compiler

 
0
  #1
Jun 25th, 2007
This may sound too lazy but...can somebody do an icon compiling console...for example
You place icons you made in a folder named:
64x64.ico
48x48.ico
32x32.ico
16x16.ico
then you run the console
and you get
icon.ico (with all the icons packed in it)

If you are as lazy as me to do it yourself, then i would like some help to do it myself
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,662
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1502
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: .ico compiler

 
0
  #2
Jun 26th, 2007
Do you mean you want to a C program that will copy all the files in the folders you mentioned into another folder? That isn't very difficult if you using FindFirstFile() and FindNextFile(), then for each file found call the win32 api function CopyFile().

>>can somebody do an icon compiling console
Yes I can do it, but I won't. I've given you the functions you need now do the work yourself and post code when you have questions.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 66
Reputation: Racoon200 is an unknown quantity at this point 
Solved Threads: 1
Racoon200's Avatar
Racoon200 Racoon200 is offline Offline
Junior Poster in Training

Re: .ico compiler

 
0
  #3
Jun 26th, 2007
no no no. I don't need software to copy files to folders man, iam not that silly. When you sort files in the windows explorer, you can see there are several icon sizes wether you sort files by list, icons or mozaics. Those have a single icon but with different resolutions of it in the same icon file.

What I want is a console application that will pack the different resolution icons (16x16,32x32,48x48) into a single icon file.

If I misunderstood you, theh i would like to read the explanation.

Thanks for the help
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,662
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1502
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: .ico compiler

 
0
  #4
Jun 26th, 2007
console program: WinZip, or PkZip, or gzip will do it.
Last edited by Ancient Dragon; Jun 26th, 2007 at 11:29 pm.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 66
Reputation: Racoon200 is an unknown quantity at this point 
Solved Threads: 1
Racoon200's Avatar
Racoon200 Racoon200 is offline Offline
Junior Poster in Training

Re: .ico compiler

 
0
  #5
Jun 27th, 2007
Originally Posted by Ancient Dragon View Post
console program: WinZip, or PkZip, or gzip will do it.
Are you sure sure, or your just guessing?
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,662
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1502
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: .ico compiler

 
0
  #6
Jun 27th, 2007
Of course I'm sure -- I use those programs regularly. How else do you think *.zip files get created.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 66
Reputation: Racoon200 is an unknown quantity at this point 
Solved Threads: 1
Racoon200's Avatar
Racoon200 Racoon200 is offline Offline
Junior Poster in Training

Re: .ico compiler

 
0
  #7
Jun 27th, 2007
No i mean, have you tested them compiling icons? I tried changing the .zip extension for .ico, but it didn't work, that's why I'm doubty
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,662
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1502
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: .ico compiler

 
0
  #8
Jun 27th, 2007
Those programs are not compilers -- they are compression which means they reduce the size of the file(s) as much as possible so that they don't take up as much space on the hard drive and reduce transmission time over the internet. Just changing the extension from zip to ico will do nothing -- programs that expect ico files will not be able to read it.

Why do you want to combine a bunch of ico files into one big ico file anyway? after compiling a *.cpp file that contains ms-windows resource file(s) the ico files are not used any more because the compiler will embed them into the *.exe file.
Last edited by Ancient Dragon; Jun 27th, 2007 at 10:35 pm.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 66
Reputation: Racoon200 is an unknown quantity at this point 
Solved Threads: 1
Racoon200's Avatar
Racoon200 Racoon200 is offline Offline
Junior Poster in Training

Re: .ico compiler

 
0
  #9
Jul 2nd, 2007
To enrich your knowledge, I notify you that icons have 3 basic sizes in windows xp. Each of the icons come with those 3 resolutions packed in a single icon, so that the icon embeded in the .ico is the one that looks better with the requested icon size. For example, when you sort files as a list in the explorer, the icons will show their 16x16 resolution, to look clean.

I don't want to compile icons for an .exe app, but for an icon. The icon could later be used in an exe.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,662
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1502
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: .ico compiler

 
0
  #10
Jul 2nd, 2007
Since this has nothing to do with any programming languge I'm going to move this thread to Software Developer's Lounge. I don't know the answer to your question.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the IT Professionals' Lounge Forum


Views: 3350 | Replies: 11
Thread Tools Search this Thread



Tag cloud for IT Professionals' Lounge
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC