Loic,
How would I go about using AutoDeskew and CropBorders function of the imaging object together? When ever I use one before the other, there are white triangles left behind on my image on all sides of the solid and I can not crop into the image. My images have a black border, and are sometimes grayscale, sometimes bitonal.
I might be able to do something if I could get the coordinates that were going to be cropped and use that with the skew angle, but as for now am at a loss. any help would be appreciated.
AutoDeskew & CropBorders
Re: AutoDeskew & CropBorders
Hi,
Kind regards,
Loïc
Here your solution:I might be able to do something if I could get the coordinates that were going to be cropped and use that with the skew angle, but as for now am at a loss. any help would be appreciated.
See: CropBordersEX2() method: https://www.gdpicture.com/guides/gdpicture/v5/gdpictur ... rsEX2.htmlget the coordinates that were going to be cropped
See: GetSkewAngle() method: https://www.gdpicture.com/guides/gdpicture/v5/gdpictur ... Angle.htmland use that with the skew angle
Kind regards,
Loïc
Who is online
Users browsing this forum: No registered users and 2 guests