BobscreenTest

From Sega Retro


This template sets the maximum width of a screenshot to 320 pixels, and corrects its aspect ratio.

Usage

{{bobscreen|MagicalPuzzlePopils title.png}}

returns










  • 160x144
  • 192x144 -> SX:1.2, SY:1 -> HM:16, VM:72
MagicalPuzzlePopils title.png

This is how the game appears on an actual Sega Game Gear. The original image taken from an emulator is below:

MagicalPuzzlePopils title.png

Options

{{bobscreenTest|MagicalPuzzlePopils title.png|width=120}}

returns










  • 160x144
  • 120x90 -> SX:0.75, SY:0.625 -> HM:-20, VM:18
MagicalPuzzlePopils title.png

"width" also takes into account the adjusted aspect ratio, so the image appears 120 pixels wide even if the source image is not.

Height

In addition, this template corrects heights:

WinterHeat title.png ->










  • 704x480
  • 640x480 -> SX:0.90909090909091, SY:1 -> HM:-32, VM:240
WinterHeat title.png


ClockworkKnightUSPAL Title.png ->










  • 352x224
  • 298.66666666667x224 -> SX:0.84848484848486, SY:1 -> HM:-26.666666666665, VM:112
ClockworkKnightUSPAL Title.png


NiGHTS title.png ->










  • 704x448
  • 597.33333333333x448 -> SX:0.84848484848484, SY:1 -> HM:-53.333333333335, VM:224
NiGHTS title.png


NiGHTS title.png ->










  • 704x448
  • 320x240 -> SX:0.45454545454545, SY:0.53571428571429 -> HM:-192, VM:16
NiGHTS title.png

Anamorphic widescreen

widescreen VirtuaFighter 32X Widescreen2.png ->










  • 320x224
  • 398.22222222222x224 -> SX:1.2444444444444, SY:1 -> HM:39.11111111111, VM:112
VirtuaFighter 32X Widescreen2.png


widescreen VirtuaFighter 32X Widescreen2 PAL.png ->










  • 320x240
  • 426.66666666667x240 -> SX:1.3333333333333, SY:1 -> HM:53.333333333335, VM:120
VirtuaFighter 32X Widescreen2 PAL.png


widescreen w200 VirtuaFighter 32X Widescreen2 PAL.png ->










  • 320x240
  • 200x112.5 -> SX:0.625, SY:0.46875 -> HM:-60, VM:-7.5
VirtuaFighter 32X Widescreen2 PAL.png


widescreen h200 VirtuaFighter 32X Widescreen2 PAL.png ->










  • 320x240
  • 355.55555555556x200 -> SX:1.1111111111111, SY:0.83333333333333 -> HM:17.77777777778, VM:80
VirtuaFighter 32X Widescreen2 PAL.png

TODO: Get width parameter to work properly here.