Difference between revisions of "Bobscreen"
From Sega Retro
Line 14: | Line 14: | ||
| 320 × 256 = (341/320) <!-- Amiga --> | | 320 × 256 = (341/320) <!-- Amiga --> | ||
| 256 × 240 = 1.25 <!--X68000--> | | 256 × 240 = 1.25 <!--X68000--> | ||
+ | | 256 × 232 = (309/256) <!--X68000--> | ||
| 1 | | 1 | ||
}}}}}}{{#vardefine:vscale|{{#expr:{{#switch:{{#mediadimensions:{{{1}}}}} | }}}}}}{{#vardefine:vscale|{{#expr:{{#switch:{{#mediadimensions:{{{1}}}}} | ||
Line 205: | Line 206: | ||
| [[File:BonanzaBros_X68_JP_SSTitle.png]] | | [[File:BonanzaBros_X68_JP_SSTitle.png]] | ||
| {{bobscreen|BonanzaBros_X68_JP_SSTitle.png}} | | {{bobscreen|BonanzaBros_X68_JP_SSTitle.png}} | ||
+ | |- | ||
+ | | <nowiki>{{bobscreen|AlienSyndrome X68 JP SSIngame.png}}</nowiki> | ||
+ | | [[File:AlienSyndrome X68 JP SSIngame.png]] | ||
+ | | {{bobscreen|AlienSyndrome X68 JP SSIngame.png}} | ||
|} | |} | ||
[[Category:Breakout box templates]] | [[Category:Breakout box templates]] | ||
</noinclude> | </noinclude> |
Revision as of 07:33, 1 January 2019
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.