Package qupath.lib.images.servers
Class FileFormatInfo
java.lang.Object
qupath.lib.images.servers.FileFormatInfo
Helper class that, given a path, determines some basic file format information without enlisting
the help of an external library or performing extensive parsing of the data.
In particular, it attempts to extract some usable information from TIFF images using ImageIO to help a reader determine whether or not it should attempt to read the image.
- Author:
- Pete Bankhead
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Interface defining some basic image metadata that may be extracted from an image file to help ascertain whether anImageServerBuilder
can handle it. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCheck the type of an image for a specified URI.
-
Constructor Details
-
FileFormatInfo
public FileFormatInfo()
-
-
Method Details
-
checkType
Check the type of an image for a specified URI.This will return a cached value if possible, to avoid applying (potentially costly) checks too often.
- Parameters:
uri
-- Returns:
-