-
Notifications
You must be signed in to change notification settings - Fork 56
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
grayifcolor quality (low bandwidth use case) #1920
Comments
If the "original" image is bitonal (there's no such thing as an original image in the semantics of the spec, but let's use it as shorthand here) then a server should not list That said, two additional points:
|
Thanks for your answer! You're right, with version 3 I can just look if About your additional points: I don't know of many other implementations, but our server knows if an image is bitonal and sets the default accordingly, this is what led to #1786 (for our bitonal pictures, png is significantly more efficient than jpg) |
Here's the use case of my institution:
I think there are 3 possible ways to achieve what we need, I'll expose them by descending order of interest:
1.
grayifcolor
qualityIn this proposal, a new value for quality would be added:
grayifcolor
, which would have the following original -> output function:bitonal
->bitonal
(likedefault
does)gray
->gray
(likedefault
orgray
do)color
->gray
(likegray
does)This would allow a low bandwidth mode to work on all images. I will start by implementing that as an
extraQuality
or our servers, but as I said, it would be helpful to have this mode handled everywhere for low bandwidth areas.2. originalquality indication
In this proposal, there would be an
originalquality
field in the image information, it would have 3 possible values:color
,gray
orbitonal
, and it would allow a viewer to choose thegray
quality when the original quality iscolor
. I know that there's been some great care not to put anything like that in the spec until now, hence my first proposal and this being the second, despite being conceptually more simple.3. HTTP header approach
This is kind of an unusual pattern, but I thought it could be wort mentionning: if there was a standard
IIIF-mode
http header, that could have different values includingdefaulttograyifcolor
, this could drive the server into serving agray
quality when the url requests thedefault
one on a color image.The text was updated successfully, but these errors were encountered: