Crop does NOT work on some (non-gray ?)

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
DOS386
Posts: 291
Joined: Sun Jun 11, 2006 2:43 pm

Crop does NOT work on some (non-gray ?)

Post by DOS386 »

Image

Can't auto-crop this ^^^ image :evil:

Have had problems with auto-crop for a long time with various versions,
but now providing a test image. Seems that cropping colours other
than white/gray/black does not work. :bug: Cropping this image
(RGB=(100,100,200)) with exactly this colour has exactly NO effect ...
irrespective what "Tolerance" (up to 255) I use :(

Code: Select all

MIME-Version: 1.0
Content-Type: application/octet-stream; name="CROP.PNG"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="CROP.PNG"

iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQAQMAAAC6caSPAAAABlBMVEVkZMj/AABX0dcKAAABz0lE
QVR4XuzAMQEAAADCIPuntsYOWBgAAAAAAMDZNWPcCGEgigZRUHIEjrJHg6NxFI5A6cLyS5NklWQt
8SRLgxJP/8TOfIvF/88CnpDMCEAyyAoAu3qIfcyDj9quEgOfdV5Fpi8ki99lfxnPOoQobmYzzyqi
FdcM2GZGsM3MYJtZ+FbiFMP10wy2/xFs/9MPJOvu4aL2Tv8V7MjAjmwEO7IJ7MjmX0jRM4YLM7ZT
XsFOGeyUhxfIaWWBZGWBbGWBomUBLQtsrZEVrJZgtRygoqVFrPiQrPiQrfhQGiMLL8sj6PMCmz0v
sLdFQB8yjwwV5GyKjBUkNUWmCpKbInMFKdHIQqWikUcN2YKRtYbswQi1Ov4DMlSRsyPqZQnpTyId
6UhH/OuiI/3vNf6z57Yfinf9tL7tZSTgLhZwr2x5Rw647wd4F8ZUae/2BDhXwlJzxl2AoyisTmeo
Bji9zoL2Rre3071p76MBH0D4mMOHKVaYhsGQj598yOWjNB/Y+VjQh48+4vRBqo9rfSjso2cfcPsY
3Yf1fiXALx749Qa/ROFXNfxCiF878cstfoXGL+oYaZJfOnpv144JAABAGADZxP4ptcPeQQ6C2lQA
AAAAgAeR4r5Nh06CFgAAAABJRU5ErkJggg==
XnView 1.90 <x>
There is indeed no WinZIP under my rock.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

Try batch convert's autocrop function. It is better in some ways. Currently in the viewer, using either white or black plus number will often work (even on your example).
Post Reply