PanoTools mailing list archive

Mailinglist:proj-imim
Sender:Helmut Dersch
Date/Time:2000-May-19 01:25:22
Subject:Re: bad circle at the bottom of my pano

Thread:


proj-imim: Re: bad circle at the bottom of my pano Helmut Dersch 2000-May-19 01:25:22
Mike wrote:
> 
> 
> How is the psize value determined? For example, if my jpg file is 234kbytes
> (240,606 bytes) should the value be set at 250,000 or is there anything
> additional to account for?
> 
> Is there any relationship between the psize value and the maxarray value in
> the javascript? In other words, should they be the same or doesn't it
> matter?
> 

The maxarray and psize parameters are not related. They are both
optional and may be removed without any problems. However, if they
are set to wrong values they may cause problems.

Setting psize causes the browser to download the panoramic image
into a local array first, and then decompressing it. Netscape
displays a progress bar in the status line for this download
which I find very useful. If you don't set psize, the image
is loaded via the java function getImage(), which is ok, but
doesn't show the progress bar. Setting psize too small causes
the local array to be too small, which results in incomplete
download (missing parts in lower region of panorama). Setting
psize too large is no problem except that memory is waisted.

The maxarray parameter determines the maximum size for an
array used by PTViewer. It is preset to work on Netscape which
has a size limit independent of available RAM. If you set
maxarray to larger values, Netscape may not be able to
handle large images. The only case where you might want to set
maxarray is for IE and large images, since the preset value
causes slower image downloads on this browser.

To summarize: If you set none of these tags, PTViewer works
on both IE and Netscape, with small and large images.
If you want a progress bar, set psize. If you want fast
download of large images on IE, set maxarray large for
IE, but leave it small for Netscape.

Helmut Dersch



Next thread:

Previous thread:

back to search page