-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I get image.ptif file? #5
Comments
Can I rename image.tif to image.ptif? |
Unfortunately I am not familiar with Windows web servers. Is you web server running on Windows?
IIPImage operates on tiled TIFF multiresolution "pyramids" which I chose to suffix with the ".ptif" extension. A simple TIFF file won't do it. You can create TIFF multiresolution pyramids in a number of ways (check out this page. I can only advise you when it comes to creating TIFF multiresolutions pyramids from FITS, using the STIFF package: please check out the STIFF documentation or this page. |
Yes. My web server runs on windows. |
Yes. You should use forward slashes / for your FIF paths, however.
You can find an example tiled multi-resolution tiff here: http://iipimage.sourceforge.net/documentation/images/ |
Yes. I have download the sample image from the site. However, the suffix of it is tif, not ptif. |
the codes of viewer is as following: link rel="stylesheet" href="leaflet.css" / var map = L.map('map', {center: [0.0,0.0], zoom: 3}), |
I create output.ptif using ImageMagick |
my server is apache. |
See what it says in the iipsrv log file. |
I cannot find the iipsrv log file. |
I think there are two possibilities. |
HI,
I have made the iipimage server work. When I try to use leaflet plugin for iipimage server, it doesn't work. I think the problem may be here:
layer = L.tileLayer.iip('/fcgi-bin/iipsrv.fcgi?FIF=/path/to/image.ptif').addTo(map);
two questions:
1.Does FIF=/images/image.ptif equal to C:\images\image.ptif?
2.I have only tiled tif file, have not ptif file? How can I get it?
Thank you very much.
The text was updated successfully, but these errors were encountered: