posted 22 years ago
I am try to manipulate an 2D array, into a 1D array, but must also flip the 2D array, so that the last element of the 2D array is now the first element of the 1D array.
Sorta like a nested loop, where:
1D[0] = 2D[5][10];
1D[50] = 2D[0][0];
The arrays that I have to flip are used to draw an image using MemoryImageSource, so they are quite large(512x1024).
Is it posible to use arraycopy to get better performance in this situtation.