Locus Map - forum

Content & Tools => Cursors / Icons / Voices => Topic started by: jumping frog on August 09, 2014, 11:45:37

Title: Custom icon transparency
Post by: jumping frog on August 09, 2014, 11:45:37
It says in the manual that the preferred format for custom icons is png - which supports transparency - can I have transparent custom poi icons??
Title: Re: Custom icon transparency
Post by: stebu on August 09, 2014, 14:43:55
Yes.

I've made some icons and at least Irfanview (Windows photo app) supports the definition of the transparent color when saving an icon.

For example see attachement
Title: Re: Custom icon transparency
Post by: Menion on August 09, 2014, 18:24:58
nothing is easier then to try it ...
Title: Re: Custom icon transparency
Post by: jumping frog on August 10, 2014, 21:36:19
Quote from: menion on August 09, 2014, 18:24:58
nothing is easier then to try it ...
I have two POIs very close to each other, their icons overlap. What determines the z-order ie which icon is on top? and do I have any control over it?
Title: Locus is resizing my icons!
Post by: jumping frog on August 11, 2014, 09:02:38
Quote from: menion on August 09, 2014, 18:24:58
nothing is easier then to try it ...
I've made a large (200px) icons to place over existing poi icons to mark them (but without changing them) so that they really stand out - but Locus is resizing them - so it looks like there's a maximum icon size - is that right?
Title: Re: Custom icon transparency
Post by: Menion on August 11, 2014, 12:36:49
Unfortunately I have two bad news.

1. System of handling icons in Locus is little bit ... complex (after all these years). So yes, Locus rescale icons, but I'm now unable to say it precisely, on which size, "funny" :). If you need to know it precisely, I may check it.

2. z-order of items ... generally all visible points & tracks are drawn with same priority. So their order is quite random. Mostly defined by order in which they were added to map.
Title: Re: Custom icon transparency
Post by: charlesbabage on April 27, 2015, 13:05:33
Hi, i also agree with you that I've made some icons and at least Irfanview (Windows photo app) supports the definition of the transparent color when saving an icon.nice comment  8)
Title: Re: Custom icon transparency
Post by: john_percy on April 27, 2015, 15:23:59
PNG bitmaps support 32-bit images, which is full colour 24-bit with 8-bit transparency. That means that you can get transparent icons with properly smoothed edges. That's unlike GIFs, for example, which assign one colour only as transparent, producing a cookie cutter effect.
Title: Re: Custom icon transparency
Post by: Menion on April 27, 2015, 17:38:24
John, I'm worried, that Charles is some kind of spam. Am I correct Charles? If you aren't, was information from John useful for you?