T O P I C R E V I E W |
jeffp |
Posted - Dec 04 2024 : 11:02:33 I recently replaced my old image editor with ImageEn. Very happy with ImageEn, but there are a few features I'm still struggling with. One is AutoCrop.
I'm using this call: TImageEnView.Proc.AutoCrop2
But I'm not getting very good results. In the attached, zip file I have two before and two after auto crop files. The after auto crop files are what was produced with my old image editor's auto crop feature.
Is there something else I can use in ImageEn that gets me closer to those?
attach/jeffp/20241241120_AutoCrop.zip 2645.68 KB
jp |
2 L A T E S T R E P L I E S (Newest First) |
jeffp |
Posted - Dec 05 2024 : 15:36:16 The worked. Thanks.
jp |
xequte |
Posted - Dec 04 2024 : 19:45:40 Hi Jeff
You should not use AutoCrop2(). That is only for removal of a black border on white documents:
https://www.imageen.com/help/TImageEnProc.AutoCrop2.html
You should be using AutoCrop().
Test it out using the demo:
\Demos\ImageEditing\EveryMethod\EveryMethod.dpr
It worked well with your HRM form. The business card has two borders, so requires two passes. The "white" is easily removed. The gray around the card is harder because there are a lor of different colors within it so the tolerance needs to be adjusted.
The current beta allows you to specify clNone as the remove color and it will detect the average color from the border. You can email me for that if you like.
Nigel Xequte Software www.imageen.com
|