wwp@yahoogroups.com:
Re: Does the image width have to be divisible by 2 to join correctly?
Markus Altendorff 2005-Sep-28 17:23:00
centreofengland wrote:
> --- In #removed#, Thomas Rauscher <#removed#> wrote:
>
>>The problem is, that I currently use integer math for the cropping.
>>The solution is to make the horizontal tiles a divisor of the image
>>width.
>>MfG,
>
> Thomas.
>
> Hi Thomas, So what you are saying is that lets say my jpg is 6550
> pixels wide then I need to change the "Horizontal Tiles" value to 25?
> If so then I guess its best if my jpgs are a nice round figure rather
> than somthing like 6569 pixels wide.
>
> So the height of the jpg does not matter then?
>
Once upon a time ;) the rule for QTVRs was that each tile
(!) measure (in pixels) had to be divisible by 4 - of
course, that was in the days of cylindrical-only panoramas,
but i think it hasn't changed since then.
So, if you have 25 horizontal tiles, the value must be a
multiple of (25*4) = 100 pixels since each tile must fit the
rule. The vertical size must be a multiple of 4.
Note: At least i think so - with the advent of Mac OS X,
even Apple's free tools learned how to re-scale and optimize
these values all by themselves, so there's no real feedback
left (earlier tools would simply come up with all kinds of
error messages instead, and even with a helpful one like
"nearest possible size 6144x768" or something).
-Markus