Comments (5)
@duhaime Success with parsing the manifests and returning the images as .pngs.
from pix-plot.
Ah sorry about that, I thought IIIF would resize an image into any requested size, but I guess there's a max width beyond which IIIF servers will no longer increase an image's size. So e.g.
# 5000 width works
https://images.britishart.yale.edu/iiif/95696475-8858-4b08-9b04-877cbe2f3e32/full/5000,/0/native.jpg
# 50000 width is too big
https://images.britishart.yale.edu/iiif/95696475-8858-4b08-9b04-877cbe2f3e32/full/50000,/0/native.jpg
I just pushed updates to the iiif-downloader package that's used herein. Could you try to pip install iiif_downloader -U
and then retry the build command?
from pix-plot.
@cncoleman Did you get a chance to try the new iiif downloader release? I wanted to make sure you were all set on that front...
from pix-plot.
@duhaime I did load the new iiif downloader reease. It is still trying to load a jpg that does not exist and saves it with the common filename iiif.png.
It loads the manifest and then loads the image from the URL. It is this URL that is mistakenly parsed from the manifest. For example, it attempts to load:
https://stacks.stanford.edu/image/iiif/pj302jt0460%2FFarallon_1990_8256_23A24/full/600,/0/default.jpg
which does not exist. If, instead, I change '600,' to 'full' I end up with an image path that works:
https://stacks.stanford.edu/image/iiif/pj302jt0460%2FFarallon_1990_8256_23A24/full/full/0/default.jpg
from pix-plot.
@cncoleman many thanks for your follow up and the details of this manifest--I've learned more about IIIF because of this thread. I thought all IIIF servers would serve any size of an image <= the width and height for the given image advertised in the image's manifest, but I see now that an image can advertise discrete width and height attributes in its own metadata json. Curious!
I also had assumed the urls were more consistent but I see the prefix part of the scheme has some variability to it.
I just pushed up a new version of the IIIF downloader with these corrections. You could please try pip install iiif_downloader==0.0.8
and rm -rf output
to clear the pixplot output. Then could you try to process the collection again? We should be getting closer now!
from pix-plot.
Related Issues (20)
- Dependency Requirements Issue HOT 1
- Image not displayed on iPad
- Download metadata for additional metadata fields HOT 1
- Add option to download metadata file for UMAP clusters like that for manually created clusters
- Best way to make a smaller "PixPlot" HOT 2
- metadata / custom fields HOT 1
- Bug with get_heightmap and umap layouts HOT 3
- HDBSCAN not available HOT 5
- Non-OK status: "platform is already registered with name: "METAL"
- Non-OK status: "platform is already registered with name: 'METAL'"
- Improper duplicate name validation in filter_images() HOT 5
- gbk code issue
- How would YaleDH like PixPlot to be ited?
- How would YaleDH like Pixplot to be cited?
- Associating filenames and clusters HOT 1
- Demo websites are down
- ThreeJS error when selecting lat/long view
- Sample data downloads are broken HOT 3
- Could not build wheels for scipy, HOT 6
- Tensorflow Issue? terminating due to uncaught exception of type google::protobuf::FatalException: HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pix-plot.