IIIF / api

Source for API and model specifications documents (api and model)
http://iiif.io/api
105 stars 54 forks source link

Not returning 1×1px with /0,0,1,1/max/0/default.jpg? #2264

Closed larsmaxfield-asml closed 4 weeks ago

larsmaxfield-asml commented 9 months ago

My understanding is that a request for /0,0,1,1/max/0/default.jpg should extract a 1×1px region at (0,0). However, I'm served a 2738×2738px image instead:

Screenshot of URI and resultant image size in browser window title.

From what I see in the Image API 3.0 documentation on size, max is:

The extracted region is returned at the maximum size available, but will not be upscaled. The resulting image will have the pixel dimensions of the extracted region, unless it is constrained to a smaller size by maxWidth, maxHeight, or maxArea as defined in the Technical Properties section.

Am I encountering expected behavior? I'm still becoming familiar with IIIF so I might be missing something obvious. I've set things up by following the handy training steps here with a Cantaloupe server.

azaroth42 commented 4 weeks ago

Yes this is a bug in Cantaloupe. Not a spec issue.