dezoomify-rs icon indicating copy to clipboard operation
dezoomify-rs copied to clipboard

black borders

Open bruh-creater opened this issue 3 years ago • 2 comments

Hi, there is are huge black borders on x and y axis when attempting to download with custom tiles.yaml tiles.txt page 1

bruh-creater avatar Sep 05 '22 00:09 bruh-creater

tiles.yaml

url_template: "https://trove.nla.gov.au/imageservice/nla.news-page5653/tile7-{{x}}-{{y}}" x_template: "x * tile_size" y_template: "y * tile_size" variables:

  • { name: x, from: 7, to: 24, step: 1 } # Total number of tiles
  • { name: y, from: 3, to: 28, step: 1 } # Total number of tiles
  • { name: tile_size, value: 256 } headers: Referer: "https://trove.nla.gov.au/imageservice/nla.news-page5653/"

bruh-creater avatar Sep 05 '22 00:09 bruh-creater

The custom tiles.yaml relies on approximation/estimate of the dimensions. Because of approximation it's not 100% correct. Please use an image editor to crop off the black border.

MrChrisWin avatar Sep 05 '22 15:09 MrChrisWin