Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > General > Forum Discussion
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Forum Discussion Please post any question or idea regarding the forum here.

Icon Editor - COMPETITION TIME

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-15-2007, 01:24 PM
RandomCoder's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire, UK
Posts: 614
Awards Showcase
Beta Tester 
Total Awards: 1
Thumbs up Icon Editor - COMPETITION TIME

Please see this thread for where the idea has come from and some links to other sites detailing the format of an icon file http://www.basic4ppc.com/forum/questions-windows-mobile/580-icon-editor-ppc-best.html

I'm going to need some help to set this in motion because I don't fully understand what is required myself

It looks like we need to program an editor that is capable of drawing/modifying two or three different size icons namely 16x16, 32x32 and 48x48 with a standard set of colours.
There is then also two layers that are required, the AND and the XOR mask. From what I can understand this is to do with transparency.
Once the image has been created we then need to save it to a file that is correctly formatted to be recognized as a valid Icon file (which interestingly can contain more than one image). A good example of an icon file with several images included is the WiFi icon on your device!!!!

Who's up for the challenge?
Can anyone shed some more light on what we actually need to do to make this work?
I've got to admit that creating the designer I think should be easy enough but I've had very little involvement with creating files so that will be my biggest hurdle

Regards,
RandomCoder
__________________
"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
  #2 (permalink)  
Old 07-19-2007, 05:42 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Attached is a small application that reads icon files, shows the color palette and the images.
It is based on this page: http://www.daubnet.com/formats/ICO.html
You can use it and expand it to an editor.
Attached Files
File Type: zip Icons4ppc.zip (4.1 KB, 96 views)
Reply With Quote
  #3 (permalink)  
Old 07-19-2007, 09:22 AM
Basic4ppc Veteran
 
Join Date: Apr 2007
Posts: 269
Default

I think that is a very good start with equal opportunities for everyone. RandomCoder, I think you pretty much covered the needs so far. SAVE and LOAD-features.
I suggest after the competition we pick a winner and that program will be standardized with features that are well thought of from the other candidates. This program can be built up as "our" very own editor and put on the net.
What say you....?
Reply With Quote
  #4 (permalink)  
Old 07-19-2007, 12:55 PM
RandomCoder's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire, UK
Posts: 614
Awards Showcase
Beta Tester 
Total Awards: 1
Default

I love the idea

But do we need a more clearly defined structure?

I also think that one month (just four weeks) is possibly a too restrictive timescale for most people given the level of work and research that is required.
Would it be better to say two months?
For those of us in the UK, this pretty much coincides with the childrens school hildays and so I guess that some people will be busy with holidays whilst others maybe enjoying some extra free time.

I really like the idea and I'm well up for it but I'm just a little afraid that I will not be able to make proper sense of the file handling side of things.
But at least I should learn a lot from this

Regards,
RandomCoder.
__________________
"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
  #5 (permalink)  
Old 07-19-2007, 01:27 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,313
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

I tryed the sample app and I can't see an icon image, in whatever size I choose!!
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
B4PPC DLL Version Listing - B4Android DLL Version Listing
Reply With Quote
  #6 (permalink)  
Old 07-19-2007, 07:41 PM
RandomCoder's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire, UK
Posts: 614
Awards Showcase
Beta Tester 
Total Awards: 1
Default

I just located an icon file in the windows directory, haven't tried it on the device yet. I know that the WiFi icon is a good icon to chose.

Got to admit that I got several errors when trying different files and different size icons but you have to accept that it was very good of Erel to demonstrate how it should work.

Regards,
RandomCoder.
__________________
"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
  #7 (permalink)  
Old 07-19-2007, 08:17 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

This application only supports icons with 256 colors or 16 colors (like the icons supported by devices).
Reply With Quote
  #8 (permalink)  
Old 07-24-2007, 05:49 PM
RandomCoder's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire, UK
Posts: 614
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Has anyone tried doing anything with this yet????

Its really, really difficult

I'm trying to create the designer.
First of all I started by using Buttons set in a 32x32 grid but that took WAY too long to load. I then thought that I could use Labels instead but this took just as long.
I've now worked around the problem by drawing directly on the form (don't want to give too much away ), but now my next problem is finding a source that lists the standard device colours.
I want to create the pallete and need to set the correct RGB values. Can anyone point me in the direction of a good source of information

Regards,
RandomCoder
__________________
"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
  #9 (permalink)  
Old 07-24-2007, 06:57 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Devices support about 65,000 colors.
I've attached a text file with a list of 256 colors you could regard as a standard palette.
Here is a link to a very nice icon editor (for the desktop) which will help you understand how icons are built: http://www.mintrasystems.com/product...uct.php?p=iico
Attached Files
File Type: txt Colors.txt (2.5 KB, 27 views)
Reply With Quote
  #10 (permalink)  
Old 07-24-2007, 08:35 PM
RandomCoder's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire, UK
Posts: 614
Awards Showcase
Beta Tester 
Total Awards: 1
Default

I've created the pallete using a For loop and was hoping to assign the colours using a kind of algorithm. Then when a Button is pressed I just grab the Color assigned to it and use that to draw with.

Have you any other suggestions as to how I can program around this?
I'm really pleased with the editor, I've got it running pretty quick now.

Regards,
RandomCoder
__________________
"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Icon Editor klaus Share Your Creations 46 02-17-2009 12:23 PM
Icon Editor klaus German Forum 5 02-08-2008 11:01 PM
2nd Competition Cableguy Announcements 13 10-15-2007 08:26 AM
which icon editor on ppc is best? Stellaferox Questions (Windows Mobile) 9 07-15-2007 01:11 PM
Competition RandomCoder Forum Discussion 31 07-09-2007 03:25 PM


All times are GMT. The time now is 02:33 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0