8#ifndef META_OCEAN_MEDIA_WIC_WIC_OBJECT_H
9#define META_OCEAN_MEDIA_WIC_WIC_OBJECT_H
32template <
class T>
void release(T*
object);
151 static bool hasAlphaChannel(IWICImagingFactory* imagingFactory, IWICBitmapDecoder* bitmapDecoder, IWICBitmapFrameDecode* frameDecode);
184 static bool writeFrameToBitmapDecoder(IWICImagingFactory* imagingFactory, IWICBitmapEncoder* bitmapEncoder,
const Frame& frame,
const bool allowConversion =
true,
bool* hasBeenConverted =
nullptr);
190 if (
object !=
nullptr)
This class implements Ocean's image class.
Definition Frame.h:1969
PixelFormat
Definition of all pixel formats available in the Ocean framework.
Definition Frame.h:183
PixelOrigin
Defines different types of frame origin positions.
Definition Frame.h:1136
This class wraps an unmanaged object (or reference) which needs to be released after usage.
Definition ScopedObject.h:166
The namespace covering the entire Ocean framework.
Definition Accessor.h:15