| Topic: |
DEVELOP > c-Plus-Plus |
| User: |
"wombat" |
| Date: |
03 Jan 2007 11:27:38 PM |
| Object: |
Images possible with C++? |
Is it possible to display JPGs/GIFs/etc with C++? I would think it is,
but trying to find out what I need to do has been like searching for a
needle in a hay stack.
Thanks in advance.
.
|
|
| User: "John Carson" |
|
| Title: Re: Images possible with C++? |
03 Jan 2007 11:38:40 PM |
|
|
"wombat" <64@k.com> wrote in message
news:64-E413D8.00273804012007@news.west.earthlink.net
Is it possible to display JPGs/GIFs/etc with C++? I would think it is,
but trying to find out what I need to do has been like searching for a
needle in a hay stack.
Thanks in advance.
Yes but you need to use a third party library or an operating system API. Of
course, before you even think about doing that, you will need a GUI, which
again requires a third party library or operating system APIs --- all of
which are off-topic in this newsgroup. Ask in a forum for your operating
system.
--
John Carson
.
|
|
|
|
| User: "BobR" |
|
| Title: Re: Images possible with C++? |
04 Jan 2007 01:12:51 PM |
|
|
wombat <64@k.com> wrote in message ...
Is it possible to display JPGs/GIFs/etc with C++? I would think it is,
but trying to find out what I need to do has been like searching for a
needle in a hay stack.
Thanks in advance.
Not in standard C++.
[OT]
Check this out. It handles most of the popular image formats (and has a nice
GUI to boot).
wxWidgets URL: http://www.wxwidgets.org
[ I've made an AVI movie play on a small button in a wxWidgets window, for
example.]
Otherwise, go to http://www.gnu.org/ and look for the 'Gimp' (there are
windows ports).
--
Bob R
POVrookie
.
|
|
|
|
| User: "Ondra Holub" |
|
| Title: Re: Images possible with C++? |
04 Jan 2007 04:14:39 AM |
|
|
wombat napsal:
Is it possible to display JPGs/GIFs/etc with C++? I would think it is,
but trying to find out what I need to do has been like searching for a
needle in a hay stack.
Thanks in advance.
You can
- either use API of your operating system or
- use some library for your OS
- use some multiplatform library which hides OS specific issues (of
course, no library works on any platform, but there are some with wide
range of supported OSes, for example image magick, wxwidgets)
I personally recommend the 3rd option.
.
|
|
|
|
| User: "Victor Bazarov" |
|
| Title: Re: Images possible with C++? |
03 Jan 2007 11:37:47 PM |
|
|
wombat wrote:
Is it possible to display JPGs/GIFs/etc with C++? I would think it is,
but trying to find out what I need to do has been like searching for a
needle in a hay stack.
You need to ask in the newsgroup for your OS. C++ _language_ does *not*
have any mechanism (which would have to exist on every platform where
C++ is implemented, including DSP, for example) for *displaying* images
since it would require the existence of a *display*. There is no such
concept in C++ /language/.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
.
|
|
|
|

|
Related Articles |
|
|