Actions

Template

H2w

From Sonic Retro

Revision as of 14:32, 25 June 2021 by Hivebrain (talk | contribs) (temporary fix to stop pdfs breaking things)

This template obtains the width of a resized image, given that its height is known.

Example

{{h2w|Sonic1 title.png|224}} returns 320

{{h2w|Sonic1 title.png|112}} returns 160

{{h2w|Sonic1 title.png|97}} returns 139

{{h2w|VGL2 CD US booklet.pdf|97}} returns 97