34 return formats.formats;
57 for (
ImageFileFormat** i = DefaultImageFormats::get(); *i !=
nullptr; ++i)
59 const bool found = (*i)->canUnderstand (input);
71 for (
ImageFileFormat** i = DefaultImageFormats::get(); *i !=
nullptr; ++i)
72 if ((*i)->usesFileExtension (file))
82 return format->decodeImage (input);
102 if (
rawData !=
nullptr && numBytes > 4)
Represents a local file or directory.
Holds a fixed-size bitmap.
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...
long long int64
A platform-independent 64-bit integer type.