MSUdom5
30th November 2009, 21:04
I was wondering if someone could suggest an efficient way to do this:
I have a QImage of an arbitrary size. I want to very quickly transform this to a QImage of the same size with the entire image shifted up by one row of pixels. The bottom row of pixels will be the same color. In other words, I want to shift the top row of pixels out and shift in a new row at the bottom of pixels with the same color.
I can think of ways to do this, but I need an extremely fast and efficient solution. Thoughts?
Thanks in advance,
MSUdom5
I have a QImage of an arbitrary size. I want to very quickly transform this to a QImage of the same size with the entire image shifted up by one row of pixels. The bottom row of pixels will be the same color. In other words, I want to shift the top row of pixels out and shift in a new row at the bottom of pixels with the same color.
I can think of ways to do this, but I need an extremely fast and efficient solution. Thoughts?
Thanks in advance,
MSUdom5