Implement xml media type.

This commit is contained in:
2019-03-31 20:30:27 +01:00
parent 5b92838bdc
commit b36c664740
3 changed files with 105 additions and 5 deletions

View File

@@ -1154,9 +1154,7 @@ void *open(const char *filepath)
ctx->imageInfo.CreationTime = ctx->header.creationTime;
ctx->imageInfo.LastModificationTime = ctx->header.lastWrittenTime;
// TODO: GetXmlMediaType
// imageInfo.XmlMediaType = GetXmlMediaType(header.mediaType);
ctx->imageInfo.XmlMediaType = GetXmlMediaType(ctx->header.mediaType);
if(ctx->geometryBlock.identifier != GeometryBlock/* && ctx->imageInfo.XmlMediaType == XmlMediaType.BlockMedia*/)
{