From 646c83fe0403486106d647f936d7fc0bf329aeb1 Mon Sep 17 00:00:00 2001 From: Ian Gilman Date: Mon, 13 Nov 2017 11:41:33 -0800 Subject: [PATCH] Updated The DZI File Format (markdown) --- The-DZI-File-Format.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/The-DZI-File-Format.md b/The-DZI-File-Format.md index baf9bf2..95b0e14 100644 --- a/The-DZI-File-Format.md +++ b/The-DZI-File-Format.md @@ -1,9 +1,9 @@ For a general overview, see https://msdn.microsoft.com/en-us/library/cc645077(VS.95).aspx. -When creating a DZI image, you specify a tile size and overlap. The conversion tool then goes through the image, breaking it into tiles. It starts with the full resolution image, and starts creating tiles from the upper left corner, with the first tile being 0_0, the next in the top row being 1_0, etc. The first tile on the next row is 0_1, etc. This becomes the highest level. +When creating a DZI image, you specify a size, format, and overlap. The conversion tool then goes through the image, breaking it into tiles. It starts with the full resolution image, and starts creating tiles from the upper left corner, with the first tile being 0_0, the next in the top row being 1_0, etc. The first tile on the next row is 0_1, etc. This becomes the highest level. The tool then scales the image down to half width and runs through and tiles it again, using the same numbering system. This becomes the next level. The tool continues scaling down by half, outputting new levels, until the image is down to approximately 1px wide. This is the lowest level, and it's designated level 0. The next level above it is level 1, etc. -Metadata about the file is stored in an XML file using either the .dzi or .xml file extension, e.g. example.dzi. The tiles are stored in a folder next to it, named e.g. example_files. The tile of the lowest level in this example would be example_files/0/0_0. \ No newline at end of file +Metadata about the file is stored in an XML file using either the .dzi or .xml file extension, e.g. example.dzi. The tiles are stored in a folder next to it, named e.g. example_files. The tile of the lowest level in this example would be `example_files/0/0_0.jpg`. \ No newline at end of file