Kodi Community Forum
The thing that keeps holding me back from Shade. - Printable Version

+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Skin Help and Support (/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (/forumdisplay.php?fid=179)
+----- Forum: Shade (/forumdisplay.php?fid=132)
+----- Thread: The thing that keeps holding me back from Shade. (/showthread.php?tid=90406)

Pages: 1 2


The thing that keeps holding me back from Shade. - dan1son - 2011-01-12 22:36

I keep wanting to use this skin. It looks great, works fast, has most of the features I'm looking for, etc. BUT

The posters are all squished! Why are they resized on almost all of the movie views? Any of the horizontal scrolling views (Welo, fanart, etc.) the movie posters are short and fat and It's really annoying. I'm stuck with just the small wall view and one other big poster view which don't do that.

Resizing is tacky... it's like watching 4:3 stretched on a 16:9 screen... ewww. Smile


- Volkov - 2011-01-13 01:34

I don't have this problem, maybe you should post a screenshot?


- dan1son - 2011-01-13 01:43

Not at the moment...

But you can take a look at this video http://www.youtube.com/watch?v=PeBiYgHU1Ns at 1:09 for "the back-up plan". And compare to the same poster http://www.imdb.com/media/rm3601304832/tt1212436

Also on that video at :53 you can see the posters aren't squished like they are on the other views at 1 minute +.

While the proportion differences aren't huge, they are there and noticeable.


- jack_steel - 2011-01-13 10:23

What resolution has your display? I noticed compressed posters at 4:3 resolutions (1600x1200) but they are looking fine at 16:9 (1920x1080).


- fr500 - 2011-01-13 19:32

they are definitely a bit squished at 1080p. It's not too much tho.


- dan1son - 2011-01-13 19:45

I'm running 1920x1080. They're definitely squished. But yeah, it's not a ton.

Just looked through the code a bit, used the Welo view since I know that one looks squished to me. I have no experience with skinning, but it looks like this is where the poster is displayed.

Code:
<control type="image">
                                                        <posx>0</posx>
                                                        <posy>0</posy>
                                                        <width>160</width>
                                                        <height>216     </height>
                                                        <bordersize>8</bordersize>
                                                        <aspectratio scalediffuse="false">stretch</aspectratio>
                                                        <fadetime>200</fadetime>
                                                        <texture background="true" diffuse="shade/posterdiffuse.png">$INFO[Listitem.Icon]</texture>
                                                </control>

216 / 160 = 1.35

US Poster sizes:
* One sheet, 27 inches by 40 inches (686x1020mm), portrait format = 1.48148148
* Bus stop, 40 inches by 60 inches (1016mm x 1524mm), portrait forma = 1.5

That's a pretty significant difference. I also see it's set to "stretch" which would cause it to squish since the vertical is smaller than it should be.


For comparison mini wall, which I use, has a size of 140 / 100 = 1.4 which is closer, but still squished a little. Also the "Poster list" view uses 320 / 220 = 1.45 (closer still).


- jack_steel - 2011-01-13 23:35

Well, I think posters are looking good enough on 16:9 screens (it's difficult for me to see it). In my opinion the most important thing is the correct aspect ratio of movies while playing them Wink


- fr500 - 2011-01-14 00:28

dan1son Wrote:I'm running 1920x1080. They're definitely squished. But yeah, it's not a ton.

Just looked through the code a bit, used the Welo view since I know that one looks squished to me. I have no experience with skinning, but it looks like this is where the poster is displayed.

Code:
<control type="image">
                                                        <posx>0</posx>
                                                        <posy>0</posy>
                                                        <width>160</width>
                                                        <height>216     </height>
                                                        <bordersize>8</bordersize>
                                                        <aspectratio scalediffuse="false">stretch</aspectratio>
                                                        <fadetime>200</fadetime>
                                                        <texture background="true" diffuse="shade/posterdiffuse.png">$INFO[Listitem.Icon]</texture>
                                                </control>

216 / 160 = 1.35

US Poster sizes:
* One sheet, 27 inches by 40 inches (686x1020mm), portrait format = 1.48148148
* Bus stop, 40 inches by 60 inches (1016mm x 1524mm), portrait forma = 1.5

That's a pretty significant difference. I also see it's set to "stretch" which would cause it to squish since the vertical is smaller than it should be.


For comparison mini wall, which I use, has a size of 140 / 100 = 1.4 which is closer, but still squished a little. Also the "Poster list" view uses 320 / 220 = 1.45 (closer still).

What you can do then is keep the horizontal size (216) and change the height to 146. Shouldn't break anything at all.


- dan1son - 2011-01-14 00:33

fr500 Wrote:What you can do then is keep the horizontal size (216) and change the height to 146. Shouldn't break anything at all.

Agreed... I'll wonder through the code a bit more and make some changes.

I don't use the discs or cases images so I doubt it'll mess anything up at all. Might even be able to make them slightly taller.


- dan1son - 2011-01-14 18:44

Played around with modding this skin a bit last night to have proper poster proportions. Unfortunately it's not as simple as just making them narrower or taller (well it is sort of). Each view has the standard unfocused posters, the focused posters, and the animations in between. Some views can also have discs sticking out of the top which all need modifications to match.

I have 0 experience with skinning so the parameters in the XML are a bit cryptic. I'll have to do a bit of research to understand the different items and what their positions and sizes are relative too. The animations are a bit odd, for example. The end animation will stay displayed for a bit, even if the backing focus image is of a different size. Some of them "start" at a negative position which means it's not relative to 0,0 at the upper left corner as expected. Must be the corner of the container or something.

I messed with it for about 45 minutes and managed to get one working fairly well with taller images... I'm sure the others will be faster once I figure it all out.

If I get devoted enough to modify everything I'll release a patch. It's hard to find free time at home with a 19 month old and a pregnant wife Smile. I write software for a living, so it's difficult to come home and want to code something else as well.


- fr500 - 2011-01-17 03:48

It's piece of cake Tongue

I did the mod (1.45 aspect) but only for poster view 2. Might eventually fork shade since it seems to be unmantained as the author is kinda busy right now.

Doesn't seem to be enough interest to do such thing.

I added the mod to my Games Mod, get it here

http://dl.dropbox.com/u/149537/ModGames.rar

Just replace the files on the 720p folder


- dan1son - 2011-01-17 17:50

fr500 Wrote:It's piece of cake Tongue

I did the mod (1.45 aspect) but only for poster view 2. Might eventually fork shade since it seems to be unmantained as the author is kinda busy right now.

Doesn't seem to be enough interest to do such thing.

I added the mod to my Games Mod, get it here

http://dl.dropbox.com/u/149537/ModGames.rar

Just replace the files on the 720p folder

I agree doing one wasn't hard or anything... but there are quite a few views Smile

I think the author is working on his new skin at the moment. This one is pretty full featured for a Dharma skin, but has that one fault that's holding me back from keeping it the default skin on my boxes.

Thanks for doing one... I'll take a look at the mod. I just need a couple of hours one night to go through them and get the animations and sizing correct.


- fr500 - 2011-01-17 18:22

I'll do the other views, I'm "correcting" the outstanding bugs and adding some features so if you have any reqs let me know


- fr500 - 2011-01-17 18:36

Do you think TV show posters are shrunk too?


- dan1son - 2011-01-17 19:37

fr500 Wrote:I'll do the other views, I'm "correcting" the outstanding bugs and adding some features so if you have any reqs let me know

Sweet. Sounds great. The official US poster sizes are 1.48 and 1.5. Are you adjusting to that?

fr500 Wrote:Do you think TV show posters are shrunk too?

I only tend to use the big poster view for seasons. I use the horizontal Banners otherwise so I'm not sure if those are off as well.

Looking on thetvdb.com they seem to use 1000px*680px = 1.47 for the show posters and 578px*400px = 1.445 for the season posters.

I'm sure as long as you stay in the +-5% range it'll look fine.

I'm a bit anal in this regard I know, probably comes from the photographer in me. Smile I'm a big "as the artist intended" kind of person in regards to things.