Dr. Rosenthaler,
I don't believe that MIX provides a method of encoding the tiff image
within the xml. METS, on the other hand, does provide a method of using Base
64 Encoding to include the file within the xml instead of a reference. (See
the fileSec and FContent tags in METS for further info.)
"StripOffsets" and like values are retrieved from the header, but without
the Tiff v6.0 spec I could not tell you for sure.
The reason why "StripOffsets" and other tags could consist of a set of
values is the fact that a tiff image could actually consist of multiple pages.
In theory each page could also have different color depths and dimensions,
but I have yet to find/create any to demonstrate this case.
Two problems that you may run into by using delimited strings:
1) Validation Errors - The datatype for "StripOffsets" is an "Integer". Any
spaces or other delimiting characters would prevent validation .
2) Using a delimited field would likely prevent future
readers/editors/presenters of the xml from being able to associate which
pieces of data are relevant to a particular page.
MIX, to the best of my knowledge, does not support multi-page tiffs as of
yet... therefore, if you wanted to include information on each page and create
valid xml, you may have to create a completely new "mix" node for each page.
Hope this was helpful,
keith
--- Lukas Rosenthaler <[log in to unmask]> wrote:
> Hello,
>
> I'm almost finished with a TIFF to mix conversion program which will be
> freely available (for Linux, mac OS X, Win32) as soon as I resolved a
> few open questions:
>
> 1) I assume that the XML mix header refers to the original TIFF (or
> whatever) file, that is, the actual image data is not part of the mix
> XML file?
> 2) the offsets given in the elements "StripOffsets", "TileOffsets" are
> the offsets of the strips/tiles in the original TIFF file?
> 3) since these elements may contain multiple integer or float values,
> these values are given as a list of values, eg.
>
> <StripOffsets>
> 277 143647 127388 6678738
> </StripOffsets>
>
>
> More questions will probably arise in the next future...
>
> Thanks for the help,
> Lukas Rosenthaler
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
|