Solved

How to draw JPEG image using BITMAPINFOHEADER?

Posted on 2000-03-14
2
980 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
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…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

705 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

19 Experts available now in Live!

Get 1:1 Help Now