(VB6) Deskew with Autocrop
Posted: 2012-02-28T19:55:16-07:00
Hi,
I'm able to successfully deskew images using the following:
IM2 = IMimage2.Convert("c:\test\in.tif", "-deskew=40", "c:\test\out.tif")
But i'm not able to get the auto-crop option to work using the '-set' command:
IM2 = IMimage2.Convert("c:\test\in.tif", "-set option:deskew:auto-crop=40", "c:\test\out.tif")
Has anyone used the '-set' command with options ? If so would you please share the correct syntax.
Many thanks...
I'm able to successfully deskew images using the following:
IM2 = IMimage2.Convert("c:\test\in.tif", "-deskew=40", "c:\test\out.tif")
But i'm not able to get the auto-crop option to work using the '-set' command:
IM2 = IMimage2.Convert("c:\test\in.tif", "-set option:deskew:auto-crop=40", "c:\test\out.tif")
Has anyone used the '-set' command with options ? If so would you please share the correct syntax.
Many thanks...