Solved

How to draw JPEG image using BITMAPINFOHEADER?

Posted on 2000-03-14
2
984 Views
Last Modified: 2013-12-03
BITMAPINFOHEADER supports BI_JPEG compression
But how to draw a jpeg image using BITMAPINFOHEADER?
0
Comment
Question by:Basha
2 Comments
 
LVL 5

Expert Comment

by:Wyn
ID: 2616083
You'd better use some libraries.
Check:
http://developer.intel.com/vtune/PERFLIBST/ijl/index.htm .

Regards.
0
 
LVL 23

Accepted Solution

by:
chensu earned 100 total points
ID: 2617147
The SetDIBitsToDevice and StretchDIBits functions in Windows 98 and Windows 2000 are extended to allow a JPEG or PNG image to be passed as the source image. See the sample code at

http://msdn.microsoft.com/library/psdk/gdi/bitmaps_6145.htm
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now