windowscodecs: Implement GetPixelFormat for TIFF decoder.
This commit is contained in:
parent
ccaf1b1e5d
commit
8066e9beca
|
@ -559,8 +559,13 @@ static HRESULT WINAPI TiffFrameDecode_GetSize(IWICBitmapFrameDecode *iface,
|
||||||
static HRESULT WINAPI TiffFrameDecode_GetPixelFormat(IWICBitmapFrameDecode *iface,
|
static HRESULT WINAPI TiffFrameDecode_GetPixelFormat(IWICBitmapFrameDecode *iface,
|
||||||
WICPixelFormatGUID *pPixelFormat)
|
WICPixelFormatGUID *pPixelFormat)
|
||||||
{
|
{
|
||||||
FIXME("(%p,%p)\n", iface, pPixelFormat);
|
TiffFrameDecode *This = (TiffFrameDecode*)iface;
|
||||||
return E_NOTIMPL;
|
|
||||||
|
memcpy(pPixelFormat, This->decode_info.format, sizeof(GUID));
|
||||||
|
|
||||||
|
TRACE("(%p) <-- %s\n", This, debugstr_guid(This->decode_info.format));
|
||||||
|
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI TiffFrameDecode_GetResolution(IWICBitmapFrameDecode *iface,
|
static HRESULT WINAPI TiffFrameDecode_GetResolution(IWICBitmapFrameDecode *iface,
|
||||||
|
|
Loading…
Reference in New Issue