Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to draw JPEG image using BITMAPINFOHEADER?

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Save copy of document in Word 4 88
Duplicates in Aggregate Query 3 44
Problem to DocumentFormat 8 110
dialer.exe 4 63
This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
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…

809 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