   get memory image from DXSurface
  hi I'm new with direct x so please easy answers please :pI want to convert DXSurface to an memory image in directx (rather using c#) so that I could make some image processing on thatif someone tell me how to access every pixel of an DXSurface (I mean the ARGB code) that would be cool toothank U...   
  What language / API, and do you really mean a surface, or are you using textures?This is usually done by locking the surface (IDirect3DSurface9::LockRect in C++ / DX9), which will give you a pointer to the memory containing the surface data. The format of the data you get back depends on the format of the surface however, so if you gave a 16-bit surface, you'll only get 16-bit data back from locking it and you'll need to convert that to 32-bits if you need to.   ;  i think that's exactly what i wantedthank you so muchI'll work on it and ask any further questions:) thank you again   