• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1038
  • Last Modified:

How to draw JPEG image using BITMAPINFOHEADER?

BITMAPINFOHEADER supports BI_JPEG compression
But how to draw a jpeg image using BITMAPINFOHEADER?
0
Basha
Asked:
Basha
1 Solution
 
WynCommented:
You'd better use some libraries.
Check:
http://developer.intel.com/vtune/PERFLIBST/ijl/index.htm .

Regards.
0
 
chensuCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now