RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    image unit of measurement

    Scheduled Pinned Locked Moved Projects and Themes
    emulationstatiothemeimage size
    5 Posts 4 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DRA6ND
      DRA6N
      last edited by

      I am having an issue trying to get a particular image to line up with a theme I am building.
      what is the unit of measurement ES uses?
      right now I have it set as:

      <size>0 0.502</size> ....but I know it isn't pixels or inches.. any ideas?

      lilbudL 1 Reply Last reply Reply Quote 0
      • lilbudL
        lilbud @DRA6N
        last edited by

        @dra6n It's percents. from 0 to one. You can make a photoshop document and add a 100x100 grid.

        @mattrixk said in Fundamental Theme:

        I get my sizes from a 1280x720 photoshop file. I set the size to percent (instead of pixel) and have a 100x100 grid, so each grid line is at 1% width or height. I find it works really well for me.

        Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

        Backlog: http://backloggery.com/lilbud

        DRA6ND 1 Reply Last reply Reply Quote 2
        • DRA6ND
          DRA6N @lilbud
          last edited by

          @lilbud thanks! this will help me a lot!

          1 Reply Last reply Reply Quote 0
          • omgmogO
            omgmog
            last edited by

            Just digging this thread up to add that I made a little web-based tool to help calculate these "normalized numbers":

            https://blog.omgmog.net/px2norm/

            You put your theme's target resolution in the first two boxes, e.g. 1920 and 1080, then in the second two you put the x and y in actual pixels of the point you want to know. Then when you press the "Calculate" button it will give you the normalized numbers.

            hiulitH 1 Reply Last reply Reply Quote 4
            • hiulitH
              hiulit @omgmog
              last edited by

              @omgmog Cool app! ;)

              My little contributions to the RetroPie project:

              • Shell-Script-Boilerplate
              • Fun-Facts-Splashscreens
              • Limit-Last-Played-Games
              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.