RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    ROM Picture size (detailed view) for Carbon Theme ?

    Scheduled Pinned Locked Moved Help and Support
    imagesizecarbon
    3 Posts 2 Posters 1.5k 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.
    • UDb23U
      UDb23
      last edited by

      Does anybody know what is the maximum size, in pixels, for Game pictures in the detailed view of Carbon Theme?
      If the used image is smaller than max, will it be stretched to fill max size ?

      Looking at the theme xml I'd suppose size is 453x436.

      <image name="md_image">
      <pos>0.763 0.400</pos>
      <maxSize>0.453 0.436</maxSize>
      <origin>0.5 0.5</origin>
      </image>
      
      mattrixkM 1 Reply Last reply Reply Quote 0
      • mattrixkM
        mattrixk @UDb23
        last edited by

        @UDb23: Pretty much everything in ES works in Percentages rather than Pixels.

        That <maxSize> refers to the percentage of screen size, so:
        0.453 = 45.3% of the screen width
        0.436 = 43.6% of the screen height

        Because the theme author used <maxSize> the image will retain its aspect ratio and grow until the first edges hit (either top and bottom, or left and right). If <size> was used, then the image would distort to fill the space specified.

        My ES themes: MetaPixel | Spare | Io | Indent

        UDb23U 1 Reply Last reply Reply Quote 1
        • UDb23U
          UDb23 @mattrixk
          last edited by

          @mattrixk Makes sense. Thanks a lot for the info.

          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.