flip a 1bpp .bmp image horizontally

Posted by user576844 on Stack Overflow See other posts from Stack Overflow or by user576844
Published on 2011-01-15T18:21:40Z Indexed on 2011/01/15 18:53 UTC
Read the original article Hit count: 225

Filed under:
|
|
|

I am trying to write a program containing two source files: main program written in C and assembly(x86 32 and 64) module callable from C. The C declaration for the assembly routine looks like this: void mirrorbmp1(void *img, int width, int height)

The task involves Mirror/flipping a 1 bpp .BMP image horizontally while Handling any image width properly, not only multiples of 8.

I am new to assembly programming and have very little idea about how i should do the ask.

Any help would be appreciated.

© Stack Overflow or respective owner

Related posts about c

    Related posts about assembly