Difference between revisions of "Bobscreen"
From Sega Retro
Line 11: | Line 11: | ||
| 384 × 496 = (372/384) <!--Vertical arcade (e.g. Gain Ground)--> | | 384 × 496 = (372/384) <!--Vertical arcade (e.g. Gain Ground)--> | ||
| 248 × 224 = (320/248) <!-- PC Engine --> | | 248 × 224 = (320/248) <!-- PC Engine --> | ||
+ | | 256 × 212 = (283/256) <!-- MSX2 --> | ||
| 1 | | 1 | ||
}}}}}}{{#vardefine:vscale|{{#expr:{{#switch:{{#mediadimensions:{{{1}}}}} | }}}}}}{{#vardefine:vscale|{{#expr:{{#switch:{{#mediadimensions:{{{1}}}}} | ||
Line 156: | Line 157: | ||
| [[File:AfterBurnerII PCE Title.png]] | | [[File:AfterBurnerII PCE Title.png]] | ||
| {{bobscreen|AfterBurnerII PCE Title.png}} | | {{bobscreen|AfterBurnerII PCE Title.png}} | ||
+ | |- | ||
+ | | <nowiki>{{bobscreen|Columns MSX2 Title2.png}}</nowiki> | ||
+ | | [[File:Columns MSX2 Title2.png]] | ||
+ | | {{bobscreen|Columns MSX2 Title2.png}} | ||
|} | |} | ||
[[Category:Breakout box templates]] | [[Category:Breakout box templates]] | ||
</noinclude> | </noinclude> |
Revision as of 14:43, 16 December 2018
This template sets the maximum width of a screenshot to 320 pixels, and corrects its aspect ratio.
Usage
{{bobscreen|MagicalPuzzlePopils title.png}}
returns
This is how the game appears on an actual Sega Game Gear. The original image taken from an emulator is below:
Options
{{bobscreen|MagicalPuzzlePopils title.png|width=120}}
returns
"width" also takes into account the adjusted aspect ratio, so the image appears 120 pixels wide even if the source image is not.