P
phoenix
Daedelus said:hi, What is the performance hit of c# over visual c++. Would it be possible
to write photoshop in c# for example with no noticable speed loss?
thanks.
If you would work with getpixel and setpixel functions only it would be
really slow, but using unsafe code can make imageprocessing pretty fast.
There is a basic article on using unsafe code on images on msdn :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp11152001.asp
On codeproject there are some good articles about image processing (it's not
a full blown photoshop but it got some interesting functions) :
http://www.codeproject.com/cs/media/csharpgraphicfilters11.asp
http://www.codeproject.com/cs/media/csharpfilters.asp
http://www.codeproject.com/cs/media/edge_detection.asp
http://www.codeproject.com/cs/media/imageprocessing4.asp
http://www.codeproject.com/cs/media/displacementfilters.asp
http://www.codeproject.com/cs/media/HSLColorSpace.asp
Yves