How do you load images in a win32 console application?

Recommended Answers

All 6 Replies

I just need to have a background image. And when I entered the download page at ITK these were the downloadable files: * ITK Software Guide 2.4.0 PDF (hosted at SourceForge)
* InsightToolkit-3.16.0.tar.gz (hosted at SourceForge)
* InsightToolkit-3.16.0.zip (hosted at SourceForge)
* InsightApplications-3.16.0.tar.gz (hosted at SourceForge)
* InsightApplications-3.16.0.zip (hosted at SourceForge)
* DoxygenInsightToolkit-3.16.0.tar.gz (hosted at SourceForge)
* DoxygenInsightToolkit-3.16.0.zip (hosted at SourceForge)
* CableSwig-ITK-3.16.0.tar.gz (hosted at SourceForge)
* CableSwig-ITK-3.16.0.zip (hosted at SourceForge)
Wich should I download, and how do I use them in c++?

If you're on Windows, you'll want this:
InsightToolkit-3.16.0.zip (hosted at SourceForge)

You still haven't explained what you want to do - if you want to DISPLAY the image, you'll want to use VTK instead of ITK.

http://vtk.org/

Then here is how you would use it:

http://www.vtk.org/Wiki/VTK/Examples/BackgroundImage

Dave

Errhhh. This might sound a bit nooby but how do I use VTK. I've opened the program and it looked like some kond of CMD, but how do i use it in c++. It errors when defining the header files.

Yep, the windows installer. Error C1083.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.