Re: Can't Open File
Posted: Tue Sep 12, 2017 10:00 pm
So Allow only one instance of XnView (Tools → Settings... → General → General) is disabled, and you're dragging & dropging files from the browser of one instance to the other?
Various discussion boards for XnView and related products
https://newsgroup.xnview.com/
I successfully opened your sample files with two dozen or more programs (including XnView MP). None of them had any problems whatsoever loading these images. Even all the diagnostic software I use on a regular basis (JPEGsnoop, TweakPNG, and Stuffware Photo Studio, to name but a few) gave them a clean bill of health.Brother Gabriel-Marie wrote:Right now I'm stuck with files that won't display, and I have no idea why. I can see them with any other program; just not MP. When I open a "broken" file in another program, say, Imagine (I use it as a plugin in FreeCommander) then it opens it fine. Photoshop opens them fine, too and nothing seems to be wrong with them.
I did a binary comparison of good.jpg and borked.jpg: According to FC, AptDiff, …Brother Gabriel-Marie wrote:Try these two files.
Code: Select all
JPEGsnoop 1.7.5 by Calvin Hass
http://www.impulseadventure.com/photo/
-------------------------------------
Filename: [X:\borked.jpg]
Filesize: [660032] Bytes
Start Offset: 0x00000000
*** Marker: SOI (xFFD8) ***
OFFSET: 0x00000000
*** Marker: APP0 (xFFE0) ***
OFFSET: 0x00000002
Length = 16
Identifier = [JFIF]
version = [1.1]
density = 96 x 96 DPI (dots per inch)
thumbnail = 0 x 0
*** Marker: APP13 (xFFED) ***
OFFSET: 0x00000014
Length = 2
Segment too short for Identifier. Skipping remainder.
*** Marker: DQT (xFFDB) ***
Define a Quantization Table.
OFFSET: 0x00000018
Table length = 67
----
Precision=8 bits
Destination ID=0 (Luminance)
DQT, Row #0: 11 8 7 11 17 28 36 43
DQT, Row #1: 8 8 10 13 18 41 42 39
DQT, Row #2: 10 9 11 17 28 40 48 39
DQT, Row #3: 10 12 15 20 36 61 56 43
DQT, Row #4: 13 15 26 39 48 76 72 54
DQT, Row #5: 17 25 39 45 57 73 79 64
DQT, Row #6: 34 45 55 61 72 85 84 71
DQT, Row #7: 50 64 67 69 78 70 72 69
Approx quality factor = 65.01 (scaling=69.99 variance=1.07)
*** Marker: DQT (xFFDB) ***
Define a Quantization Table.
OFFSET: 0x0000005D
Table length = 67
----
Precision=8 bits
Destination ID=1 (Chrominance)
DQT, Row #0: 12 13 17 33 69 69 69 69
DQT, Row #1: 13 15 18 46 69 69 69 69
DQT, Row #2: 17 18 39 69 69 69 69 69
DQT, Row #3: 33 46 69 69 69 69 69 69
DQT, Row #4: 69 69 69 69 69 69 69 69
DQT, Row #5: 69 69 69 69 69 69 69 69
DQT, Row #6: 69 69 69 69 69 69 69 69
DQT, Row #7: 69 69 69 69 69 69 69 69
Approx quality factor = 65.07 (scaling=69.85 variance=0.29)
*** Marker: SOF0 (Baseline DCT) (xFFC0) ***
OFFSET: 0x000000A2
Frame header length = 17
Precision = 8
Number of Lines = 2783
Samples per Line = 2024
Image Size = 2024 x 2783
Raw Image Orientation = Portrait
Number of Img components = 3
Component[1]: ID=0x01, Samp Fac=0x22 (Subsamp 1 x 1), Quant Tbl Sel=0x00 (Lum: Y)
Component[2]: ID=0x02, Samp Fac=0x11 (Subsamp 2 x 2), Quant Tbl Sel=0x01 (Chrom: Cb)
Component[3]: ID=0x03, Samp Fac=0x11 (Subsamp 2 x 2), Quant Tbl Sel=0x01 (Chrom: Cr)
*** Marker: DHT (Define Huffman Table) (xFFC4) ***
OFFSET: 0x000000B5
Huffman table length = 27
----
Destination ID = 0
Class = 0 (DC / Lossless Table)
Codes of length 01 bits (000 total):
Codes of length 02 bits (002 total): 03 04
Codes of length 03 bits (003 total): 01 02 05
Codes of length 04 bits (001 total): 00
Codes of length 05 bits (001 total): 06
Codes of length 06 bits (001 total): 07
Codes of length 07 bits (000 total):
Codes of length 08 bits (000 total):
Codes of length 09 bits (000 total):
Codes of length 10 bits (000 total):
Codes of length 11 bits (000 total):
Codes of length 12 bits (000 total):
Codes of length 13 bits (000 total):
Codes of length 14 bits (000 total):
Codes of length 15 bits (000 total):
Codes of length 16 bits (000 total):
Total number of codes: 008
Expanded Form of Codes:
Codes of length 02 bits:
00 = 03 (Total Len = 5)
01 = 04 (Total Len = 6)
Codes of length 03 bits:
100 = 01 (Total Len = 4)
101 = 02 (Total Len = 5)
110 = 05 (Total Len = 8)
Codes of length 04 bits:
1110 = 00 (Total Len = 4)
Codes of length 05 bits:
11110 = 06 (Total Len = 11)
Codes of length 06 bits:
111110 = 07 (Total Len = 13)
*** Marker: DHT (Define Huffman Table) (xFFC4) ***
OFFSET: 0x000000D2
Huffman table length = 59
----
Destination ID = 0
Class = 1 (AC Table)
Codes of length 01 bits (000 total):
Codes of length 02 bits (002 total): 01 02
Codes of length 03 bits (002 total): 00 03
Codes of length 04 bits (002 total): 04 11
Codes of length 05 bits (002 total): 12 21
Codes of length 06 bits (001 total): 31
Codes of length 07 bits (004 total): 05 13 22 41
Codes of length 08 bits (001 total): 51
Codes of length 09 bits (003 total): 14 32 61
Codes of length 10 bits (004 total): 06 23 71 81
Codes of length 11 bits (002 total): 42 91
Codes of length 12 bits (002 total): 15 24
Codes of length 13 bits (002 total): 33 52
Codes of length 14 bits (000 total):
Codes of length 15 bits (002 total): A1 62
Codes of length 16 bits (011 total): B1 16 43 34 C1 25 44 82 53 72 E1
Total number of codes: 040
Expanded Form of Codes:
Codes of length 02 bits:
00 = 01 (Total Len = 3)
01 = 02 (Total Len = 4)
Codes of length 03 bits:
100 = 00 (EOB) (Total Len = 3)
101 = 03 (Total Len = 6)
Codes of length 04 bits:
1100 = 04 (Total Len = 8)
1101 = 11 (Total Len = 5)
Codes of length 05 bits:
11100 = 12 (Total Len = 7)
11101 = 21 (Total Len = 6)
Codes of length 06 bits:
111100 = 31 (Total Len = 7)
Codes of length 07 bits:
1111010 = 05 (Total Len = 12)
1111011 = 13 (Total Len = 10)
1111100 = 22 (Total Len = 9)
1111101 = 41 (Total Len = 8)
Codes of length 08 bits:
11111100 = 51 (Total Len = 9)
Codes of length 09 bits:
111111010 = 14 (Total Len = 13)
111111011 = 32 (Total Len = 11)
111111100 = 61 (Total Len = 10)
Codes of length 10 bits:
1111111010 = 06 (Total Len = 16)
1111111011 = 23 (Total Len = 13)
1111111100 = 71 (Total Len = 11)
1111111101 = 81 (Total Len = 11)
Codes of length 11 bits:
11111111100 = 42 (Total Len = 13)
11111111101 = 91 (Total Len = 12)
Codes of length 12 bits:
111111111100 = 15 (Total Len = 17)
111111111101 = 24 (Total Len = 16)
Codes of length 13 bits:
1111111111100 = 33 (Total Len = 16)
1111111111101 = 52 (Total Len = 15)
Codes of length 15 bits:
111111111111000 = A1 (Total Len = 16)
111111111111001 = 62 (Total Len = 17)
Codes of length 16 bits:
1111111111110100 = B1 (Total Len = 17)
1111111111110101 = 16 (Total Len = 22)
1111111111110110 = 43 (Total Len = 19)
1111111111110111 = 34 (Total Len = 20)
1111111111111000 = C1 (Total Len = 17)
1111111111111001 = 25 (Total Len = 21)
1111111111111010 = 44 (Total Len = 20)
1111111111111011 = 82 (Total Len = 18)
1111111111111100 = 53 (Total Len = 19)
1111111111111101 = 72 (Total Len = 18)
1111111111111110 = E1 (Total Len = 17)
*** Marker: DHT (Define Huffman Table) (xFFC4) ***
OFFSET: 0x0000010F
Huffman table length = 25
----
Destination ID = 1
Class = 0 (DC / Lossless Table)
Codes of length 01 bits (000 total):
Codes of length 02 bits (003 total): 00 01 02
Codes of length 03 bits (001 total): 03
Codes of length 04 bits (001 total): 04
Codes of length 05 bits (001 total): 05
Codes of length 06 bits (000 total):
Codes of length 07 bits (000 total):
Codes of length 08 bits (000 total):
Codes of length 09 bits (000 total):
Codes of length 10 bits (000 total):
Codes of length 11 bits (000 total):
Codes of length 12 bits (000 total):
Codes of length 13 bits (000 total):
Codes of length 14 bits (000 total):
Codes of length 15 bits (000 total):
Codes of length 16 bits (000 total):
Total number of codes: 006
Expanded Form of Codes:
Codes of length 02 bits:
00 = 00 (Total Len = 2)
01 = 01 (Total Len = 3)
10 = 02 (Total Len = 4)
Codes of length 03 bits:
110 = 03 (Total Len = 6)
Codes of length 04 bits:
1110 = 04 (Total Len = 8)
Codes of length 05 bits:
11110 = 05 (Total Len = 10)
*** Marker: DHT (Define Huffman Table) (xFFC4) ***
OFFSET: 0x0000012A
Huffman table length = 44
----
Destination ID = 1
Class = 1 (AC Table)
Codes of length 01 bits (000 total):
Codes of length 02 bits (002 total): 00 01
Codes of length 03 bits (002 total): 02 11
Codes of length 04 bits (002 total): 21 31
Codes of length 05 bits (003 total): 03 12 41
Codes of length 06 bits (000 total):
Codes of length 07 bits (003 total): 22 51 61
Codes of length 08 bits (000 total):
Codes of length 09 bits (003 total): 13 32 71
Codes of length 10 bits (001 total): 04
Codes of length 11 bits (001 total): 42
Codes of length 12 bits (000 total):
Codes of length 13 bits (003 total): 23 52 81
Codes of length 14 bits (000 total):
Codes of length 15 bits (002 total): 14 43
Codes of length 16 bits (003 total): 62 91 B1
Total number of codes: 025
Expanded Form of Codes:
Codes of length 02 bits:
00 = 00 (EOB) (Total Len = 2)
01 = 01 (Total Len = 3)
Codes of length 03 bits:
100 = 02 (Total Len = 5)
101 = 11 (Total Len = 4)
Codes of length 04 bits:
1100 = 21 (Total Len = 5)
1101 = 31 (Total Len = 5)
Codes of length 05 bits:
11100 = 03 (Total Len = 8)
11101 = 12 (Total Len = 7)
11110 = 41 (Total Len = 6)
Codes of length 07 bits:
1111100 = 22 (Total Len = 9)
1111101 = 51 (Total Len = 8)
1111110 = 61 (Total Len = 8)
Codes of length 09 bits:
111111100 = 13 (Total Len = 12)
111111101 = 32 (Total Len = 11)
111111110 = 71 (Total Len = 10)
Codes of length 10 bits:
1111111110 = 04 (Total Len = 14)
Codes of length 11 bits:
11111111110 = 42 (Total Len = 13)
Codes of length 13 bits:
1111111111100 = 23 (Total Len = 16)
1111111111101 = 52 (Total Len = 15)
1111111111110 = 81 (Total Len = 14)
Codes of length 15 bits:
111111111111100 = 14 (Total Len = 19)
111111111111101 = 43 (Total Len = 18)
Codes of length 16 bits:
1111111111111100 = 62 (Total Len = 18)
1111111111111101 = 91 (Total Len = 17)
1111111111111110 = B1 (Total Len = 17)
*** Marker: SOS (Start of Scan) (xFFDA) ***
OFFSET: 0x00000158
Scan header length = 12
Number of img components = 3
Component[1]: selector=0x01, table=0(DC),0(AC)
Component[2]: selector=0x02, table=1(DC),1(AC)
Component[3]: selector=0x03, table=1(DC),1(AC)
Spectral selection = 0 .. 63
Successive approximation = 0x00
*** Decoding SCAN Data ***
OFFSET: 0x00000166
Scan Decode Mode: Full IDCT (AC + DC)
Scan Data encountered marker 0xFFD9 @ 0x000A123E.0
Compression stats:
Compression Ratio: 25.62:1
Bits per pixel: 0.94:1
Huffman code histogram stats:
Huffman Table: (Dest ID: 0, Class: DC)
# codes of length 01 bits: 0 ( 0%)
# codes of length 02 bits: 45040 ( 51%)
# codes of length 03 bits: 34849 ( 39%)
# codes of length 04 bits: 4326 ( 5%)
# codes of length 05 bits: 3931 ( 4%)
# codes of length 06 bits: 246 ( 0%)
# codes of length 07 bits: 0 ( 0%)
# codes of length 08 bits: 0 ( 0%)
# codes of length 09 bits: 0 ( 0%)
# codes of length 10 bits: 0 ( 0%)
# codes of length 11 bits: 0 ( 0%)
# codes of length 12 bits: 0 ( 0%)
# codes of length 13 bits: 0 ( 0%)
# codes of length 14 bits: 0 ( 0%)
# codes of length 15 bits: 0 ( 0%)
# codes of length 16 bits: 0 ( 0%)
Huffman Table: (Dest ID: 1, Class: DC)
# codes of length 01 bits: 0 ( 0%)
# codes of length 02 bits: 37156 ( 84%)
# codes of length 03 bits: 5435 ( 12%)
# codes of length 04 bits: 1516 ( 3%)
# codes of length 05 bits: 89 ( 0%)
# codes of length 06 bits: 0 ( 0%)
# codes of length 07 bits: 0 ( 0%)
# codes of length 08 bits: 0 ( 0%)
# codes of length 09 bits: 0 ( 0%)
# codes of length 10 bits: 0 ( 0%)
# codes of length 11 bits: 0 ( 0%)
# codes of length 12 bits: 0 ( 0%)
# codes of length 13 bits: 0 ( 0%)
# codes of length 14 bits: 0 ( 0%)
# codes of length 15 bits: 0 ( 0%)
# codes of length 16 bits: 0 ( 0%)
Huffman Table: (Dest ID: 0, Class: AC)
# codes of length 01 bits: 0 ( 0%)
# codes of length 02 bits: 412146 ( 48%)
# codes of length 03 bits: 200051 ( 23%)
# codes of length 04 bits: 113176 ( 13%)
# codes of length 05 bits: 55496 ( 7%)
# codes of length 06 bits: 18216 ( 2%)
# codes of length 07 bits: 36989 ( 4%)
# codes of length 08 bits: 5210 ( 1%)
# codes of length 09 bits: 5643 ( 1%)
# codes of length 10 bits: 3467 ( 0%)
# codes of length 11 bits: 647 ( 0%)
# codes of length 12 bits: 362 ( 0%)
# codes of length 13 bits: 213 ( 0%)
# codes of length 14 bits: 0 ( 0%)
# codes of length 15 bits: 139 ( 0%)
# codes of length 16 bits: 71 ( 0%)
Huffman Table: (Dest ID: 1, Class: AC)
# codes of length 01 bits: 0 ( 0%)
# codes of length 02 bits: 87559 ( 63%)
# codes of length 03 bits: 29489 ( 21%)
# codes of length 04 bits: 13129 ( 9%)
# codes of length 05 bits: 7082 ( 5%)
# codes of length 06 bits: 0 ( 0%)
# codes of length 07 bits: 1968 ( 1%)
# codes of length 08 bits: 0 ( 0%)
# codes of length 09 bits: 624 ( 0%)
# codes of length 10 bits: 74 ( 0%)
# codes of length 11 bits: 55 ( 0%)
# codes of length 12 bits: 0 ( 0%)
# codes of length 13 bits: 38 ( 0%)
# codes of length 14 bits: 0 ( 0%)
# codes of length 15 bits: 5 ( 0%)
# codes of length 16 bits: 4 ( 0%)
YCC clipping in DC:
Y component: [<0= 0] [>255= 0]
Cb component: [<0= 0] [>255= 0]
Cr component: [<0= 0] [>255= 0]
YCC histogram in DC (DCT sums : pre-ranged:
Y component histo: [min= -818 max= 900 avg= -106.4]
Cb component histo: [min= -403 max= 95 avg= -164.8]
Cr component histo: [min= -123 max= 488 avg= 194.9]
YCC histogram in DC:
Y component histo: [min= 0 max= 240 avg= 114.3]
Cb component histo: [min= 0 max= 139 avg= 107.0]
Cr component histo: [min= 0 max= 189 avg= 152.0]
RGB histogram in DC (before clip):
R component histo: [min= 0 max= 258 avg= 147.4]
G component histo: [min= 0 max= 240 avg= 103.9]
B component histo: [min= -9 max= 226 avg= 76.5]
RGB clipping in DC:
R component: [<0= 0] [>255= 6]
G component: [<0= 0] [>255= 0]
B component: [<0= 8] [>255= 0]
RGB histogram in DC (after clip):
R component histo: [min= 0 max= 255 avg= 147.4]
G component histo: [min= 0 max= 240 avg= 103.9]
B component histo: [min= 0 max= 226 avg= 76.5]
Average Pixel Luminance (Y):
Y=[114] (range: 0..255)
Brightest Pixel Search:
YCC=[ 900, -152, 76] RGB=[252,240,206] @ MCU[126, 27]
Finished Decoding SCAN Data
Number of RESTART markers decoded: 0
Next position in scan buffer: Offset 0x000A123E.0
*** Marker: EOI (End of Image) (xFFD9) ***
OFFSET: 0x000A123E
*** Searching Compression Signatures ***
Signature: 0139091A8EB09D2E5B08BF57DA89136A
Signature (Rotated): 01FD829AFC9398AA4692176577CC045B
File Offset: 0 bytes
Chroma subsampling: 2x2
EXIF Make/Model: NONE
EXIF Makernotes: NONE
EXIF Software: NONE
Searching Compression Signatures: (3347 built-in, 0 user(*) )
EXIF.Make / Software EXIF.Model Quality Subsamp Match?
------------------------- ----------------------------------- ---------------- --------------
SW :[IJG Library ] [065 ]
SW :[Picasa ] [065 (Minimum) ]
The following IJG-based editors also match this signature:
SW :[GIMP ] [065 ]
SW :[IrfanView ] [065 ]
SW :[idImager ] [065 ]
SW :[FastStone Image Viewer ] [065 ]
SW :[NeatImage ] [065 ]
SW :[Paint.NET ] [065 ]
SW :[Photomatix ] [065 ]
SW :[XnView ] [065 ]
Based on the analysis of compression characteristics and EXIF metadata:
ASSESSMENT: Class 1 - Image is processed/edited
This may be a new software editor for the database.
If this file is processed, and editor doesn't appear in list above,
PLEASE ADD TO DATABASE with [Tools->Add Camera to DB]In Pierre we trustBrother Gabriel-Marie wrote:Pierre is wonderful, and I know he will. But I won't die if it takes awhile to figure out.