Page 1 of 1

Auto Crop - how does it work?

Posted: Tue Jan 29, 2008 3:05 pm
by Peter2
I have two questions, maybe regarding the same thing.

a) Auto-Crop:
I don't understand how it works. What is "Tolerance", what is "Background color"???

b) Croping of white space:
I will get a lot of TIF files (black / white; 400 DPI, CCITT G4 or LZW), made by CAD programs. The "papersize" will be very large (i.e. 80 x 350 cm), but the "inked area" (the real printed area) will be much smaller (A4 - A1). The rest of the picture will be an emtpy area (white space). How can I crop (trim) the TIF to the "inked area + x mm white space"? With auto-crop?

Best regards

Peter

Posted: Thu Jan 31, 2008 4:55 pm
by Peter2
Nobody knows it?

Please give me a hint.

Thanks

Peter

Posted: Fri Feb 01, 2008 8:06 am
by xnview
Peter2 wrote:Nobody knows it?
"Auto crop" try to remove a border with same color (+/- tolerance)

Posted: Fri Feb 01, 2008 9:17 am
by Peter2
xnview wrote:
Peter2 wrote:Nobody knows it?
"Auto crop" try to remove a border with same color (+/- tolerance)
Thanks, but I am still confused:
Tolerance in pixel / inch / cm / color depth?
How it works with B/W-Tiff?

Peter

Posted: Fri Feb 01, 2008 9:30 am
by xnview
Peter2 wrote:
xnview wrote:
Peter2 wrote:Nobody knows it?
"Auto crop" try to remove a border with same color (+/- tolerance)
Thanks, but I am still confused:
Tolerance in pixel / inch / cm / color depth?
How it works with B/W-Tiff?
Tolerance is in RGB color
On B&W, tolerance is not used

Posted: Fri Feb 01, 2008 11:49 am
by Peter2
Thanks, now I could make a testfile.

Question:
I took a tiff, B/W, 400 dpi, CCITT G4, 89 x 350cm, 129 kB, and cropped it (background black).
The result is a tiff, B/W, 400 dpi, CCITT G4, 89 x 235cm (correct cropping) , but 444 kB.
Why?

Suggestion:
The cropping uses exactly the last pixel. It would be nice to add a "space-tolerance" (positive or negative value; absolute in pixel or cm or relative in %) that is added to the "last pixel". With "positive space" I can add a small white paperspace around the tiff, with "negative space I can crop i.e. a frame, draawn around the picture (I use plans which have a drawn border-line around the plan.)

Best regards

Peter

Posted: Fri Feb 01, 2008 2:25 pm
by xnview
Peter2 wrote:Thanks, now I could make a testfile.

Question:
I took a tiff, B/W, 400 dpi, CCITT G4, 89 x 350cm, 129 kB, and cropped it (background black).
The result is a tiff, B/W, 400 dpi, CCITT G4, 89 x 235cm (correct cropping) , but 444 kB.
Why?
Plase check the compression in option/Write
Suggestion:
The cropping uses exactly the last pixel. It would be nice to add a "space-tolerance" (positive or negative value; absolute in pixel or cm or relative in %) that is added to the "last pixel". With "positive space" I can add a small white paperspace around the tiff, with "negative space I can crop i.e. a frame, draawn around the picture (I use plans which have a drawn border-line around the plan.)
Ok

Posted: Fri Feb 01, 2008 2:39 pm
by Peter2
xnview wrote:Plase check the compression in option/Write
I have
"Colour: LZW"
"Black/White: CCITT G4"

"Only one strip" is not marked. If I mark it, I get immediatly the error "Not enough memory."

Peter

Posted: Fri Feb 01, 2008 4:46 pm
by xnview
Peter2 wrote:
xnview wrote:Plase check the compression in option/Write
I have
"Colour: LZW"
"Black/White: CCITT G4"
And which compression is used by the original?

Posted: Fri Feb 01, 2008 5:10 pm
by Peter2
Can I send you an example?

Peter

Posted: Sat Feb 02, 2008 7:29 am
by xnview
Peter2 wrote:Can I send you an example?

Peter
Yes

Posted: Sat Feb 02, 2008 10:11 am
by Peter2
I sent it now by mail.

Peter

Posted: Tue Feb 05, 2008 8:16 am
by Peter2
Hello Pierre

did you get the file (per hotmail)?

Peter

Posted: Tue Feb 05, 2008 9:55 am
by xnview
Peter2 wrote:Hello Pierre

did you get the file (per hotmail)?

Peter
Yes, i'll reply asap

Posted: Tue Feb 05, 2008 3:34 pm
by Peter2
It is clear now: due to more tags, written by Xnview (and not written by the other software), the file size increased.

Peter

(Thanks to Pierre.)