Author Topic: Custom icon transparency  (Read 2390 times)

Offline jumping frog

  • Newbie
  • *
  • Posts: 3
    • View Profile
Custom icon transparency
« 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??
 

Offline stebu

  • Premium
  • Padavan of Locus
  • ***
  • Posts: 252
  • Thanked: 1 times
    • View Profile
  • Device: Xcover 2
Re: Custom icon transparency
« Reply #1 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
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10285
  • Thanked: 92 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Custom icon transparency
« Reply #2 on: August 09, 2014, 18:24:58 »
nothing is easier then to try it ...
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline jumping frog

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Custom icon transparency
« Reply #3 on: August 10, 2014, 21:36:19 »
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?
 

Offline jumping frog

  • Newbie
  • *
  • Posts: 3
    • View Profile
Locus is resizing my icons!
« Reply #4 on: August 11, 2014, 09:02:38 »
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?
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10285
  • Thanked: 92 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Custom icon transparency
« Reply #5 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.
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline charlesbabage

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Custom icon transparency
« Reply #6 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)
 

Offline john_percy

  • Padavan of Locus
  • ***
  • Posts: 415
  • Thanked: 25 times
    • View Profile
  • Device: MotoG
Re: Custom icon transparency
« Reply #7 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.
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10285
  • Thanked: 92 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Custom icon transparency
« Reply #8 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?
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!