Flip Image Horizontally Code Thingy
Community Forums/Showcase/Flip Image Horizontally Code Thingy
| ||
Ive just been doing some pixel art and drew the character facing right, I didn't want to go thru the processing of copy and flipping each frame individually, so I wrote this piece of code: Input the width, height and number of frames and it will load your image, flip each frame individually and join the image back together and saves it as filename_copy.png. |
| ||
what's wrong with scaleimage -1,1, or is it not suitable for your purposes? Cheers Charlie |
| ||
what's wrong with scale -1,1 Heh ;-) |
| ||
Im just so use of doing this to images, I sometimes forget you can do that with setscale... although in this code I used it. Also some languages dont have that cool feature... |