button_focus and Button_nofocus.png files bad?
#1
i am having a problem with those two png images. my program loads all the others but these two it will not. these are from the pm3 source. if i load them in a paintprogram and hit printscreen and the crop back down to that image and save as png they work fine. is there something in the alpha or any other channel that may create this problem?

this is the first time with dealing with png files so i am not sure what to expect.

if it matters i am using tpngimage by gustavo daud ver. 1.5
Reply
#2
button-focus.png and button-nofocus.png are just fine using photoshop, the problem is in button-nofocus.jpg that isn't really a jpg file but it is a png renamed in jpg (or anyway this is the only trick that let me edit this file).
btw chokey will answer this surely better than me :p
XBMC Italian translator, Movieplayer.it scrapers developer and the old "The Orbs" skin creator.
Reply
#3
no when i try loading these and one more i found(calibrate-bottomright-focus.png) they say invalid image! all the other png files load fine. like i said if i use paintshop pro they load fine, but using delphi, or my program they say invalid. even ms paint will load them. that is why i am confused as to why. there has to be something different about those 3 images. hmmmm....
Reply
#4
if we can identify what they should be so we can fix it in cvs that would be great. no point having files renamed when they don't need to be.

irfanview is an app that can identify image type and correct the naming.

cheers,
jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#5
button-nofocus.jpg is indeed a renamed png

the button code is hardcoded to this name and when i first tried to make it semitransparent in one of my skins, all i could do was rename

same thing with music.jpg (the default icon shown during music, when theres no custom thumb present) this filename and extension is hardcoded too - the current texture didint need any transparency, so no renaming.

i cant recall messing with the calibration arrows thou. they were always a png anf they are skinable just fine
Image

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#6
button-nofocus.png/jpg should be just fine - i can't find it hardcoded in any of the obvious files. please test.

you are probably right about music.jpg however (this should probably be remedied.)

cheers,
jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#7
might have been too lazy to change all the xmls Wink
Image

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
button_focus and Button_nofocus.png files bad?0