Code covered by the BSD License  

4.71429

4.7 | 7 ratings Rate this file 16 Downloads (last 30 days) File Size: 115 KB File ID: #19188
image thumbnail

IconEditor v1.6 (2010)

by

 

12 Mar 2008 (Updated )

iconeditor icon editor for creating and editing icons and small images.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information
Description

ICONEDITOR create and edit icons or mouse cursors in either standard or custom sizes

usage:
iconeditor(x,y,pixel)
    x - horizontal size (16 as deault)
    y - horizontal size (16 as deault)
    pixel - size of each dot (13 as deafult)

iconeditor
    same as iconeditor(16,16,16)

iconeditor(img)
    img - 3D-RGB image matrix

iconeditor(img,pixel)
    img - RGB image matrix
    pixel - size of each pixel (13 as deault)

Acknowledgements

This file inspired Custom Pan/Zoom Icons.

MATLAB release MATLAB 7.9 (R2009b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (11)
25 Nov 2014 Robert Moss

I'm running MATLAB Version: 8.1.0.604 (R2013a). When running the p-code file, I receive this:

Warning: The P-code file iconeditor.p was generated prior to MATLAB
version 7.5 (R2007b) and will not be supported in a future release.
Use pcode to regenerate iconeditor.p using MATLAB R2007b or later.

In addition to this warning, the pixels are not being colored properly when using the gui.

Would it be possible to get a freshly generated p-code file, or better yet, the actual code? I might be able to fix it then.

30 Sep 2014 Daniel  
01 Aug 2013 John Thompson

Hello Elmar,

Great tool! What is the simplest way to export the gui doodle to an icon format (i.e. jpg)?

Thanks,
John

21 Dec 2011 Elmar Tarajan

@Y Mehta

In case when you want to place both, the icon and the text within the pushbutton - e.g. icon on left side and text on the right, so you can see how it looks - if there is enough space.

Especially I have created icons like a boarder around the text.

09 Aug 2011 Changshun Deng  
23 Nov 2010 Y Mehta

Elmar,

This is a great utility and I am using it extensively. Thank you.

I observed that I can *right* click one of the top five pushbuttons and choose "set string" option. When I do so, it sets a string in the pushbutton. What's the purpose of that? When I export icons after writing those strings, the string has no effect on the icon.

19 Aug 2008 jairo Ortiz  
17 May 2008 Paul Premakumar

Very nice tool! Very easy to use and the GUI is cool.

06 May 2008 Elmar Tarajan

>> an error while selecting the standard
>> options again after other color options.
fixed!

14 Mar 2008 Saim .X

i also encountered an error while selecting the standard options again after other color options. following error was encountered:

??? Error using ==> eval
Undefined function or method 'standard' for input arguments of type 'double'.

Error in ==> iconeditor>changecolormap at 477
set(h,'FaceVertexCData',reshape(repmat(eval([get(obj,'Label') '(48)'])',4,1),[3 192])');

??? Error while evaluating uimenu Callback

14 Mar 2008 Saim .X

it's cool, GUI IS COOL.i would like to see the next version with more features of like
1. importing the icon or image.
2. put a help guide.
3. saving the file in icon format.
4. giving the user an option to select the size of the canvas/ or resolution etc.
5. Keep the work, waiting for ur nxt version
as it took time for me to understand the working.

Updates
18 Mar 2008

+ "convert to grayscale" feature added
- bug fixed

05 Mar 2010

New in 1.6
- convert color image to grayscale
- hot keys STRG+Y and STRG+Z for undo and redo
- code imprvements

Contact us