Hello,
how can I set the film covers saved as picon vertically, on both infobar and channel list in the right direction?
The configuried picon size in skin is 400x240 but the covers have the size 154x231 which will be then scaled horizontally.
Hello,
how can I set the film covers saved as picon vertically, on both infobar and channel list in the right direction?
The configuried picon size in skin is 400x240 but the covers have the size 154x231 which will be then scaled horizontally.
what skin are you using
currenlty YouViX-Blue on OpenVIX but I install also the ones I like, the covers have been downloaded from IPTV VODs and Series.
ah, I mean the covers' links are already in the iptv url and I downloaded them as picons in picon folder, they can be also shown on the skin but as said in wrong scale as attached
Well the graphics are not going to magically turn from a cover art to a backdrop art.
Looking at the source code for the python component I don't think their is a flag you can turn on or off to stop the picon scaling to the size of its parent.
You would have to either center all the cover arts on a blank background with the correct ratio,
or source all the correct backdrops.
thanks for the info, I try then saving the covers on a base background with the correct ratio
if you can make the zip file smaller enough to upload here,
zip your picon folder up, I can do a batch action in photoshop while I am sat on my computer.
I have coded also a python script to download the picons on box and convert them to png when provided as jpg. since the channel list is dynamic and new channels are added daily I would prefer run this code on the enigma box, need just some codes to make those graphics conversions
you need the python PIL library for that
from PIL import Image, ImageEnhance, ImageOps, ImageFile
have a look at my code here which I use to download, resize and combine images for my toppicks in my skins.
There is code for downloading, cropping, pasting 2 images together. (in your case a set size blank 400 x 240 png and your cover art)
It will get you started, then google and stackoverflow is your friend. ;)
Don’t have an account yet? Register yourself now and be a part of our community!