• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1035
  • 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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