TheProjecter / eclipse-icons-editor

Automatically exported from code.google.com/p/eclipse-icons-editor
0 stars 0 forks source link

Resize Icons bigger than 16x16 #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Resize Icons bigger then 16x16 for Label Decoration

Original issue reported on code.google.com by david.so...@gmail.com on 29 May 2013 at 1:30

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I prefer to see them like this in the explorer. This way we see that it does 
not have the normal size. I know that it can hide the text but not very 
problematic. What we can do is to create a boolean preference. Is it ok for you?

Original comment by jabim...@gmail.com on 29 May 2013 at 4:53

GoogleCodeExporter commented 8 years ago
A boolean would be great, if you want i can give you the necessary code, i just 
build a plugin that converts all bigger icons to 16x16.

Original comment by david.so...@gmail.com on 29 May 2013 at 7:49

GoogleCodeExporter commented 8 years ago
Ok, I will accept this preference and set it as a minor enhancement request.
Thank you very much for reporting.

I also implemented it for the  Issue 30 : Add "Scale" Category
public static ImageData scaleImage(ImageData imageData, int width, int height, 
boolean aspectRatio)
at
http://code.google.com/a/eclipselabs.org/p/eclipse-icons-editor/source/browse/co
de/org.eclipse_icons.editor/src/org/eclipse_icons/editor/utils/image/Utils.java
Let me know if you think that we can improve it.

You can resize also with this tool through the Icons Manager view
Window -> Show view -> Other -> Icons Manager
Drag and drop your icon or all the icons you want in the view
In the menu that it will automatically appear when dropping it or them select 
"Base", no "Overlay"
Select from the Scale category the yourIconName_16x16 and Drag and drop it in 
your project explorer view to get the new file or files.
The resize will keep width and height proportions.
However sometimes some improvements should be done by hand in the editor after 
this to get a better result.

By the way, notice that this defect: "Issue 24: Label decorators don't allow to 
remove icons" is still open. If you have problems deleting the icons when the 
label is active, and you found a way to systematically reproduce the problem, 
please let me know. If you have this problem just deactivate the label 
decorator and then you will be able to remove them.

Original comment by jabim...@gmail.com on 29 May 2013 at 8:02

GoogleCodeExporter commented 8 years ago
My view in Project Explorer is totally not nice. I would much prefer resized 
icons. Perhaps you could add an overlay to indicate that the image is resized.

Original comment by angvoz....@gmail.com on 22 Jun 2013 at 9:00

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in 2.3.5 
Icons with width or height exceeding 20 pixels are resized to 16x16 without 
keeping aspect ratio.
Thank you for reporting :)

Original comment by jabim...@gmail.com on 29 Sep 2013 at 10:17