wrlib: fixed transformation functions
commit35a43c9430442264b62ba4806dc59ac33988db18
authorDavid Maciejak <david.maciejak@gmail.com>
Mon, 26 May 2014 14:42:44 +0000 (26 22:42 +0800)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 26 May 2014 15:15:36 +0000 (26 16:15 +0100)
tree0cb8af4b69040b416ab34fc6ee053fb2165727ae
parentdda7f484072d04e6235a354307dd1199c6136fd4
wrlib: fixed transformation functions

With a set of images i was able to detect that
the flip functions was shifting the image by 1px.

The 90 and 270 degrees rotation were not working as
the functions were also mirroring the img.

The patch is also fixing the C style based on checkpatch.
wrlib/flip.c
wrlib/rotate.c