正在查看 7 个帖子:1-7 (共 7 个帖子)
  • 作者
    帖子
  • @36376 回复 ⚑举报 

    求证
    游客

    没下载成功,请老师帮忙看下:

    图的地址 emuseum.nich.go.jp/detai..._pict_id=0

    meta.xml信息:

    <contents id="100076001002">
    <contentsType>standard</contentsType>
    <slideDirection>RtoL</slideDirection>
    <initSlideX>0</initSlideX>
    <initDepth>1</initDepth>
    <formatType>jpeg</formatType>
    <dataSize w="2313" h="3703"/>
    <pict id="2" o="2" w="2313" h="3703"/>
    </contents>

    我写的tiles.yaml

    url_template: "https://emuseum.nich.go.jp/img/content/100076001002/2/d5/{{x/256+1}}_{{y/256+1}}.jpeg"

    variables:
    - name: x
    from: 2
    to: 2313
    step: 256

    - name: y
    from: 2
    to: 3703
    step: 256

    - name: tile_size
    value: 256

    headers:
    Referer: "https://emuseum.nich.go.jp"

    不知道哪里出了问题

    谢谢

    @36386 回复 ⚑举报 

    黄土地
    游客

    试试这个tiles.yaml。

    url_template: "https://emuseum.nich.go.jp/img/content/100076001002/2/d5/{{x/256+1}}_{{y/256+1}}.jpeg"

    variables:
    - name: x
    from: 1
    to: 2313
    step: 256

    - name: y
    from: 1
    to: 3703
    step: 256

    - name: tile_size
    value: 256

    headers:
    Referer: "https://emuseum.nich.go.jp"

    @36389 回复 ⚑举报 

    求证
    游客

    @黄土地 #36386

    试过,还是相同的错误

    @36391 回复 ⚑举报 

    黄土地
    游客

     

    @求证 #36389

    把dezoomify-rs.exe和tiles.yaml放到一个文件夹里,在命令行执行下面命令。

    dezoomify-rs --accept-invalid-certs tiles.yaml result.png


    C:\Users\*****>dezoomify-rs --accept-invalid-certs tiles.yaml result.png
    [ETA:0s] ######################################## 150/150 Finished tile download
    Image successfully saved to 'result.png' (current working directory: C:\Users\*****)

    @36392 回复 ⚑举报 

    求证
    游客

    @黄土地 #36391

    谢谢黄老师

    @36402 回复 ⚑举报 

    求证
    游客

    @黄土地 #36391

    黄老师能不能再帮忙看下这个,怎么只能下一部分?

    emuseum.nich.go.jp/detai...8;webView=

    url_template: "https://emuseum.nich.go.jp/img/content/100346001001/1/d8/{{x/256+1}}_{{y/256+1}}.jpeg"

    variables:
    - name: x
    from: 1
    to: 26663
    step: 256

    - name: y
    from: 1
    to: 14332
    step: 256

    - name: tile_size
    value: 256

    headers:
    Referer: "https://emuseum.nich.go.jp"

    @36403 回复 ⚑举报 

    求证
    游客

    @求证 #36402

    我知道问题了,xy弄反了

正在查看 7 个帖子:1-7 (共 7 个帖子)
正在查看 7 个帖子:1-7 (共 7 个帖子)

上传图片

拖拽或点击选择图片(最多五张)

回复至:写tiles.yaml文件用dezoomify-rs下载e国宝图的问题
您的信息:



发帖/回帖前,请了解相关版规

0,邮箱地址尽量真实有效,随意填写的可能会被系统误判为垃圾内容。
1,不要开书单。单个帖子尽量发布一种书籍需求。
2,在搜索不到相关主题的情况下,尽量发新帖(发帖标题最好带上书名)。不要在他人帖子中回复某种书籍需要。
3,发帖提问标题尽量简单明了。发帖内容不要太过简略,请对书籍内容、版本或作者作简要说明。
4,出版于1973年以后的资源需求或分享将会被清理删除。