Different way of exporting for retina

slevslev Member Posts: 99
Hi, just thought of this would it work to instead of exporting images at 960 x 640 - 72dpi,
instead export them as 480 x 320 at 144dpi ?

just a thought..

Comments

  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    Nope, GS has to have 72DPI images.

    Ace
  • CloudsClouds Member Posts: 1,599
    ppi = computer files (pixel per inch)
    dpi = print media (dots per inch)

    Pixel values are absolute. By that I mean that when you make a file 480 pixels wide it is 480 pixels wide - and the 'ppi' value will have no effect on the actual pixel count.

    For example:

    A 480 x 320 image @ 144 ppi is 480 pixels wide by 320 pixels tall.
    A 480 x 320 image @ 72 ppi is 480 pixels wide by 320 pixels tall.
    A 480 x 320 image @ 80,000,000,000 ppi is 480 pixels wide by 320 pixels tall.
    A 480 x 320 image @ 1 ppi is 480 pixels wide by 320 pixels tall.


    So . . . changing a file from 960 x 640 @ 72dpi to 480 x 320 @ 144dpi just means that you have thrown away three quarters of the information.

    Plus, like mynameisace said, GS works on the assumption that the files are 72 ppi.

  • ImprobableIdeasImprobableIdeas Member Posts: 8
    Yeah keep files at 72dpi/ppi also if possible make sure the dimensions are either 8, 16, 32, 64, 128, 256, 512 or 1024 as these are the most memory efficient dimensions. If you want an actor to be 64x64 then make the image for that actor 128x128 and then enable resolution independence in your project. This means that when your app is on a device with a retina screen it shows the image in four times the amount of detail whilst allowing the same image to work on a non-retina screen device.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Those are just the RAM container sizes. Not the MOST efficient. You should just keep those numbers in min and if your image is 260x260 know that you can help out your games ram usage by reducing the image to 256x256 so that it is not using the ram of 512x512 I personally would not even be concerned with the container size except for limiting the 512 and 1024 images.

    But you will get no better performance between 300,400,or 512 its will just use the same and should just be something you should be aware of. but don't fret over it.
Sign In or Register to comment.