38 #ifndef OME_FILES_DETAIL_FORMATWRITER_H
39 #define OME_FILES_DETAIL_FORMATWRITER_H
41 #include <ome/files/FormatWriter.h>
42 #include <ome/files/FormatHandler.h>
86 description(description),
119 std::shared_ptr<std::ostream>
out;
164 isThisType(
const boost::filesystem::path& name,
165 bool open =
true)
const;
216 const std::shared_ptr<::ome::xml::meta::MetadataRetrieve>&
220 std::shared_ptr<::ome::xml::meta::MetadataRetrieve>&
363 std::array<dimension_size_type, 3>
375 const std::set<ome::xml::model::enums::PixelType>
379 const std::set<ome::xml::model::enums::PixelType>
389 const std::string& codec)
const;
392 const std::set<std::string>&
395 const std::set<std::string>&
403 const boost::optional<std::string>&
411 const boost::optional<bool>&
428 setId(
const boost::filesystem::path&
id);
432 close(
bool fileOnly =
false);
443 const std::vector<boost::filesystem::path>&
447 const std::vector<boost::filesystem::path>&
455 #endif // OME_FILES_DETAIL_FORMATWRITER_H
pixel_compression_type_map pixel_compression_types
Supported compression codecs types for each pixel type.
Definition: FormatWriter.h:73
uint32_t pixel_size_type
Size type for pixel bit depths.
Definition: Types.h:61
std::size_t dimension_size_type
Size type for image dimensions.
Definition: Types.h:58
std::map< ome::xml::model::enums::PixelType, std::set< std::string > > pixel_compression_type_map
Map of codec to pixel types.
Definition: FormatWriter.h:60
WriterProperties(const std::string &name, const std::string &description)
Constructor.
Definition: FormatWriter.h:83
std::set< std::string > compression_types
Supported compression types.
Definition: FormatWriter.h:71
Properties specific to a particular writer.
Definition: FormatWriter.h:56
std::string name
Format name.
Definition: FormatWriter.h:63
std::vector< boost::filesystem::path > suffixes
Filename suffixes this format can handle.
Definition: FormatWriter.h:67
bool stacks
Stacks are supported.
Definition: FormatWriter.h:75
std::vector< boost::filesystem::path > compression_suffixes
Filename compression suffixes this format can handle.
Definition: FormatWriter.h:69
std::string description
Format description.
Definition: FormatWriter.h:65
Buffer for all pixel types.
Definition: VariantPixelBuffer.h:75