Jump to content


Photo

picons in Channel list


  • Please log in to reply
86 replies to this topic

Re: picons in Channel list #61 littlesat

  • PLi® Core member
  • 57,206 posts

+700
Excellent

Posted 4 August 2013 - 09:20

Then use a suitable or fixed picon set.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: picons in Channel list #62 littlesat

  • PLi® Core member
  • 57,206 posts

+700
Excellent

Posted 4 August 2013 - 19:16

It seems no images were build... Milo did commit a fix yesterday that wasn't included yet in the latest feeds due to no builds...

Edited by littlesat, 4 August 2013 - 19:17.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: picons in Channel list #63 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 4 August 2013 - 19:19

It seems no images were build... Milo did commit a fix yesterday that wasn't included yet in the latest feeds due to no builds...

clear


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: picons in Channel list #64 littlesat

  • PLi® Core member
  • 57,206 posts

+700
Excellent

Posted 4 August 2013 - 19:33

When these patches do not solve the issue i consider to go for a plan b...(add keep aspect ratio feature to blitscale). But when this is not required i prefer to avoid my plan b.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: picons in Channel list #65 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 6 August 2013 - 06:49

Problems with picons not resolved.


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: picons in Channel list #66 littlesat

  • PLi® Core member
  • 57,206 posts

+700
Excellent

Posted 6 August 2013 - 08:01

I can make the borders black, so you do not see them... -or-

You can convert the picons to the correct format... -or-

Plan B could be implemented (I still do not know if this works).

 

In the graphical multi EPG you should have the same issue for ever... so this is not something brand new!!!


Edited by littlesat, 6 August 2013 - 08:01.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: picons in Channel list #67 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 6 August 2013 - 08:09

plan С
reverting changes


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: picons in Channel list #68 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 6 August 2013 - 08:17

Yeah, let's got back to wasting megabytes of memory and ignoring the hardware rendering acceleration. Excellent idea.

Plan D: Just live with it for a while longer. Eventually it'll be solved.
Real musicians never die - they just decompose

Re: picons in Channel list #69 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 6 August 2013 - 08:20

I can make the borders black, so you do not see them... -or-

Although, it is an option...

 

GraphMultiEpg.py

			if picon != "":
-				self.picload.setPara((piconWidth, piconHeight, 1, 1, 1, 1, "#FFFFFFFF"))
+                               self.picload.setPara((piconWidth, piconHeight, 1, 1, 1, 1, '#000f0f0f'))

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: picons in Channel list #70 littlesat

  • PLi® Core member
  • 57,206 posts

+700
Excellent

Posted 6 August 2013 - 09:15

In fact this is a work-a-round.... as not all skins do use the same background color... And in addition it removes the green selected channel borders what you should see in the GMEPG :(

 

Therefore I'm considering plan B.... this meens adding a keep aspect ratio option in blitScale and blit the picon via blitScale (that is how I planned it in the first place in the ServiceList, but I did not implement the keep aspect ratio feature yet.... so the picon was spreaded).


The best short term solution is to convert your picons to not colormapped picons.


Edited by littlesat, 6 August 2013 - 09:19.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: picons in Channel list #71 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 6 August 2013 - 12:16

If the list items at "y" pixels high, the width to be rendered is then (y * picon.width / picon.height). So if you just use LoadPixmap to load the picon image, and then render it using that formula, you don't even need any changes in the C++ code.

Besides, LoadPixmap is more efficient than picload, because it will load a pixmap only once. That will speed up the list rendering considerably.
Real musicians never die - they just decompose

Re: picons in Channel list #72 littlesat

  • PLi® Core member
  • 57,206 posts

+700
Excellent

Posted 6 August 2013 - 12:28

Approx. That formula i want to add to painter.blitscale by adding a keep aspect ratio flag...
I will try if i can implement it this evening.

Edited by littlesat, 6 August 2013 - 12:29.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: picons in Channel list #73 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 6 August 2013 - 12:42

What I meant was, you can do it all in python code. You don't need any changes to the C++ parts at all.
Real musicians never die - they just decompose

Re: picons in Channel list #74 littlesat

  • PLi® Core member
  • 57,206 posts

+700
Excellent

Posted 6 August 2013 - 13:55

For the GME that works... for the servicelist not... But when making this in python which I already tried you get rounding issues... :( But you also suggested the loadPixmap method.... :D :(


Edited by littlesat, 6 August 2013 - 13:56.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: picons in Channel list #75 littlesat

  • PLi® Core member
  • 57,206 posts

+700
Excellent

Posted 6 August 2013 - 19:04

I suggest it is even better to convert the picons that are displayed incorrectly. As you can see in the post from 2boom they are even smaller. Possibly someone can give a batch proces for them...


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: picons in Channel list #76 2boom

  • Senior Member
  • 100 posts

+17
Neutral

Posted 6 August 2013 - 22:23

miniGui for pngquant

Attached Files

  • Attached File  Pic.zip   4.94KB   14 downloads


Re: picons in Channel list #77 littlesat

  • PLi® Core member
  • 57,206 posts

+700
Excellent

Posted 7 August 2013 - 07:17

plan С
reverting changes

That is even not any option as the issue was already there forever... (in the GMEPG).
 


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: picons in Channel list #78 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 12 August 2013 - 20:53

I have just found a small bug. I do not know how long it is, and I think this is due to changes for picon in channel list.
As can be seen in the picture, background of text over the icon, when it's is on the markup, has background of markup, instead background of icon. If not markup, then the background is correct.
I have SH4 receiver and perhaps because it does not work as they should, but maybe you can check, if you do not have the same defect.

Attached Files



Re: picons in Channel list #79 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 12 August 2013 - 21:03

In the skin, this place is written as follows:

 

<widget source="list" render="Listbox" position="10,15" size="340,300" \
  scrollbarMode="showOnDemand">
  <convert type="TemplatedMultiContent">
    {
      "template": [MultiContentEntryPixmapAlphaTest(pos=(5, 5), \
        size=(51, 40), png=1), 
      MultiContentEntryText(pos=(65, 10), size=(275, 40), font=0, \
        flags=RT_HALIGN_LEFT, text=0), 
      MultiContentEntryText(pos=(5, 25), size=(51, 16), font=1, \
        flags=RT_HALIGN_CENTER, text=2),],
      "fonts": [gFont("Regular", 26), gFont("Regular", 12)],
      "itemHeight": 50
    }
  </convert>
</widget>
 

 

 



Re: picons in Channel list #80 littlesat

  • PLi® Core member
  • 57,206 posts

+700
Excellent

Posted 12 August 2013 - 21:55

Is not related to the picon in channellist...

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W



5 user(s) are reading this topic

0 members, 5 guests, 0 anonymous users