Difference between revisions of "BobscreenTest"
From Sega Retro
Line 6: | Line 6: | ||
| 352 × 240 = 0.9 <!--Saturn PAL--> | | 352 × 240 = 0.9 <!--Saturn PAL--> | ||
| 704 × 480 = 0.9 <!--Saturn PAL--> | | 704 × 480 = 0.9 <!--Saturn PAL--> | ||
+ | | 224 × 224 = 1.43 <!--Saturn PAL--> | ||
+ | | 240 × 224 = 1.32 <!--Super Locomotive--> | ||
+ | | 288 × 224 = 1 <!--Flashgal, appears to use square pixels.--> | ||
| 1 | | 1 | ||
}}}}{{#vardefine:vscale|{{#switch:{{#mediadimensions:{{{1}}}}} | }}}}{{#vardefine:vscale|{{#switch:{{#mediadimensions:{{{1}}}}} | ||
| 224 × 256 = 1.25 <!--Vertical arcade (e.g. Deep Scan)--> | | 224 × 256 = 1.25 <!--Vertical arcade (e.g. Deep Scan)--> | ||
| 240 × 256 = 1.25 <!--Vertical arcade (e.g. Angel Kids)--> | | 240 × 256 = 1.25 <!--Vertical arcade (e.g. Angel Kids)--> | ||
+ | | 208 × 256 = 1.08 <!--Vertical arcade (e.g. Bull Fighter)--> | ||
| 512 × 448 = 0.8 <!--PlayStation 2--> | | 512 × 448 = 0.8 <!--PlayStation 2--> | ||
+ | | 512 × 480 = 0.8 <!--Astron Belt--> | ||
+ | | 224 × 288 = 1 <!--Pengo, square pixels.--> | ||
| {{#ifeq:{{{forcewidescreen}}}|yes|0.8|1}} | | {{#ifeq:{{{forcewidescreen}}}|yes|0.8|1}} | ||
}}}}{{#vardefine:is3d|{{#switch:{{#mediadimensions:{{{1}}}}} | }}}}{{#vardefine:is3d|{{#switch:{{#mediadimensions:{{{1}}}}} |
Revision as of 17:35, 13 July 2018
This template sets the maximum width of a screenshot to 320 pixels, and corrects its aspect ratio.
Usage
{{bobscreen|MagicalPuzzlePopils title.png}}
returns
192,144
This is how the game appears on an actual Sega Game Gear. The original image taken from an emulator is below:
Options
{{bobscreenTest|MagicalPuzzlePopils title.png|width=120}}
returns
120,90
"width" also takes into account the adjusted aspect ratio, so the image appears 120 pixels wide even if the source image is not.