Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Library command for displaying jpeg/gif in VC++

Posted on 1999-06-27
5
Medium Priority
?
181 Views
Last Modified: 2010-04-02
I want to display jpeg/gif files on an owner-drawn window.
With bitmaps it's easy using the memory device context and the bitblt API function. What's the trick for jpegs and gifs ? If there are no API commands for it (for WIN 95, not 98 or NT 5.0) does anyone know about where I can get source code that does the job ?
0
Comment
Question by:shaydav
[X]
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
  • 2
  • 2
5 Comments
 
LVL 14

Accepted Solution

by:
AlexVirochovsky earned 300 total points
ID: 1198557
No special Api for this. I use Paintlib
http://user.cs.tu-berlin.de/~uzadow/paintlib/
Source text of converting.
I hope, this help, Alex
0
 

Author Comment

by:shaydav
ID: 1198558
Thanx Alex.
I checked it out, and it seems fine. The problem is that it's quite an overkill to what i'm looging for. Do you have an idea where can I find something simpler ? (e.g. a few files I can include in my VC 6.0 project, and call their function ).
0
 
LVL 14

Expert Comment

by:AlexVirochovsky
ID: 1198559
Sorry, but i know only this (free). Can be other expert..
0
 

Author Comment

by:shaydav
ID: 1198560
Thanx Alex.
I checked it out, and it seems fine. The problem is that it's quite an overkill to what i'm looging for. Do you have an idea where can I find something simpler ? (e.g. a few files I can include in my VC 6.0 project, and call their function ).
0
 

Expert Comment

by:DanView
ID: 1198561
This Answer Did not handle GIF's
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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
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…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

721 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