From: Dom Lachowicz (domlachowicz@yahoo.com)
Date: Wed Oct 22 2003 - 14:03:24 EDT
Ok, so it looks like OleLoadPicture will handle:
ICO, BMP/DIB, JPEG, WMF, EMF, GIF. We handle PNG
internally. It works and is shipped on every win32
platform from Win95->Win2k3. This covers all of our
forseeable needs and platforms. If someone needs TIFF,
they can install the ImageMagick plugin.
It is relatively easy to load an IStream either from
file or from an in-memory blob.
This is the route Abi should take. Anyone feel like
writing this plugin? Or am I going to have to ;-)
Cheers,
Dom
--- "J.M. Maurer" <j.m.maurer@student.utwente.nl>
wrote:
> > For backwards compatibility (and less image
> formats
> > supportes), there is IPicture/OleLoadPicture - see
>
> > <http://www.codeproject.com/bitmap/cpicture.asp>.
>
> IPicture seems to be great for our needs (note: i'm
> not a win32 hacker in any
> way), and is seems quite easy to wrap this up into a
> plugin. Jordi, do you see
> any pitfalls? It's available on all Win32 versions
> AFAICT.
>
> A nice example can be found here:
>
http://msdn.microsoft.com/msdnmag/issues/01/10/c/default.aspx
>
> Marc
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
This archive was generated by hypermail 2.1.4 : Wed Oct 22 2003 - 14:04:04 EDT