RE: About XPMmer
- Posted by Andy Drummond <andy at kestreltele.com> Apr 12, 2006
- 541 views
Yeah, I know. I changed the palette to make it what I thought was nicer, but introduced several bugs in the process of going from 64 to 70 colors! The generated XPM "None" color code was wrong. Also after reading in a file I tried to set the color to black but instead set it to greeny-yuk color. I spent some time yesterday trying to find the bugs - and I'm doing a mod to allow Judith to incorporate it into her wonderful IDE; I will upload a new version this week - I hope!! Thanks, Igor, for your samples. I will make the transparent color show up in the grid by writing a dot in the middle - that OK? I know what you mean about it being hard to represent a transparent color. I am trying to think of a better way, but first I want to remove those nasty bugs that creep in when you're in a hurry! Anyway, let's see how the next release pans out - and I "look forward" to your helpful comments!! Andy Igor Kachan wrote: > > > posted by: Igor Kachan <kinz at peterlink.ru> > > Igor Kachan wrote: > > > > > Andy Drummond wrote: > > > > > > > > Hello Igor. > > > > > > I got a revised version of XPMmer going over the weekend, I now extract > > > C-comments OK, handle 48-bit colors OK, handle color names like > > > SkyBluePink OK. I don't handle 2-character color codes which at least > > > one of your examples has. But I can read most of them in - 98% anyway. > > > I have a new palette which is more uniform, and produces quite a good > > > match with all the icons I have tried. I will upload to RDS later on > > > today if I can - otherwise Wednesday as I am out tomorrow all day. > > > Thanks so much for your examples - I didn't realise there were so > > > many variants. And there are more I can't explain. Does anyone know > > > where I can get a definition of xpm format rather than just a chatty > > > description? > > > Andy > > > > Hello Andy, > > > > Ok, I'll try it carefully, I've downloaded it already, thanks. > > Well, looks great! > > But there is some minor bug - you can see it on the 01.bmp picture > from this .zip: > > http://www.rapideuphoria.com/russian/colors.zip > > A story is the next one. > I run xpmmer, at first, the current color is just black. > Then I choose the transparent color, and then load the .xpm file. > See please the background in the little Color window. > Do you see it becomes something greenny? > It is not that terrible, just unexpected. > > Then, there is a global problem with the transparent color > at all. No one of known icon editors has a good representation > for that *none* color. > > Andy, let us have it as it is shown on the 02.bmp picture or > as something similar on your own taste, say, as '+' sign or as > '-' sign or ... as any good just black sign on the current > background of the editor window. It is just a black sign of > the transparent (none) color. See please the examples of those > 4 transparent pixels in the left down corner of the canvas greed > (02.bmp). > > Ok? For now, that's all ... > > Good Luck! > > Regards, > Igor Kachan > kinz at peterlink.ru