public class BaselineProfile extends GenericProfile implements Profile
| Modifier and Type | Class and Description |
|---|---|
static class |
BaselineProfile.ImageType
Known types of images.
|
model, validation| Constructor and Description |
|---|
BaselineProfile(TiffDocument doc)
Instantiates a new baseline profile.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkImage(IFD ifd,
int n,
IfdTags metadata)
Check if the tags that define the image are correct and consistent.
|
BaselineProfile.ImageType |
getType()
Gets the image type.
|
void |
validate()
Validates the IFD.
|
void |
validateMetadata(IfdTags metadata)
Validates that the ifd entries have correct types and cardinalities, as they are defined in the
JSONs tag configuration files.
|
getValidationpublic BaselineProfile(TiffDocument doc)
doc - the tiff filepublic void validateMetadata(IfdTags metadata)
metadata - the ifd metadatapublic void checkImage(IFD ifd, int n, IfdTags metadata)
ifd - the ifdn - the ifd numbermetadata - the ifd metadatapublic BaselineProfile.ImageType getType()
Copyright © 2015–2020. All rights reserved.