shirone / android-ui-utils

Automatically exported from code.google.com/p/android-ui-utils
0 stars 0 forks source link

Increase color sensitivity of image import #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently importing an image appears to scan the image for approximately 
non-white/transparent images, and replacing them with black.

E.g. the attached image is that of the alarm clock ic_lock_idle_alarm.png and a 
menu icon made out of it.

The resulting menu icon does not have hands on the clock. 

It would be really good for the app to do whatever treatment of the source 
image so a little more detail is visible in the resulting assets.

Original issue reported on code.google.com by jameshugman@gmail.com on 27 Sep 2010 at 1:49

Attachments:

GoogleCodeExporter commented 8 years ago
The generator only looks for transparent pixels -- not white ones. In the case 
of this image, if it were to try to find white pixels, the two top bells and 
top of the clock circle would also be picked up :-/ One solution would be to 
open up the source in a simple image editor and turn the white pixels of the 
clock hands into transparent pixels.

On a side note, that image is probably too small to use as a source anyway.

Original comment by romannu...@google.com on 27 Sep 2010 at 2:00