File can't be loaded! error with panoramic JPG

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
RobinBaker
Posts: 2
Joined: Wed May 04, 2016 5:07 pm

File can't be loaded! error with panoramic JPG

Post by RobinBaker »

I'm getting a "File can't be loaded!" error when attempting to open panoramic JPGs created with a Samsung Galaxy S7 smartphone. They load fine with Irfanview 64-bit, Windows Photo Viewer, Paint, HP Photo Viewer, etc.

My system is Windows 7 Home Premium 64-bit. Using XnViewMP 0.79 64-bit.

Sample file: https://www.dropbox.com/s/ar02bo5hrec0w ... 7.jpg?dl=0

Thanks, Robert Baker
cday
XnThusiast
Posts: 4397
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: File can't be loaded! error with panoramic JPG

Post by cday »

RobinBaker wrote:I'm getting a "File can't be loaded!" error when attempting to open panoramic JPGs created with a Samsung Galaxy S7 smartphone. They load fine with Irfanview 64-bit, Windows Photo Viewer, Paint, HP Photo Viewer, etc.

My system is Windows 7 Home Premium 64-bit. Using XnViewMP 0.79 64-bit.

Sample file: https://www.dropbox.com/s/ar02bo5hrec0w ... 7.jpg?dl=0

Thanks, Robert Baker
That's quite a JPG at 11232 x 3568 px and nearly 48MB but the downloaded file opens normally for me in XnView MP x64 ZIP version, x32 ZIP version and an earlier installed version...

Also Windows 7 Home Premium 64-bit, 4GB ram.

Edit: Off topic, but resaving with JPEG quality Q = 40 reduces the file size to 4MB with no obvious loss of quality when zoomed in...
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: File can't be loaded! error with panoramic JPG

Post by XnTriq »

<edit> XnView MP will open 20160503_133157.jpg, if Ignore read errors in File » Format settings… » Read is activated. </edit>

According to JPEGsnoop, "data exists after EOF":

Code: Select all

JPEGsnoop 1.7.5 by Calvin Hass
  http://www.impulseadventure.com/photo/
  -------------------------------------

  Filename: [X:\Test\20160503_133157.jpg]
  Filesize: [50152259] Bytes

Start Offset: 0x00000000
*** Marker: SOI (xFFD8) ***
  OFFSET: 0x00000000
 
*** Marker: APP1 (xFFE1) ***
  OFFSET: 0x00000002
  Length          = 664
  Identifier      = [Exif]
  Identifier TIFF = 0x[49492A00 08000000]
  Endian          = Intel (little)
  TAG Mark x002A  = 0x002A

  EXIF IFD0 @ Absolute 0x00000014
    Dir Length = 0x000D
    [Make                                ] = "samsung"
    [Model                               ] = "SM-G930V"
    [Orientation                         ] = 1 = Row 0: top, Col 0: left
    [XResolution                         ] = 72/1
    [YResolution                         ] = 72/1
    [ResolutionUnit                      ] = Inch
    [Software                            ] = "G930VVRU2APB5"
    [DateTime                            ] = "2016:05:03 13:31:56"
    [YCbCrPositioning                    ] = Centered
    [ExifOffset                          ] = @ 0x00EE
    [GPSOffset                           ] = @ 0x0200
    Offset to Next IFD = 0x00000266

  EXIF IFD1 @ Absolute 0x00000272
    Dir Length = 0x0003
    [ImageWidth                          ] = 0x[00000200] / 512
    [ImageLength                         ] = 0x[00000180] / 384
    Offset to Next IFD = 0x00000000

  EXIF SubIFD @ Absolute 0x000000FA
    Dir Length = 0x0011
    [FNumber                             ] = F1.7
    [ExposureProgram                     ] = Normal program
    [ExifVersion                         ] = 02.20
    [DateTimeOriginal                    ] = "2016:05:03 13:31:56"
    [DateTimeDigitized                   ] = "2016:05:03 13:31:56"
    [MaxApertureValue                    ] = 153/100
    [MeteringMode                        ] = Average
    [Flash                               ] = Flash did not fire
    [FocalLength                         ] = 4 mm
    [ColorSpace                          ] = sRGB
    [ExifImageWidth                      ] = 0x[00000DF0] / 3568
    [ExifImageHeight                     ] = 0x[00002BE0] / 11232
    [ExposureMode                        ] = Auto exposure
    [WhiteBalance                        ] = Auto white balance
    [FocalLengthIn35mmFilm               ] = 27
    [SceneCaptureType                    ] = Landscape
    [ImageUniqueID                       ] = "C"

  EXIF GPSIFD @ Absolute 0x0000020C
    Dir Length = 0x0004
    [GPSLatitudeRef                      ] = "N"
    [GPSLatitude                         ] = 45 deg 22' 39.000"
    [GPSLongitudeRef                     ] = "W"
    [GPSLongitude                        ] = 122 deg 24' 12.000"
 
*** Marker: APP0 (xFFE0) ***
  OFFSET: 0x0000029C
  Length     = 16
  Identifier = [JFIF]
  version    = [1.1]
  density    = 59 x 59 DPcm (dots per cm)
  thumbnail  = 0 x 0
 
*** Marker: COM (Comment) (xFFFE) ***
  OFFSET: 0x000002AE
  Comment length = 38
    Comment=File written by Adobe Photoshop¨ 5.0
 
*** Marker: APP14 (xFFEE) ***
  OFFSET: 0x000002D6
  Length            = 14
  DCTEncodeVersion  = 256
  APP14Flags0       = 0
  APP14Flags1       = 0
  ColorTransform    = 1 [YCbCr]
 
*** Marker: DQT (xFFDB) ***
  Define a Quantization Table.
  OFFSET: 0x000002E6
  Table length = 67
  ----
  Precision=8 bits
  Destination ID=0 (Luminance)
    DQT, Row #0:   1   1   1   1   2   3   4   5 
    DQT, Row #1:   1   1   1   2   2   5   5   4 
    DQT, Row #2:   1   1   1   2   3   5   6   4 
    DQT, Row #3:   1   1   2   2   4   7   6   5 
    DQT, Row #4:   1   2   3   4   5   9   8   6 
    DQT, Row #5:   2   3   4   5   6   8   9   7 
    DQT, Row #6:   4   5   6   7   8  10  10   8 
    DQT, Row #7:   6   7   8   8   9   8   8   8 
    Approx quality factor = 96.06 (scaling=7.87 variance=0.69)
 
*** Marker: DQT (xFFDB) ***
  Define a Quantization Table.
  OFFSET: 0x0000032B
  Table length = 67
  ----
  Precision=8 bits
  Destination ID=1 (Chrominance)
    DQT, Row #0:   1   1   2   4   8   8   8   8 
    DQT, Row #1:   1   2   2   5   8   8   8   8 
    DQT, Row #2:   2   2   4   8   8   8   8   8 
    DQT, Row #3:   4   5   8   8   8   8   8   8 
    DQT, Row #4:   8   8   8   8   8   8   8   8 
    DQT, Row #5:   8   8   8   8   8   8   8   8 
    DQT, Row #6:   8   8   8   8   8   8   8   8 
    DQT, Row #7:   8   8   8   8   8   8   8   8 
    Approx quality factor = 96.02 (scaling=7.97 variance=0.33)
 
*** Marker: SOF0 (Baseline DCT) (xFFC0) ***
  OFFSET: 0x00000370
  Frame header length = 17
  Precision = 8
  Number of Lines = 3568
  Samples per Line = 11232
  Image Size = 11232 x 3568
  Raw Image Orientation = Landscape
  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: 0x00000383
  Huffman table length = 31
  ----
  Destination ID = 0
  Class = 0 (DC / Lossless Table)
    Codes of length 01 bits (000 total): 
    Codes of length 02 bits (001 total): 00 
    Codes of length 03 bits (005 total): 01 02 03 04 05 
    Codes of length 04 bits (001 total): 06 
    Codes of length 05 bits (001 total): 07 
    Codes of length 06 bits (001 total): 08 
    Codes of length 07 bits (001 total): 09 
    Codes of length 08 bits (001 total): 0A 
    Codes of length 09 bits (001 total): 0B 
    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: 012

  Expanded Form of Codes:
    Codes of length 02 bits:
      00 = 00                            (Total Len =  2)
    Codes of length 03 bits:
      010 = 01                           (Total Len =  4)
      011 = 02                           (Total Len =  5)
      100 = 03                           (Total Len =  6)
      101 = 04                           (Total Len =  7)
      110 = 05                           (Total Len =  8)
    Codes of length 04 bits:
      1110 = 06                          (Total Len = 10)
    Codes of length 05 bits:
      11110 = 07                         (Total Len = 12)
    Codes of length 06 bits:
      111110 = 08                        (Total Len = 14)
    Codes of length 07 bits:
      1111110 = 09                       (Total Len = 16)
    Codes of length 08 bits:
      11111110 = 0A                      (Total Len = 18)
    Codes of length 09 bits:
      111111110 = 0B                     (Total Len = 20)

 
*** Marker: DHT (Define Huffman Table) (xFFC4) ***
  OFFSET: 0x000003A4
  Huffman table length = 181
  ----
  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 (001 total): 03 
    Codes of length 04 bits (003 total): 00 04 11 
    Codes of length 05 bits (003 total): 05 12 21 
    Codes of length 06 bits (002 total): 31 41 
    Codes of length 07 bits (004 total): 06 13 51 61 
    Codes of length 08 bits (003 total): 07 22 71 
    Codes of length 09 bits (005 total): 14 32 81 91 A1 
    Codes of length 10 bits (005 total): 08 23 42 B1 C1 
    Codes of length 11 bits (004 total): 15 52 D1 F0 
    Codes of length 12 bits (004 total): 24 33 62 72 
    Codes of length 13 bits (000 total): 
    Codes of length 14 bits (000 total): 
    Codes of length 15 bits (001 total): 82 
    Codes of length 16 bits (125 total): 09 0A 16 17 18 19 1A 25 26 27 28 29 2A 34 35 36 
                                         37 38 39 3A 43 44 45 46 47 48 49 4A 53 54 55 56 
                                         57 58 59 5A 63 64 65 66 67 68 69 6A 73 74 75 76 
                                         77 78 79 7A 83 84 85 86 87 88 89 8A 92 93 94 95 
                                         96 97 98 99 9A A2 A3 A4 A5 A6 A7 A8 A9 AA B2 B3 
                                         B4 B5 B6 B7 B8 B9 BA C2 C3 C4 C5 C6 C7 C8 C9 CA 
                                         D2 D3 D4 D5 D6 D7 D8 D9 DA E1 E2 E3 E4 E5 E6 E7 
                                         E8 E9 EA F1 F2 F3 F4 F5 F6 F7 F8 F9 FA 
    Total number of codes: 162

  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 = 03                           (Total Len =  6)
    Codes of length 04 bits:
      1010 = 00 (EOB)                    (Total Len =  4)
      1011 = 04                          (Total Len =  8)
      1100 = 11                          (Total Len =  5)
    Codes of length 05 bits:
      11010 = 05                         (Total Len = 10)
      11011 = 12                         (Total Len =  7)
      11100 = 21                         (Total Len =  6)
    Codes of length 06 bits:
      111010 = 31                        (Total Len =  7)
      111011 = 41                        (Total Len =  7)
    Codes of length 07 bits:
      1111000 = 06                       (Total Len = 13)
      1111001 = 13                       (Total Len = 10)
      1111010 = 51                       (Total Len =  8)
      1111011 = 61                       (Total Len =  8)
    Codes of length 08 bits:
      11111000 = 07                      (Total Len = 15)
      11111001 = 22                      (Total Len = 10)
      11111010 = 71                      (Total Len =  9)
    Codes of length 09 bits:
      111110110 = 14                     (Total Len = 13)
      111110111 = 32                     (Total Len = 11)
      111111000 = 81                     (Total Len = 10)
      111111001 = 91                     (Total Len = 10)
      111111010 = A1                     (Total Len = 10)
    Codes of length 10 bits:
      1111110110 = 08                    (Total Len = 18)
      1111110111 = 23                    (Total Len = 13)
      1111111000 = 42                    (Total Len = 12)
      1111111001 = B1                    (Total Len = 11)
      1111111010 = C1                    (Total Len = 11)
    Codes of length 11 bits:
      11111110110 = 15                   (Total Len = 16)
      11111110111 = 52                   (Total Len = 13)
      11111111000 = D1                   (Total Len = 12)
      11111111001 = F0 (ZRL)             (Total Len = 11)
    Codes of length 12 bits:
      111111110100 = 24                  (Total Len = 16)
      111111110101 = 33                  (Total Len = 15)
      111111110110 = 62                  (Total Len = 14)
      111111110111 = 72                  (Total Len = 14)
    Codes of length 15 bits:
      111111111000000 = 82               (Total Len = 17)
    Codes of length 16 bits:
      1111111110000010 = 09              (Total Len = 25)
      1111111110000011 = 0A              (Total Len = 26)
      1111111110000100 = 16              (Total Len = 22)
      1111111110000101 = 17              (Total Len = 23)
      1111111110000110 = 18              (Total Len = 24)
      1111111110000111 = 19              (Total Len = 25)
      1111111110001000 = 1A              (Total Len = 26)
      1111111110001001 = 25              (Total Len = 21)
      1111111110001010 = 26              (Total Len = 22)
      1111111110001011 = 27              (Total Len = 23)
      1111111110001100 = 28              (Total Len = 24)
      1111111110001101 = 29              (Total Len = 25)
      1111111110001110 = 2A              (Total Len = 26)
      1111111110001111 = 34              (Total Len = 20)
      1111111110010000 = 35              (Total Len = 21)
      1111111110010001 = 36              (Total Len = 22)
      1111111110010010 = 37              (Total Len = 23)
      1111111110010011 = 38              (Total Len = 24)
      1111111110010100 = 39              (Total Len = 25)
      1111111110010101 = 3A              (Total Len = 26)
      1111111110010110 = 43              (Total Len = 19)
      1111111110010111 = 44              (Total Len = 20)
      1111111110011000 = 45              (Total Len = 21)
      1111111110011001 = 46              (Total Len = 22)
      1111111110011010 = 47              (Total Len = 23)
      1111111110011011 = 48              (Total Len = 24)
      1111111110011100 = 49              (Total Len = 25)
      1111111110011101 = 4A              (Total Len = 26)
      1111111110011110 = 53              (Total Len = 19)
      1111111110011111 = 54              (Total Len = 20)
      1111111110100000 = 55              (Total Len = 21)
      1111111110100001 = 56              (Total Len = 22)
      1111111110100010 = 57              (Total Len = 23)
      1111111110100011 = 58              (Total Len = 24)
      1111111110100100 = 59              (Total Len = 25)
      1111111110100101 = 5A              (Total Len = 26)
      1111111110100110 = 63              (Total Len = 19)
      1111111110100111 = 64              (Total Len = 20)
      1111111110101000 = 65              (Total Len = 21)
      1111111110101001 = 66              (Total Len = 22)
      1111111110101010 = 67              (Total Len = 23)
      1111111110101011 = 68              (Total Len = 24)
      1111111110101100 = 69              (Total Len = 25)
      1111111110101101 = 6A              (Total Len = 26)
      1111111110101110 = 73              (Total Len = 19)
      1111111110101111 = 74              (Total Len = 20)
      1111111110110000 = 75              (Total Len = 21)
      1111111110110001 = 76              (Total Len = 22)
      1111111110110010 = 77              (Total Len = 23)
      1111111110110011 = 78              (Total Len = 24)
      1111111110110100 = 79              (Total Len = 25)
      1111111110110101 = 7A              (Total Len = 26)
      1111111110110110 = 83              (Total Len = 19)
      1111111110110111 = 84              (Total Len = 20)
      1111111110111000 = 85              (Total Len = 21)
      1111111110111001 = 86              (Total Len = 22)
      1111111110111010 = 87              (Total Len = 23)
      1111111110111011 = 88              (Total Len = 24)
      1111111110111100 = 89              (Total Len = 25)
      1111111110111101 = 8A              (Total Len = 26)
      1111111110111110 = 92              (Total Len = 18)
      1111111110111111 = 93              (Total Len = 19)
      1111111111000000 = 94              (Total Len = 20)
      1111111111000001 = 95              (Total Len = 21)
      1111111111000010 = 96              (Total Len = 22)
      1111111111000011 = 97              (Total Len = 23)
      1111111111000100 = 98              (Total Len = 24)
      1111111111000101 = 99              (Total Len = 25)
      1111111111000110 = 9A              (Total Len = 26)
      1111111111000111 = A2              (Total Len = 18)
      1111111111001000 = A3              (Total Len = 19)
      1111111111001001 = A4              (Total Len = 20)
      1111111111001010 = A5              (Total Len = 21)
      1111111111001011 = A6              (Total Len = 22)
      1111111111001100 = A7              (Total Len = 23)
      1111111111001101 = A8              (Total Len = 24)
      1111111111001110 = A9              (Total Len = 25)
      1111111111001111 = AA              (Total Len = 26)
      1111111111010000 = B2              (Total Len = 18)
      1111111111010001 = B3              (Total Len = 19)
      1111111111010010 = B4              (Total Len = 20)
      1111111111010011 = B5              (Total Len = 21)
      1111111111010100 = B6              (Total Len = 22)
      1111111111010101 = B7              (Total Len = 23)
      1111111111010110 = B8              (Total Len = 24)
      1111111111010111 = B9              (Total Len = 25)
      1111111111011000 = BA              (Total Len = 26)
      1111111111011001 = C2              (Total Len = 18)
      1111111111011010 = C3              (Total Len = 19)
      1111111111011011 = C4              (Total Len = 20)
      1111111111011100 = C5              (Total Len = 21)
      1111111111011101 = C6              (Total Len = 22)
      1111111111011110 = C7              (Total Len = 23)
      1111111111011111 = C8              (Total Len = 24)
      1111111111100000 = C9              (Total Len = 25)
      1111111111100001 = CA              (Total Len = 26)
      1111111111100010 = D2              (Total Len = 18)
      1111111111100011 = D3              (Total Len = 19)
      1111111111100100 = D4              (Total Len = 20)
      1111111111100101 = D5              (Total Len = 21)
      1111111111100110 = D6              (Total Len = 22)
      1111111111100111 = D7              (Total Len = 23)
      1111111111101000 = D8              (Total Len = 24)
      1111111111101001 = D9              (Total Len = 25)
      1111111111101010 = DA              (Total Len = 26)
      1111111111101011 = E1              (Total Len = 17)
      1111111111101100 = E2              (Total Len = 18)
      1111111111101101 = E3              (Total Len = 19)
      1111111111101110 = E4              (Total Len = 20)
      1111111111101111 = E5              (Total Len = 21)
      1111111111110000 = E6              (Total Len = 22)
      1111111111110001 = E7              (Total Len = 23)
      1111111111110010 = E8              (Total Len = 24)
      1111111111110011 = E9              (Total Len = 25)
      1111111111110100 = EA              (Total Len = 26)
      1111111111110101 = F1              (Total Len = 17)
      1111111111110110 = F2              (Total Len = 18)
      1111111111110111 = F3              (Total Len = 19)
      1111111111111000 = F4              (Total Len = 20)
      1111111111111001 = F5              (Total Len = 21)
      1111111111111010 = F6              (Total Len = 22)
      1111111111111011 = F7              (Total Len = 23)
      1111111111111100 = F8              (Total Len = 24)
      1111111111111101 = F9              (Total Len = 25)
      1111111111111110 = FA              (Total Len = 26)

 
*** Marker: DHT (Define Huffman Table) (xFFC4) ***
  OFFSET: 0x0000045B
  Huffman table length = 31
  ----
  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 (001 total): 06 
    Codes of length 07 bits (001 total): 07 
    Codes of length 08 bits (001 total): 08 
    Codes of length 09 bits (001 total): 09 
    Codes of length 10 bits (001 total): 0A 
    Codes of length 11 bits (001 total): 0B 
    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: 012

  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)
    Codes of length 06 bits:
      111110 = 06                        (Total Len = 12)
    Codes of length 07 bits:
      1111110 = 07                       (Total Len = 14)
    Codes of length 08 bits:
      11111110 = 08                      (Total Len = 16)
    Codes of length 09 bits:
      111111110 = 09                     (Total Len = 18)
    Codes of length 10 bits:
      1111111110 = 0A                    (Total Len = 20)
    Codes of length 11 bits:
      11111111110 = 0B                   (Total Len = 22)

 
*** Marker: DHT (Define Huffman Table) (xFFC4) ***
  OFFSET: 0x0000047C
  Huffman table length = 181
  ----
  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 (001 total): 02 
    Codes of length 04 bits (002 total): 03 11 
    Codes of length 05 bits (004 total): 04 05 21 31 
    Codes of length 06 bits (004 total): 06 12 41 51 
    Codes of length 07 bits (003 total): 07 61 71 
    Codes of length 08 bits (004 total): 13 22 32 81 
    Codes of length 09 bits (007 total): 08 14 42 91 A1 B1 C1 
    Codes of length 10 bits (005 total): 09 23 33 52 F0 
    Codes of length 11 bits (004 total): 15 62 72 D1 
    Codes of length 12 bits (004 total): 0A 16 24 34 
    Codes of length 13 bits (000 total): 
    Codes of length 14 bits (001 total): E1 
    Codes of length 15 bits (002 total): 25 F1 
    Codes of length 16 bits (119 total): 17 18 19 1A 26 27 28 29 2A 35 36 37 38 39 3A 43 
                                         44 45 46 47 48 49 4A 53 54 55 56 57 58 59 5A 63 
                                         64 65 66 67 68 69 6A 73 74 75 76 77 78 79 7A 82 
                                         83 84 85 86 87 88 89 8A 92 93 94 95 96 97 98 99 
                                         9A A2 A3 A4 A5 A6 A7 A8 A9 AA B2 B3 B4 B5 B6 B7 
                                         B8 B9 BA C2 C3 C4 C5 C6 C7 C8 C9 CA D2 D3 D4 D5 
                                         D6 D7 D8 D9 DA E2 E3 E4 E5 E6 E7 E8 E9 EA F2 F3 
                                         F4 F5 F6 F7 F8 F9 FA 
    Total number of codes: 162

  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)
    Codes of length 04 bits:
      1010 = 03                          (Total Len =  7)
      1011 = 11                          (Total Len =  5)
    Codes of length 05 bits:
      11000 = 04                         (Total Len =  9)
      11001 = 05                         (Total Len = 10)
      11010 = 21                         (Total Len =  6)
      11011 = 31                         (Total Len =  6)
    Codes of length 06 bits:
      111000 = 06                        (Total Len = 12)
      111001 = 12                        (Total Len =  8)
      111010 = 41                        (Total Len =  7)
      111011 = 51                        (Total Len =  7)
    Codes of length 07 bits:
      1111000 = 07                       (Total Len = 14)
      1111001 = 61                       (Total Len =  8)
      1111010 = 71                       (Total Len =  8)
    Codes of length 08 bits:
      11110110 = 13                      (Total Len = 11)
      11110111 = 22                      (Total Len = 10)
      11111000 = 32                      (Total Len = 10)
      11111001 = 81                      (Total Len =  9)
    Codes of length 09 bits:
      111110100 = 08                     (Total Len = 17)
      111110101 = 14                     (Total Len = 13)
      111110110 = 42                     (Total Len = 11)
      111110111 = 91                     (Total Len = 10)
      111111000 = A1                     (Total Len = 10)
      111111001 = B1                     (Total Len = 10)
      111111010 = C1                     (Total Len = 10)
    Codes of length 10 bits:
      1111110110 = 09                    (Total Len = 19)
      1111110111 = 23                    (Total Len = 13)
      1111111000 = 33                    (Total Len = 13)
      1111111001 = 52                    (Total Len = 12)
      1111111010 = F0 (ZRL)              (Total Len = 10)
    Codes of length 11 bits:
      11111110110 = 15                   (Total Len = 16)
      11111110111 = 62                   (Total Len = 13)
      11111111000 = 72                   (Total Len = 13)
      11111111001 = D1                   (Total Len = 12)
    Codes of length 12 bits:
      111111110100 = 0A                  (Total Len = 22)
      111111110101 = 16                  (Total Len = 18)
      111111110110 = 24                  (Total Len = 16)
      111111110111 = 34                  (Total Len = 16)
    Codes of length 14 bits:
      11111111100000 = E1                (Total Len = 15)
    Codes of length 15 bits:
      111111111000010 = 25               (Total Len = 20)
      111111111000011 = F1               (Total Len = 16)
    Codes of length 16 bits:
      1111111110001000 = 17              (Total Len = 23)
      1111111110001001 = 18              (Total Len = 24)
      1111111110001010 = 19              (Total Len = 25)
      1111111110001011 = 1A              (Total Len = 26)
      1111111110001100 = 26              (Total Len = 22)
      1111111110001101 = 27              (Total Len = 23)
      1111111110001110 = 28              (Total Len = 24)
      1111111110001111 = 29              (Total Len = 25)
      1111111110010000 = 2A              (Total Len = 26)
      1111111110010001 = 35              (Total Len = 21)
      1111111110010010 = 36              (Total Len = 22)
      1111111110010011 = 37              (Total Len = 23)
      1111111110010100 = 38              (Total Len = 24)
      1111111110010101 = 39              (Total Len = 25)
      1111111110010110 = 3A              (Total Len = 26)
      1111111110010111 = 43              (Total Len = 19)
      1111111110011000 = 44              (Total Len = 20)
      1111111110011001 = 45              (Total Len = 21)
      1111111110011010 = 46              (Total Len = 22)
      1111111110011011 = 47              (Total Len = 23)
      1111111110011100 = 48              (Total Len = 24)
      1111111110011101 = 49              (Total Len = 25)
      1111111110011110 = 4A              (Total Len = 26)
      1111111110011111 = 53              (Total Len = 19)
      1111111110100000 = 54              (Total Len = 20)
      1111111110100001 = 55              (Total Len = 21)
      1111111110100010 = 56              (Total Len = 22)
      1111111110100011 = 57              (Total Len = 23)
      1111111110100100 = 58              (Total Len = 24)
      1111111110100101 = 59              (Total Len = 25)
      1111111110100110 = 5A              (Total Len = 26)
      1111111110100111 = 63              (Total Len = 19)
      1111111110101000 = 64              (Total Len = 20)
      1111111110101001 = 65              (Total Len = 21)
      1111111110101010 = 66              (Total Len = 22)
      1111111110101011 = 67              (Total Len = 23)
      1111111110101100 = 68              (Total Len = 24)
      1111111110101101 = 69              (Total Len = 25)
      1111111110101110 = 6A              (Total Len = 26)
      1111111110101111 = 73              (Total Len = 19)
      1111111110110000 = 74              (Total Len = 20)
      1111111110110001 = 75              (Total Len = 21)
      1111111110110010 = 76              (Total Len = 22)
      1111111110110011 = 77              (Total Len = 23)
      1111111110110100 = 78              (Total Len = 24)
      1111111110110101 = 79              (Total Len = 25)
      1111111110110110 = 7A              (Total Len = 26)
      1111111110110111 = 82              (Total Len = 18)
      1111111110111000 = 83              (Total Len = 19)
      1111111110111001 = 84              (Total Len = 20)
      1111111110111010 = 85              (Total Len = 21)
      1111111110111011 = 86              (Total Len = 22)
      1111111110111100 = 87              (Total Len = 23)
      1111111110111101 = 88              (Total Len = 24)
      1111111110111110 = 89              (Total Len = 25)
      1111111110111111 = 8A              (Total Len = 26)
      1111111111000000 = 92              (Total Len = 18)
      1111111111000001 = 93              (Total Len = 19)
      1111111111000010 = 94              (Total Len = 20)
      1111111111000011 = 95              (Total Len = 21)
      1111111111000100 = 96              (Total Len = 22)
      1111111111000101 = 97              (Total Len = 23)
      1111111111000110 = 98              (Total Len = 24)
      1111111111000111 = 99              (Total Len = 25)
      1111111111001000 = 9A              (Total Len = 26)
      1111111111001001 = A2              (Total Len = 18)
      1111111111001010 = A3              (Total Len = 19)
      1111111111001011 = A4              (Total Len = 20)
      1111111111001100 = A5              (Total Len = 21)
      1111111111001101 = A6              (Total Len = 22)
      1111111111001110 = A7              (Total Len = 23)
      1111111111001111 = A8              (Total Len = 24)
      1111111111010000 = A9              (Total Len = 25)
      1111111111010001 = AA              (Total Len = 26)
      1111111111010010 = B2              (Total Len = 18)
      1111111111010011 = B3              (Total Len = 19)
      1111111111010100 = B4              (Total Len = 20)
      1111111111010101 = B5              (Total Len = 21)
      1111111111010110 = B6              (Total Len = 22)
      1111111111010111 = B7              (Total Len = 23)
      1111111111011000 = B8              (Total Len = 24)
      1111111111011001 = B9              (Total Len = 25)
      1111111111011010 = BA              (Total Len = 26)
      1111111111011011 = C2              (Total Len = 18)
      1111111111011100 = C3              (Total Len = 19)
      1111111111011101 = C4              (Total Len = 20)
      1111111111011110 = C5              (Total Len = 21)
      1111111111011111 = C6              (Total Len = 22)
      1111111111100000 = C7              (Total Len = 23)
      1111111111100001 = C8              (Total Len = 24)
      1111111111100010 = C9              (Total Len = 25)
      1111111111100011 = CA              (Total Len = 26)
      1111111111100100 = D2              (Total Len = 18)
      1111111111100101 = D3              (Total Len = 19)
      1111111111100110 = D4              (Total Len = 20)
      1111111111100111 = D5              (Total Len = 21)
      1111111111101000 = D6              (Total Len = 22)
      1111111111101001 = D7              (Total Len = 23)
      1111111111101010 = D8              (Total Len = 24)
      1111111111101011 = D9              (Total Len = 25)
      1111111111101100 = DA              (Total Len = 26)
      1111111111101101 = E2              (Total Len = 18)
      1111111111101110 = E3              (Total Len = 19)
      1111111111101111 = E4              (Total Len = 20)
      1111111111110000 = E5              (Total Len = 21)
      1111111111110001 = E6              (Total Len = 22)
      1111111111110010 = E7              (Total Len = 23)
      1111111111110011 = E8              (Total Len = 24)
      1111111111110100 = E9              (Total Len = 25)
      1111111111110101 = EA              (Total Len = 26)
      1111111111110110 = F2              (Total Len = 18)
      1111111111110111 = F3              (Total Len = 19)
      1111111111111000 = F4              (Total Len = 20)
      1111111111111001 = F5              (Total Len = 21)
      1111111111111010 = F6              (Total Len = 22)
      1111111111111011 = F7              (Total Len = 23)
      1111111111111100 = F8              (Total Len = 24)
      1111111111111101 = F9              (Total Len = 25)
      1111111111111110 = FA              (Total Len = 26)

 
*** Marker: DRI (Restart Interval) (xFFDD) ***
  OFFSET: 0x00000533
  Length     = 4
  interval   = 702
 
*** Marker: SOS (Start of Scan) (xFFDA) ***
  OFFSET: 0x00000539
  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 .. 0
  Successive approximation = 0x00

  Scan Data: (after bitstuff removed)
    fd b7 69 04 81 dc 46 40 c8 04 7a 52 01 92 ed 23 01 cf e1 f9 54 88 c4 84 2d cb 1e fd 06 29 89 16 
    ed f9 f3 3c c1 d0 e4 10 2b fa ce 32 b2 3f 1b 94 93 d8 ac e5 8c 88 4e d2 3a 80 a3 b5 39 0f cc 4a 
    64 26 79 07 8c 1a 74 88 d1 33 82 39 23 82 29 21 5d e4 a6 1d b3 9e 47 51 ef 55 cd a5 cc c9 44 20 
    0d a5 90 1c 83 8e b5 0c ca 32 30 58 49 9c 37 18 fc 31 56 06 48 c3 93 f5 f5 14 93 13 fb a2 a0 6e 
    3f 91 a1 49 01 49 a2 66 2e ff 75 80 03 03 a5 46 21 20 2b b2 46 d1 f7 f5 15 67 cb 76 de 46 58 85 
    c9 2b fc e9 ad 1e e8 bc a9 19 d0 75 dc b5 68 4d 5c cd 78 f7 65 4a 28 18 ce 7d 2a 29 22 db 95 7c 
    1c 71 82 b5 71 e3 3b 55 dd 86 41 db f5 f7 a0 33 06 67 90 97 1c 0e 7d 31 d2 b6 52 46 2d 19 04 32 
    b1 00 89 0f 50 0d 59 51 bf 8c 94 04 76 fe 55 64 26 10 ee 8b 39 27 68 c5 56 f2 e4 5e eb bb 39 e7 
    ad 55 cc 64 b5 2b fd 9f 07 6c 6c 8f d4 e3 b9 14 c1 1e c1 28 c3 2a f0 78 f4 ab f1 c6 b1 ee 39 00 
    90 33 e8 7d ea 10 49 ce 49 3f 2e 38 15 51 95 84 e2 d1 52 40 1c b7 32 ee c6 06 7a 67 fc 6a b9 6c 
    3a 82 ac 85 7a b7 b7 35 79 a2 0c a5 46 e3 c6 70 4f f2 35 1a 44 1a 31 86 c8 65 0c 09 f4 ad 39 d1 
    32 8f 73 3d a0 3b a4 c8 25 40 dd d4 64 d3 b0 82 12 01 da c0 f0 4f f3 ab 6c 98 72 3c c5 07 3d fb 
    0a 70 48 ce ec 06 03 18 e3 d2 8e 74 4f 22 28 b1 2e 48 05 49 29 c7 38 cf e3 55 8f cb c0 2c a4 8e 
    38 ce 3e b5 aa 90 96 2c a4 2f 97 8e 4a e0 93 fe 7d 2a 29 11 04 8e 33 b4 11 d3 a1 6a 14 d0 d2 b1 
    4d 62 62 44 67 72 a8 18 04 9e b5 61 18 b1 65 1f 34 78 c6 3d 05 2a c6 43 fc c1 59 3d 73 4e 8d 51 
    25 65 75 24 81 8c 8c e3 15 43 2b bd bb 00 c5 48 7c 91 8c 9c ff fa 85 46 56 4c ae e5 28 58 e0 1e 
    c2 b4 98 a0 2b 8d a6 41 e9 e9 ef 55 e7 3b bc b0 76 06 ea 0e 71 c5 04 4a 05 67 41 c7 75 1c b1 3c 
    63 fc f3 4d 04 46 d1 92 49 0b f3 7c a6 ac 30 f9 0a 38 eb ce 33 91 8c 7f 3a 60 8b 85 61 bc 20 e3 
    93 41 9b 8b 1a e4 3b 2c 81 b7 31 01 88 03 07 15 12 6c 2c db 5d d4 fd e3 93 d7 da 9c 63 61 97 fb 
    b8 c6 3b 7c be f4 80 c6 af e6 43 86 27 bf 40 2a 94 ac 22 c4 9b 15 41 2c c4 b7 40 3b d5 76 2a ce 
    WARNING: Dump truncated.


*** Decoding SCAN Data ***
  OFFSET: 0x00000547
  Scan Decode Mode: Full IDCT (AC + DC)


*** NOTE: YCC Clipped. MCU=( 360,   0) YCC=(   -1,  130,  121) Y Underflow @ Offset 0x010FD363.6
*** NOTE: YCC Clipped. MCU=( 370,   0) YCC=(   -1,  124,  127) Y Underflow @ Offset 0x010FD363.6
*** NOTE: YCC Clipped. MCU=( 374,   0) YCC=(   -1,  143,  124) Y Underflow @ Offset 0x010FD363.6
*** NOTE: YCC Clipped. MCU=( 352,   0) YCC=(   -3,  158,  111) Y Underflow @ Offset 0x010FD363.6
*** NOTE: YCC Clipped. MCU=( 358,   0) YCC=(   -1,  129,  125) Y Underflow @ Offset 0x010FD363.6
*** NOTE: YCC Clipped. MCU=( 361,   0) YCC=(   -1,  134,  122) Y Underflow @ Offset 0x010FD363.6
*** NOTE: YCC Clipped. MCU=( 373,   0) YCC=(   -1,  126,  125) Y Underflow @ Offset 0x010FD363.6
*** NOTE: YCC Clipped. MCU=( 374,   0) YCC=(   -1,  129,  124) Y Underflow @ Offset 0x010FD363.6
*** NOTE: YCC Clipped. MCU=( 356,   0) YCC=(   -3,  131,  124) Y Underflow @ Offset 0x010FD363.6
*** NOTE: YCC Clipped. MCU=( 370,   0) YCC=(   -3,  124,  127) Y Underflow @ Offset 0x010FD363.6
    Only reported first 10 instances of this message...
  Compression stats:
    Compression Ratio: 1222.44:1
    Bits per pixel:     0.02:1

  Huffman code histogram stats:
    Huffman Table: (Dest ID: 0, Class: DC)
      # codes of length 01 bits:        0 (  0%)
      # codes of length 02 bits:    24601 (  4%)
      # codes of length 03 bits:   311336 ( 50%)
      # codes of length 04 bits:    68705 ( 11%)
      # codes of length 05 bits:    84745 ( 14%)
      # codes of length 06 bits:    80803 ( 13%)
      # codes of length 07 bits:    44708 (  7%)
      # codes of length 08 bits:    10897 (  2%)
      # codes of length 09 bits:      389 (  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:   174247 ( 56%)
      # codes of length 03 bits:    55016 ( 18%)
      # codes of length 04 bits:    35466 ( 11%)
      # codes of length 05 bits:    25795 (  8%)
      # codes of length 06 bits:    15161 (  5%)
      # codes of length 07 bits:     6241 (  2%)
      # codes of length 08 bits:     1152 (  0%)
      # codes of length 09 bits:       14 (  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:  8407301 ( 41%)
      # codes of length 03 bits:  2406154 ( 12%)
      # codes of length 04 bits:  3678287 ( 18%)
      # codes of length 05 bits:  2540766 ( 13%)
      # codes of length 06 bits:   431107 (  2%)
      # codes of length 07 bits:  1476286 (  7%)
      # codes of length 08 bits:   838313 (  4%)
      # codes of length 09 bits:   138825 (  1%)
      # codes of length 10 bits:   256469 (  1%)
      # codes of length 11 bits:    37265 (  0%)
      # codes of length 12 bits:    10552 (  0%)
      # codes of length 13 bits:        0 (  0%)
      # codes of length 14 bits:        0 (  0%)
      # codes of length 15 bits:      315 (  0%)
      # codes of length 16 bits:    45040 (  0%)

    Huffman Table: (Dest ID: 1, Class: AC)
      # codes of length 01 bits:        0 (  0%)
      # codes of length 02 bits:   644515 ( 50%)
      # codes of length 03 bits:   202639 ( 16%)
      # codes of length 04 bits:   204259 ( 16%)
      # codes of length 05 bits:   147242 ( 11%)
      # codes of length 06 bits:    60851 (  5%)
      # codes of length 07 bits:     7161 (  1%)
      # codes of length 08 bits:    15576 (  1%)
      # codes of length 09 bits:     6714 (  1%)
      # codes of length 10 bits:     2094 (  0%)
      # codes of length 11 bits:     1229 (  0%)
      # codes of length 12 bits:      182 (  0%)
      # codes of length 13 bits:        0 (  0%)
      # codes of length 14 bits:      468 (  0%)
      # codes of length 15 bits:      251 (  0%)
      # codes of length 16 bits:       34 (  0%)

  YCC clipping in DC:
    Y  component: [<0=   10] [>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=-1084 max= 1061 avg=   -0.6]
    Cb component histo: [min= -625 max=  290 avg=   -3.8]
    Cr component histo: [min= -198 max=  394 avg=  -27.2]

  YCC histogram in DC:
    Y  component histo: [min=   -7 max=  260 avg=   20.3]
    Cb component histo: [min=    0 max=  164 avg=   20.0]
    Cr component histo: [min=    0 max=  177 avg=   17.1]

  RGB histogram in DC (before clip):
    R  component histo: [min=  -30 max=  280 avg=   14.6]
    G  component histo: [min=  -11 max=  269 avg=   22.8]
    B  component histo: [min=  -97 max=  283 avg=   18.5]

  RGB clipping in DC:
    R  component: [<0=582211] [>255= 5450]
    G  component: [<0=30769] [>255= 3754]
    B  component: [<0=2534710] [>255=186337]

  RGB histogram in DC (after clip):
    R  component histo: [min=    0 max=  255 avg=   14.7]
    G  component histo: [min=    0 max=  255 avg=   22.8]
    B  component histo: [min=    0 max=  255 avg=   19.2]

  Average Pixel Luminance (Y):
    Y=[ 20] (range: 0..255)

  Brightest Pixel Search:
    YCC=[ 1061,  102,  -32] RGB=[249,253,255] @ MCU[ 40, 57]

  Finished Decoding SCAN Data
    Number of RESTART markers decoded: 222
    Next position in scan buffer: Offset 0x010FD363.6

 
*** Skipped 1 marker pad bytes ***
*** Marker: ??? (Unknown) (xFF38) ***
  OFFSET: 0x010FD3B4
  WARNING: Unknown marker [0xFF38]
  Stopping decode
  Use [Img Search Fwd/Rev] to locate other valid embedded JPEGs

*** Searching Compression Signatures ***

  Signature:           0124512C758C4EA7689FD76F2327664F
  Signature (Rotated): 01943EFC55D71F0B8BD5172B58D4D1E6
  File Offset:         0 bytes
  Chroma subsampling:  2x2
  EXIF Make/Model:     OK   [samsung] [SM-G930V]
  EXIF Makernotes:     NONE
  EXIF Software:       OK   [G930VVRU2APB5]

  Searching Compression Signatures: (3347 built-in, 0 user(*) )

          EXIF.Make / Software        EXIF.Model                            Quality           Subsamp Match?
          -------------------------   -----------------------------------   ----------------  --------------
     CAM:[Konica Minolta Camera, In] [DiMAGE Z2                          ] [                ] No               
     CAM:[Minolta Co., Ltd.        ] [DiMAGE F100                        ] [                ] No               
     CAM:[NIKON                    ] [E2500                              ] [FINE            ] No               
     CAM:[NIKON                    ] [E5400                              ] [FINE            ] No               
     CAM:[NIKON                    ] [E5700                              ] [FINE            ] No               
     CAM:[NIKON                    ] [E775                               ] [FINE            ] No               
     CAM:[NIKON                    ] [E775                               ] [FINE            ] No               
     CAM:[OLYMPUS CORPORATION      ] [C8080WZ                            ] [                ] No               
     CAM:[SAMSUNG TECHWIN          ] [Pro 815                            ] [                ] No               
     CAM:[SAMSUNG TECHWIN          ] [VLUU NV 7, NV 7                    ] [                ] No               
     CAM:[SAMSUNG TECHWIN          ] [VLUU NV10, NV10                    ] [                ] No               
     CAM:[SONY                     ] [CYBERSHOT                          ] [                ] No               
     CAM:[SONY                     ] [DSC-F828                           ] [                ] No               
     CAM:[SONY                     ] [DSC-F88                            ] [                ] No               
     CAM:[SONY                     ] [DSC-H1                             ] [                ] No               
     CAM:[SONY                     ] [DSC-H2                             ] [                ] No               
     CAM:[SONY                     ] [DSC-H5                             ] [                ] No               
     CAM:[SONY                     ] [DSC-H7                             ] [                ] No               
     CAM:[SONY                     ] [DSC-H9                             ] [                ] No               
     CAM:[SONY                     ] [DSC-L1                             ] [                ] No               
     CAM:[SONY                     ] [DSC-P150                           ] [                ] No               
     CAM:[SONY                     ] [DSC-P200                           ] [                ] No               
     CAM:[SONY                     ] [DSC-R1                             ] [                ] No               
     CAM:[SONY                     ] [DSC-S90                            ] [                ] No               
     CAM:[SONY                     ] [DSC-V1                             ] [                ] No               
     CAM:[SONY                     ] [DSC-W7                             ] [                ] No               
     CAM:[SONY                     ] [SONY                               ] [                ] No               
     SW :[Digital Photo Professiona]                                       [08              ]                  
     SW :[IJG Library              ]                                       [096             ]                  

    The following IJG-based editors also match this signature:
     SW :[GIMP                     ]                                       [096             ]                  
     SW :[IrfanView                ]                                       [096             ]                  
     SW :[idImager                 ]                                       [096             ]                  
     SW :[FastStone Image Viewer   ]                                       [096             ]                  
     SW :[NeatImage                ]                                       [096             ]                  
     SW :[Paint.NET                ]                                       [096             ]                  
     SW :[Photomatix               ]                                       [096             ]                  
     SW :[XnView                   ]                                       [096             ]                  

  NOTE: JFIF COMMENT field is known software
  Based on the analysis of compression characteristics and EXIF metadata:

  ASSESSMENT: Class 1 - Image is processed/edited



*** Additional Info ***
NOTE: Data exists after EOF, range: 0x00000000-0x02FD4343 (50152259 bytes)
There are also several warnings about “unknown markers” etc.

Code: Select all

JPEGsnoop 1.7.5 by Calvin Hass
  http://www.impulseadventure.com/photo/
  -------------------------------------

  Filename: [X:\Test\20160503_133157.jpg]
  Filesize: [50152259] Bytes

Start Offset: 0x0221D020
*** Marker: SOI (xFFD8) ***
  OFFSET: 0x0221D020
 
*** Marker: EXP (Expand Reference Components) (xFFDF) ***
  OFFSET: 0x0221D022
  Header length = 59740
  Expand horizontally = 3
  Expand vertically   = 5
  ERROR: Expand horizontally <Eh> value too large (Actual = 3, Expected <= 1)
  WARNING: Forcing value to [0]
  Resuming decode
  ERROR: Expand vertically <Ev> value too large (Actual = 5, Expected <= 1)
  WARNING: Forcing value to [0]
  Resuming decode
  WARNING: Marker length longer than expected
  Skipping remainder [59736 bytes]
 
ERROR: Expected marker 0xFF, got 0xEC @ offset 0x0222B980. Consider using [Tools->Img Search Fwd/Rev].

*** Exporting JPEG ***
  Exporting from: [X:\Test\20160503_133157.jpg]
  ERROR: Missing marker: EOI
         Aborting export. Consider enabling [Force EOI] or [Ignore Missing EOI] option
RobinBaker
Posts: 2
Joined: Wed May 04, 2016 5:07 pm

Re: File can't be loaded! error with panoramic JPG

Post by RobinBaker »

Checking the "Ignore read errors" Check Box under File > Format Settings did the trick.

Not sure why Samsung doesn't create a clean file. At least now I don't have to use a 2nd JPG viewer to work with photos from my smartphone.

I'm trying to preserve metadata, in particular the GPS Location Settings. Exporting to JPG, as well as using "Save as" strips the GPS information, even though I've specified "Keep EXIF" in the Format Settings. But that's another issue.

Thanks for your help!
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: File can't be loaded! error with panoramic JPG

Post by XnTriq »

RobinBaker wrote:Not sure why Samsung doesn't create a clean file. At least now I don't have to use a 2nd JPG viewer to work with photos from my smartphone.
The JPEG comment in 20160503_133157.jpg says: “File written by Adobe Photoshop¨ 5.0”.
Could it be that it was corrupted during processing?
RobinBaker wrote:I'm trying to preserve metadata, in particular the GPS Location Settings. Exporting to JPG, as well as using "Save as" strips the GPS information, even though I've specified "Keep EXIF" in the Format Settings.
Although I activated Keep EXIF etc. (File » Format settings… » Write) and deactivated Remove all metadata (File » Export… » JPEG), the original's EXIF data (including its GPS tags) wasn't preserved. :-|
kroimon
Posts: 1
Joined: Mon Aug 15, 2016 11:30 am

Re: File can't be loaded! error with panoramic JPG

Post by kroimon »

I also have problems opening panorama images made with a Samsung Galaxy S7.

It works when checking the "Ignore read errors" option, however, the image is then rendered upside down.
This might be a problem reading the corrupted EXIF rotation data?
XnTriq wrote:
RobinBaker wrote:The JPEG comment in 20160503_133157.jpg says: “File written by Adobe Photoshop¨ 5.0”.
Could it be that it was corrupted during processing?
This information is written by the phone itself. The image has not been processed with Photoshop.

I can provide more example images if needed.

Edit: Both the new Windows 10 "Microsoft Photos" app as well as the old-style Windows picture viewer, Paint and paint.net can open the panorama image without problems.

Edit 2: Found some information here: https://forums.adobe.com/thread/2131432
User avatar
xnview
Author of XnView
Posts: 46252
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: File can't be loaded! error with panoramic JPG

Post by xnview »

kroimon wrote: I can provide more example images if needed.
please send me a sample file?
Pierre.
bcyrill
Posts: 1
Joined: Sun Aug 28, 2016 2:54 pm

Re: File can't be loaded! error with panoramic JPG

Post by bcyrill »

@xnview:

There is a sample file in the first post that you can download from Dropbox (No Account required). If you are interested in additional ones just let me know.

I have analyzed the panoramic jpg files created with the Samsung Galaxy S7 camera app and have found out that they are missing the EOI (End of Image) marker. Instead the image content is directly followed by a Samsung specific trailer that contains additional information such as a Unix timestamp or the MP4 recording of the panorama.

As such I wrote a simple python script that analyzes the jpg file and tries to determine the location of the Samsung trailer and then detect if the EOI marker is missing. If it is, the marker is injected and a new file written (<filename>_pano.jpg). The script also allows to dump the Samsung specific data from the jpg file.

The script is on the following GitHub Gist https://gist.github.com/bcyrill/e59fda6 ... 990804b269.

To dump the trailer use the following syntax: "python fix_eoi.py file.jpg dump"
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: File can't be loaded! error with panoramic JPG

Post by XnTriq »

bcyrill wrote:The script is on the following GitHub Gist https://gist.github.com/bcyrill/e59fda6 ... 990804b269.
8) Thanks for sharing, bcyrill !
User avatar
B.Douille
Posts: 292
Joined: Sat Sep 09, 2006 9:25 pm
Location: Hte Savoie - France

Re: File can't be loaded! error with panoramic JPG

Post by B.Douille »

@bcyrill,

The issue is not consistent, nor is the fix you provided, unfortunately. From 17 panoramas recently taken with a Samsung S7 (Edge), 5 of them are correct, no error and EXIF data visible.

For the other 12, trying your script doesn't work, it returns error :
File "C:\Users\Daniel\Downloads\fix_eoi.py", line 97
print "No Panorama info found"
^
SyntaxError: invalid syntax


I tried also to use exiftool -tagsFromFile but most of the EXIF data is gone as a result. I tried also something similar with jhead and result is not better.

I can send samples if you like
Daniel, happy user to manage photo and videos and show them in slideshows for 20 years (Windows 11, Linux Ubuntu and Android)
Post Reply