Re: imgdecmp.dll (and SHLoadImage****)
From: Tapani Saarinen (tsaari_at_r_emove.nic.fi)
Date: 03/05/05
- Next message: Pedro Miguel Carvalho: "Re: autorun an application from Compact Flash Card"
- Previous message: r_z_aret_at_pen_fact.com: "Re: query on pocket pc emulator and device"
- In reply to: Alex Feinman [MVP]: "Re: imgdecmp.dll (and SHLoadImage****)"
- Next in thread: Sergey Bogdanov: "Re: imgdecmp.dll (and SHLoadImage****)"
- Reply: Sergey Bogdanov: "Re: imgdecmp.dll (and SHLoadImage****)"
- Reply: Alex Feinman [MVP]: "Re: imgdecmp.dll (and SHLoadImage****)"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 05 Mar 2005 22:06:03 +0200
Do you have more information about Imaging API? Does it exist before
Windows CE 5.0?
-Tapani
Alex Feinman [MVP] wrote:
> You can do it with the Imaging API (imaging.h)
>
> CComPtr<IImagingFactory>pFactory;
> HRESULT hr = pFactory.CoCreateInstance(CLSID_ImagingFactory);
> if ( SUCCEEDED(hr) )
> {
> CComPtr<IImage>pImg;
> CComPtr<IBitmapImage>pBmp;
> hr = pFactory->CreateImageFromFile(szBitmap, &pImg);
> hr = pFactory->CreateBitmapFromImage(pImg, 0, 0,
> PixelFormat16bppRGB565, InterpolationHintDefault, &pBmp);
>
> I'm not totally sure what is the internal format in this case though.
>
>
- Next message: Pedro Miguel Carvalho: "Re: autorun an application from Compact Flash Card"
- Previous message: r_z_aret_at_pen_fact.com: "Re: query on pocket pc emulator and device"
- In reply to: Alex Feinman [MVP]: "Re: imgdecmp.dll (and SHLoadImage****)"
- Next in thread: Sergey Bogdanov: "Re: imgdecmp.dll (and SHLoadImage****)"
- Reply: Sergey Bogdanov: "Re: imgdecmp.dll (and SHLoadImage****)"
- Reply: Alex Feinman [MVP]: "Re: imgdecmp.dll (and SHLoadImage****)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|