[mythtv-users] Channel icon mods for Mythweb and MythUI

Christopher Meredith chmeredith at gmail.com
Sun Jul 19 00:02:07 UTC 2009


On Sat, Jul 18, 2009 at 3:27 PM, Robert McNamara
<robert.mcnamara at gmail.com> wrote:
>
>
> On Sat, Jul 18, 2009 at 1:19 PM, Christopher Meredith <chmeredith at gmail.com> wrote:
>>
>> I've been doing some work on making channel icons prettier in Mythweb and to a lesser extent, MythUI (0.22). I've finally gotten it the way I like it, making the channel icons not look squashed and giving them slightly more prominence. I've written up my changes and provided some before and after screenshots here:
>>
>> http://monopedilos.com/dokuwiki/doku.php?id=mythweb_mods
>>
>> Because this applies both to theming of MythTV and of Mythweb, I'm posting this to mythtv-users and mythtv-theming. If anyone can make any suggestions regarding preserving the aspect ratio of images while fitting into a maximum boundary size in the pre-0.22 themeing scheme and/or OSD, please let me know.
>>
>> Feedback (both the changes themselves and the documentation) welcome!
>>
>
> Hi Christopher,
>
> I like your changes a lot.  The*one* thing I personally would want to change about it is that I don't like that the mythweb aspect changes allow the channel heigts to be variable.  It would be nice if you could enforce that.

That's not a problem. I've already made the change to the
documentation. To do it, change line 89 of
modules/tv/tmpl/default/list_data.php to this:

<code><td ALIGN=center class="x-channel" height=70></code>

As far as transparent icons go, yeah it really is pretty simple. I can
write up something more detailed than this, but basically I load the
image, use the contiguous area selection tool in GIMP and experiment
with the threshhold. Around 75 usualy works if the icon is dark. Then
just select the background and white areas. Then in invert the
selection, cut, and paste as new image. Then I clean up as necessary,
resize to 200px (should probably be 160) then save as png.

I've been noticing that on Lyngsat they are starting to include high
res transparent png logos. If you find a logo in the menu and it has
an "H" icon above it, that's the high res version. Most of the icons I
made started out as transparent pngs from Lyngsat, I just cropped and
resized.


More information about the mythtv-users mailing list