0

I have windows 8 and Micosoft Visual Studio 2010 Express.

I'm working on a project which I need to transfer a picture through client and server. I search a little bit and found CImage class useful.

The Problem is that CImage class is in ATL library and my visual studio doesn't have this library, Is there a way that I can include the ATL library to my VS or download another VS (that can be run on Win8) ?

And if someone knows a better class or library to work with pictures, and bitmaps I would be happy to hear

Ofek .T.
  • 741
  • 3
  • 10
  • 29

2 Answers2

1

ATL is not available in Express version of Visual Studio. CImage class, however, is merely a wrapper over GDI and GDI+ APIs, which you can use directly.

Community
  • 1
  • 1
Roman R.
  • 68,205
  • 6
  • 94
  • 158
  • The GDI+ seems convenient but when I looked at the internet for examples, the examples used classes like "Image" and "Bitmap" that should be included but I don't have them.. You know what's wrong? [link](http://msdn.microsoft.com/en-us/library/ms533958(v=vs.85).aspx) – Ofek .T. May 27 '14 at 14:04
0

You should probably look into the BITMAP, that is available in Win32 API. A bitmap is a series of points (bits) arranged like a map so that, when put together, they produce a picture that can be written to, copied from, re-arranged, changed, manipulated, or stored as a a computer file. The bitmap can me manipulated through Device Context (HDC). (http://msdn.microsoft.com/en-us/library/azz5wt61.aspx)

Some basic tutorial: http://www.winprog.org/tutorial/bitmaps.html

Also if you have access to it, the Petzold Programming Windows (5th ed.) has chapter 14 and 15 devoted to bitmaps and graphics.

Andro
  • 2,232
  • 1
  • 27
  • 40