|
![](/i/fill.gif) |
Dan Connelly <djc### [at] yahoo com> wrote:
> Trevor G Quayle wrote:
>
> > 1351 X 1170
> > 1560 x 1351
> > both have a difference of 0.000027%
>
> Here's a list of ratios which do the best, for sizes up to that ratio, or
reproducing the desired aspect ration:
>
> W H error
> 1 1 0.154700538379252
> 4 3 0.133974596215561
> 5 4 0.0762395692965987
> 6 5 0.0377495513506236
> 7 6 0.010256681389213
> 15 13 0.00074046659535143
> 52 45 0.000739918710263021
> 67 58 0.000408489164229975
> 82 71 0.000198314330160265
> 97 84 5.31420220913903e-05
> 209 181 3.81553418438152e-06
> 724 627 3.815519626027e-06
> 933 808 2.10609814010887e-06
> 1142 989 1.02236683030554e-06
> 1351 1170 2.7394246893131e-07
> 2911 2521 1.96681873010363e-08
None of the values you've listed match the correct aspect ratio. For instance,
2521 * ~1.73 = ~4367, and 1170 * ~1.73 = ~2026. Also, precision is important
because the pattern in the tiles needs to line up with an identical pattern in
a larger image. Also, the tiles themselves must have a low resolution. None of
the low-resolution options seem to have an acceptible margin of error.
-Mike
Post a reply to this message
|
![](/i/fill.gif) |