Re: imgdecmp.dll (and SHLoadImage****)

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Tapani Saarinen (tsaari_at_r_emove.nic.fi)
Date: 03/05/05


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.
>
>



Relevant Pages

  • Re: imgdecmp.dll (and SHLoadImage****)
    ... In fact I believe that startting with SP2 or SP3 CF runtime uses it ... > Do you have more information about Imaging API? ... > Alex Feinman wrote: ... >> I'm not totally sure what is the internal format in this case though. ...
    (microsoft.public.pocketpc.developer)
  • Using Imaging getting unresolved external
    ... I am working on a Shell replacement for a Windows CE device we are ... How do I get a particular pixel color using the Imaging API? ... BitmapData lockedBitmapData; ...
    (microsoft.public.windowsce.embedded)
  • Re: imgdecmp.dll (and SHLoadImage****)
    ... MSDN tells you that it only for Windows CE 5.0 and later. ... Best regards, ... Sergey Bogdanov ... > Do you have more information about Imaging API? ...
    (microsoft.public.pocketpc.developer)