Closed glenrobson closed 3 years ago
Martim found:
9917e57fffe7 - iiify - Processing: 001AAN005147 Zoom level 5 Exception in thread "main" java.lang.RuntimeException: Error doing rescale. Target size was 256x1 but must be at least 3x3.
Image: https://imaginerio-images.s3.us-east-1.amazonaws.com/iiif/001AAN005147/full/max/0/default.jpg
From container. Container commands:
docker build -t etl . docker run etl dagster pipeline execute -f pipelines/iiif_pipeline.py --preset test
Python wrapper:
https://github.com/imaginerio/situated-views-etl/blob/2abf0665955a6486b2067fb49aa899f4b26b46b0/src/solids/iiif.py#L454
Ok I think I know what's up: it is probably breaking on cases such as this:
iiif-tiler fix issues
Seems to be related to this: https://github.com/martinheidegger/java-image-scaling/blob/964dda2181e20c0afc655a9f3937fbe44bd43dea/src/main/java/com/mortennobel/imagescaling/ResampleOp.java#L181
Martim found:
Image: https://imaginerio-images.s3.us-east-1.amazonaws.com/iiif/001AAN005147/full/max/0/default.jpg
From container. Container commands:
Python wrapper:
https://github.com/imaginerio/situated-views-etl/blob/2abf0665955a6486b2067fb49aa899f4b26b46b0/src/solids/iiif.py#L454