What I want to do is to have the program open a file (preferably a PNG), and check if the bottom row of pixels is transparent (or empty/entirely of one colour). If this is the case, I want it to shift all the existing pixel rows down by one, moving the empty row that was just scanned to the top. I want this process to continue until the bottom row contains some pixels that aren't transparent/empty, at which point the image gets saved as this new, offset version.
The only problem is, I have no idea how I'd go about programming this. Maybe it's not even a good idea attempting to do this in C++, but I thought it'd be an interesting learning experience all the same. How would I go about doing this, if it isn't just madness?
This post has been edited by Rhombus P. Hoboshoes: 23 April 2009 - 01:56 PM