If i use backgroundcolor 255, 255, 255, 0 gflAutoCrop will not work.
GFL_COLOR cropcolor;
cropcolor.Red = 255;
cropcolor.Green = 255;
cropcolor.Blue = 255;
cropcolor.Alpha = 0;
GFL_ERROR result = gflAutoCrop(m_Bitmap, NULL, cropcolor, 0);
gflAutoCrop returned no error.
XnView crop the bitmap korrekt!
If i use backgroundcolor 0, 0, 0, 0 in my bitmap, gflAutoCrop work.
gflAutoCrop
Moderators: XnTriq, helmut, xnview
-
- Author of XnView
- Posts: 44355
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: gflAutoCrop
Could you show your picture used for autocrop?Martin Schmidt wrote:If i use backgroundcolor 255, 255, 255, 0 gflAutoCrop will not work.
GFL_COLOR cropcolor;
cropcolor.Red = 255;
cropcolor.Green = 255;
cropcolor.Blue = 255;
cropcolor.Alpha = 0;
GFL_ERROR result = gflAutoCrop(m_Bitmap, NULL, cropcolor, 0);
gflAutoCrop returned no error.
XnView crop the bitmap korrekt!
If i use backgroundcolor 0, 0, 0, 0 in my bitmap, gflAutoCrop work.
Pierre.
-
- Posts: 3
- Joined: Wed Mar 30, 2005 11:09 pm
-
- Author of XnView
- Posts: 44355
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 15
- Joined: Fri Jun 24, 2005 6:08 pm
Still in 2.40?
I am using V2.40 and I am having the same problem. Did this fix not make it into 2.40?
-
- Author of XnView
- Posts: 44355
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Still in 2.40?
On which bitmap did you use this function?tailormade wrote:I am using V2.40 and I am having the same problem. Did this fix not make it into 2.40?
Pierre.