Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Jpeg image display

Posted on 1998-10-25
2
Medium Priority
?
274 Views
Last Modified: 2013-11-19
how can i dispaly a JPEG image file in my window using VC++
0
Comment
Question by:saini
2 Comments
 
LVL 4

Accepted Solution

by:
agreen earned 400 total points
ID: 1176028
0
 
LVL 1

Expert Comment

by:payn
ID: 1176029
You may also want to go to CodeGuru (www.codeguru.com) and download Julian Smart's CImage library.

CImage can read JPEG (and GIF, PNG, BMP, and with a little more work XBM/XPM) files and automatically convert them to DIBs. You can then just call the Draw or Stretch method to draw the DIB to a specified DC. The demo that comes with CImage is pretty simple and easy to follow.

0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

782 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