NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) v
« Previous 1 … 24 25 26 27 28 … 125 Next »
Skin Scaler app - Is this likely to work?

 
  • 0 Vote(s) - 0 Average
Skin Scaler app - Is this likely to work?
Kevl
Offline

Member

Posts: 246
Threads: 26
Joined: Aug 2005
#1
2007-06-20, 02:46 PM
Hi

Have seen lots of fine skins on the wiki.

I'm looking to put together a hi resolution skin so as to allow 1:1 pixel mapping onto my plasma.

This has a 1365 x 768 pixel res.

Most skins on the wiki seem to have a much lower res than this.

Given I am artisticly challenged then rather than try to produce my own skin I am looking to modify existing skins.

I have looked at the skin definition text files and these seem to have two types of coordinate references which dictate where primatives are placed on the skin.

I am thinking that if I write a simple script which grabs the skin files and parses them for "loc" and "size" coordinate pairs then I ought to be able to rescale the skins from the current size to any size.

I simply need to work out what the scale factors X and Y need to be and change the coordinates after the "loc" and "size" by multiplying by the required scale factor and turning result into an integer.

I might also need to change the size of fonts (presumably have font height multiplied by Y scale factor.)


Before I spend time writing this, is there milage in this approach or are there hidden problems?



Kev
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#2
2007-06-20, 04:08 PM
I actually have already built a C# program to do this for the Wide Screen versions of the Community Skins. Fatman_do has used it, I believe his results have been pretty good. (See SearchWiz wiki page, look for the SkinResizer.zip download).

I am at work at the moment, I can send you the source later today when I have access to my development machine.
Kevl
Offline

Member

Posts: 246
Threads: 26
Joined: Aug 2005
#3
2007-06-21, 12:17 AM
Many thanks.

I will take a look at your existing application.

I didn't realise there was such a utility.

Will save me a good few hours of coding and skin trashing.


Kev
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#4
2007-06-21, 12:50 AM
Here is the source code.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Search Skin Problem Northpole 12 23,939 2011-07-10, 08:24 PM
Last Post: Northpole
  Vertical Menu skin question Northpole 4 3,946 2010-12-11, 05:12 PM
Last Post: Northpole
  Skin documentation dspdrew 14 7,502 2010-10-25, 07:09 AM
Last Post: Hairy
  What are your skin preferences? Hairy 22 10,039 2010-10-06, 11:36 AM
Last Post: Hairy
  Will ParaLED work with USB to Parallel Adapter? LewE 12 7,697 2010-06-30, 09:30 PM
Last Post: LewE
  Blue Skin: Recordings - Include Program Description ralphy 4 3,479 2010-05-17, 01:32 AM
Last Post: ralphy
  Slick skin pictures Pob 4 3,087 2009-12-21, 10:41 PM
Last Post: Pob
  Aeon Project skin port for GBPVR mvallevand 18 11,247 2009-10-31, 12:21 PM
Last Post: CornStopper
  Slick skin - task image tm12 3 2,856 2009-09-11, 10:09 AM
Last Post: tm12
  Updating a new skin.xml mvallevand 2 2,486 2009-09-03, 09:04 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode