aleator / CV

Haskell wrappers and utilities for OpenCV machine vision library
http://hackage.haskell.org/package/CV
BSD 3-Clause "New" or "Revised" License
51 stars 13 forks source link

blendBlit calls alphaBlit with x and y in the wrong order #19

Closed nothingbout closed 12 years ago

nothingbout commented 12 years ago

blendBlit calls alphaBlit like this:

({#call alphaBlit#} i1 i1a i2 i2a x y)

The declaration of alphaBlit is:

void alphaBlit(IplImage a, IplImage aAlpha, IplImage b, IplImage bAlpha, int offset_y, int offset_x)

So x and y are in the wrong order.

aleator commented 12 years ago

Fixed in 1257196. Thanks for reporting.