Skip to content

Commit

Permalink
update ocularDocumentDeskew rotation usage
Browse files Browse the repository at this point in the history
  • Loading branch information
warrengalyen committed Nov 11, 2024
1 parent 7ce8042 commit 157446c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ocular.c
Original file line number Diff line number Diff line change
Expand Up @@ -3618,7 +3618,7 @@ extern "C" {
Skewed = false;
return OC_STATUS_OK;
} else {
ocularRotateBilinear(Input, Width, Height, Stride, Output, Width, Height, -skewAngle, true, 255, 255, 255);
ocularRotateBilinear(Input, Width, Height, Stride, Output, Width, Height, -skewAngle, false, 255, 255, 255);
*Skewed = true;
}
return OC_STATUS_OK;
Expand Down
1 change: 1 addition & 0 deletions lib/ocular.h
Original file line number Diff line number Diff line change
Expand Up @@ -1074,6 +1074,7 @@ static char timestamp[] = __DATE__ " " __TIME__;
* @param Output The image output data buffer.
* @param angle The angle to rotate in degrees. Range [0 - 359].
* @param useTransparency If true, we will use transparency instead of a solid color for non-image areas.
* Must allocate Output buffer with 4 channels if true.
* @param fillColorR The red channel value to use for filling non-image area. Used if channels = 1.
* @param fillColorG The green channel value to use for filling non-image area.
* @param fillColorB The blue channel value to use for filling non-image area.
Expand Down

0 comments on commit 157446c

Please sign in to comment.