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

x
?
Solved

Image formats

Posted on 1998-08-07
3
Medium Priority
?
184 Views
Last Modified: 2012-05-04
I am looking for a function (in VC++) or a library that would be able to load and decode image files in BMP, GIF and JPEG formats (as VB function LoadPicture does).

However I have some reasons not to use the Microsoft ActiveX Image Control.

Thank you for any advice.
0
Comment
Question by:pecan
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 300 total points
ID: 1169598
There is a CImage class you can use.
http://web.ukonline.co.uk/Members/julian.smart/code.html

0
 

Expert Comment

by:kraphics
ID: 1169599
How do you use the class ?

Need example code!!!!!!!!!!!!!!!!!!!!
0
 
LVL 23

Expert Comment

by:chensu
ID: 1169600
The CImage class ZIP file does contain a demo.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
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 be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

916 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