【问题标题】:Restore full image from IIIF json从 IIIF json 恢复完整图像
【发布时间】:2021-09-03 00:26:46
【问题描述】:

如果我们在 following format 中有 IIIF info.json

{
  "@context" : "http://iiif.io/api/image/2/context.json",
  "@id" : "http://iiif.nli.org.il/IIIF/FL47675519",
  "protocol" : "http://iiif.io/api/image",
  "width" : 6000,
  "height" : 4784,
  "sizes" : [ {
    "width" : 46,
    "height" : 37
  }, {
    "width" : 93,
    "height" : 74
  }, {
    "width" : 187,
    "height" : 149
  }, {
    "width" : 375,
    "height" : 299
  } ],
  "tiles" : [ {
    "width" : 1024,
    "height" : 1024,
    "scaleFactors" : [ 1, 2, 4, 8, 16, 32, 64, 128 ]
  } ],
  "profile" : [ "http://iiif.io/api/image/2/level1.json", {
    "formats" : [ "jpg" ],
    "qualities" : [ "native", "color", "gray" ],
    "supports" : [ "regionByPct", "regionSquare", "sizeByForcedWh", "sizeByWh", "sizeAboveFull", "rotationBy90s", "mirroring" ]
  } ]
}

我怎样才能一个接一个地以高质量的方式获取所有图像的图块?

我观察了浏览器的请求,找不到合法和非法请求的模式。

这些请求是合法的(要查看您需要的图像,请先进入the library website,然后放大和缩小下一个链接即可):

但是,这些无效:

那么,我应该怎么做才能遍历所有图像块?

我尝试阅读 IIIF 文档 here,但没有帮助。

【问题讨论】:

    标签: json image url request iiif


    【解决方案1】:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-12-07
      • 2018-11-22
      • 2022-12-25
      • 1970-01-01
      • 1970-01-01
      • 2018-07-22
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多