Hello all how can i do simple thing like manipulate image programmatically ? ( with c++ i guess .. ) jpgs/png/gif .....
+5
A:
check out BOOST , it has a simple Image Processing Library called GIL. It also has extensions to import common formats.
http://www.boost.org/doc/libs/1_39_0/libs/gil/doc/index.html
+2
A:
Using .NET you have two options:
- GDI+ from System.Drawing namespace (Bitmap class)
- WPF engine wich can do a lot of things
If you want low level processing you can use unsafe code and pointers.
A Bitmap or Image is just a big array of bytes. You need to learn:
- what is a stride (extra padding bytes after each row of pixels)
- how to compute the next row or a specific pixel location using width, height, stride
- the image formats RGB, ARGB, white&black
- basic image processing functions (luminosity, midtone, contrast, color detection, edge detection, matrix convulsion)
- 3D vectorial representation of a RGB color
pixel3cs
2009-06-01 11:44:32
With .Net have much more than two options......But the question is far too general to provide an answer.
Adrian
2009-06-01 11:56:07