Difference between revisions of "Bobscreen"
From Sega Retro
Line 13: | Line 13: | ||
| 256 × 212 = (283/256) <!-- MSX2 --> | | 256 × 212 = (283/256) <!-- MSX2 --> | ||
| 320 × 256 = (341/320) <!-- Amiga --> | | 320 × 256 = (341/320) <!-- Amiga --> | ||
+ | | 256 × 240 = 1.25 <!--X68000--> | ||
| 1 | | 1 | ||
}}}}}}{{#vardefine:vscale|{{#expr:{{#switch:{{#mediadimensions:{{{1}}}}} | }}}}}}{{#vardefine:vscale|{{#expr:{{#switch:{{#mediadimensions:{{{1}}}}} | ||
Line 196: | Line 197: | ||
| [[File:HotRod Amiga Title.png]] | | [[File:HotRod Amiga Title.png]] | ||
| {{bobscreen|HotRod Amiga Title.png}} | | {{bobscreen|HotRod Amiga Title.png}} | ||
+ | |- | ||
+ | | <nowiki>{{bobscreen|SpaceHarrier X68 JP SSBoss.png}}</nowiki> | ||
+ | | [[File:SpaceHarrier X68 JP SSBoss.png]] | ||
+ | | {{bobscreen|SpaceHarrier X68 JP SSBoss.png}} | ||
|} | |} | ||
[[Category:Breakout box templates]] | [[Category:Breakout box templates]] | ||
</noinclude> | </noinclude> |
Revision as of 12:15, 31 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.