Re: TIFF to DIB Conversion
The documentation is kind of irrelevant, because the support depends
on moudles installed underneath. The same functions don't support
JPEG on vanila Win95. The JPEG support was added via IE4 IIRC.
For all practical purposes, however, JPEG is supported out of the
box on all Windows OSes in use today.
Note TIFF has never been supported by the OS and is not likely to
be supported in the near future, since this is not a commonly used
format on the Internet...
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ: http://vcfaq.mvps.org
=====================================
"Alf P. Steinbach" <alfps@start.no> wrote in message
news:13se8l5pslade6@corp.supernews.com...
* alexis:
Alf P. Steinbach wrote:
* marcusadeleon@gmail.com:
Hi,
I need to be able to convert a TIFF image read from disk to a DIB in
memory preferably stored in a HGLOBAL variable. What is the best way
to go about doing this?
I don't know (and will probably learn from other replies in this
thread).
But, just in case nobody mentions, IIRC it used to be undocumented that
the OleLoadPictureXXX-family of functions supported JPEG format.
It has always been documented.
Read MSDN.
Oldest MSDN I have on this machine is from July 2002, and there it's
documented for OleLoadPicturePath but not for OleLoadPicture.
When I mentioned "undocumented" I meant before then.
However, I'm not in the mood for detective work on old disks... ;-)
Cheers,
- Alf (noting in passing that it's nothing new that undocumented Windows
functionality has become documented; I think it started with lopen() et
al.)
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?