OpenSiv3D  v0.6.5
C++20 framework for creative coding
ImageDecoder.hpp File Reference
#include "Common.hpp"
#include "ImageInfo.hpp"
#include "Image.hpp"
#include "IReader.hpp"
#include "IImageDecoder.hpp"
#include "Optional.hpp"
#include "Grid.hpp"
#include "detail/ImageDecoder.ipp"

Namespaces

 s3d
 
 s3d::ImageDecoder
 

Functions

Optional< ImageInfo > s3d::ImageDecoder::GetImageInfo (FilePathView path, ImageFormat imageFormat=ImageFormat::Unspecified)
 
Optional< ImageInfo > s3d::ImageDecoder::GetImageInfo (IReader &reader, ImageFormat imageFormat=ImageFormat::Unspecified)
 
Image s3d::ImageDecoder::Decode (FilePathView path, ImageFormat imageFormat=ImageFormat::Unspecified)
 
Image s3d::ImageDecoder::Decode (IReader &reader, ImageFormat imageFormat=ImageFormat::Unspecified)
 
Grid< uint16 > s3d::ImageDecoder::DecodeGray16 (FilePathView path, ImageFormat imageFormat=ImageFormat::Unspecified)
 
Grid< uint16 > s3d::ImageDecoder::DecodeGray16 (IReader &reader, ImageFormat imageFormat=ImageFormat::Unspecified)
 
template<class ImageDecoder >
bool s3d::ImageDecoder::Add ()
 
bool s3d::ImageDecoder::Add (std::unique_ptr< IImageDecoder > &&decoder)
 
void s3d::ImageDecoder::Remove (StringView name)
 
const Array< std::unique_ptr< IImageDecoder > > & s3d::ImageDecoder::Enum ()