-
Notifications
You must be signed in to change notification settings - Fork 54
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
Quality in Image API v3: Replace color
with full
#1839
Comments
With respect to bitonal and gray - is this a perceptual rendering only or does it imply the use of one of a limited number of color spaces in the response and / or a limitation on color depth? e.g. with gray, only one channel of color data; with bitonal, 1 bit per pixel only. I have always interpreted it as a perceptual intent rather than an intention to produce images with particular constraints in how color information is encoded in the image. |
I like where this is heading. Reading as explained above, I wonder if we need |
Yes, I think the avoidance of It's a good idea to return bitonal or gray with an appropriate and optimised color space, but it's not an error if you don't. Here's another use case, going the other way. Inspired by @ahankinson's comment - IIIF/trc#19 (comment) - are they scores, maybe? Let's assume they are scores, and the master image is bitonal. Let's also assume that they are really high resolution bitonal images. If the server offers |
@mikeapp had a use case where |
@jpstroop that was my initial reaction as well, but default allows for the case where the server chooses a preferred quality that is not the most colors, per @mikeapp's use case. There's no real cost that I can see to leaving both |
OK... |
Editors propose to take to TRC |
This proposal to change |
We decided not to do this is v3.0. Not worth consideration until/unless there is another major release. Closing |
Following the discussion that developed on IIIF/trc#19, the editors propose that potential ambiguity about whether a server should offer
color
, and what it should do with requests forcolor
, could be resolved by using the termfull
to avoid the implication that acolor
quality image should contain non-gray-shade pixels, or use particular color encodings.Therefore (wording provisional):
bitonal
: The image returned is bitonal, where each pixel is either black or white.gray
: The image is returned in grayscale, where each pixel is black, white or any shade of gray in between.full
: The image is returned with as much color information as available.default
: The image is returned using the server’s default quality (e.g. full, gray or bitonal) for the image.Observation:
A
full
image may contain only gray shades, if that is all that is available: it is legitimate for the server to listfull
in this case even if the response would be identical to that forgray
.The text was updated successfully, but these errors were encountered: