@2055

坐看云起
游客

未曾老师,用这个方法发现一个问题,数字文物库的碎片第一行和第一列尺寸为 255,其它都是 256,所以会出现两条细线,这个可以怎么解决呢?

YAML 如下:

url_template: "https://shuziwenwu-1256350439.cos.ap-beijing.myqcloud.com/relic/189f8d0ea3914cd6a2b62479c98bee9c/image-bundle/16/{{x/256}}_{{y/256}}.jpg"

variables:
- name: x
from: 0
to: 47887 # Image width, taken from stage 1
step: 256 # Tile width, taken from stage 1

- name: y
from: 0
to: 2077 # Image height
step: 256 # Tile height