2#include <NDEVR/ImageFactory.h>
21 virtual void getSupportedFormats(AlocatingAlignedBuffer<FileFormat, 64>& formats,
bool is_read)
const override;
Logic for reading or writing to a file as well as navigating filesystems or other common file operati...
The core String View class for the NDEVR API.
Handles reading and writing TIFF image files through the ImageFormatHandler interface.
static TIFImageFactory & DefaultFactory()
Returns the singleton default TIFF image factory.
virtual bool canRead(StringView format) const override
Checks whether the given format string is readable.
virtual bool canWrite(StringView format) const override
Checks whether the given format string is writable.
virtual StringView compressionFormat(const uint01 *data, uint04 size) override
Determines the compression format of raw image data.
virtual bool getCompressed(ImageCacheData &, StringView) override
Reads the image in its compressed format.
virtual bool getMetaData(ImageCacheData &) override
Reads metadata from a TIFF image.
virtual void getSupportedFormats(AlocatingAlignedBuffer< FileFormat, 64 > &formats, bool is_read) const override
Populates the list of supported TIFF file formats.
virtual bool hasTransparency(ImageCacheData &) override
Checks whether the TIFF image has an alpha channel.
virtual bool getUncompressed(ImageCacheData &) override
Reads and decompresses the image data.
virtual bool getSize(ImageCacheData &) override
Reads the image dimensions without fully decoding the image.
virtual UUID id() const override
Returns the unique identifier for this factory.
virtual bool canRead(const File &file) const override
Checks whether the given file can be read as a TIFF.
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
The primary namespace for the NDEVR SDK.
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
@ file
The source file path associated with this object.
Holds cached image data including compressed and decompressed pixel buffers, file references,...