Trouble rotating by 180 degrees

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, xnview

Post Reply
MikeTheWatchGuy
Posts: 10
Joined: Wed Aug 22, 2012 11:59 pm

Trouble rotating by 180 degrees

Post by MikeTheWatchGuy » Fri Sep 14, 2012 11:19 pm

I was able to get my runs of nConvert to work fine by using the -rotate command line operation.

I'm getting an exit of -2 now when I use -jpegtrans operation.

I was losing a lot of quality and figured out why.... my JPEG quality level went from 97 to 85 because nConvert's default is 85

So I really would like to get the -jpegtrans rot180 to work for me so that I don't need to hard code the jpeg quality to 97%. And it doesn't hurt that it's a lossless operation as well.

My full command line looks like this:
nConvert -quiet -jpegtrans rot180 "c:\processing folder\Page 001.jpg"


By the way, the way that I'm able to see the quality levels is via a tool called JPEGsnoop. I will write up a post about it separately. Basically, it dumps out all kinds of great stuff about a JPEG file including the quality level. It's been right on the money every time I've used it. I searched for a very long time trying to find something to help me determine a JPEG's quality. Even the image editors didn't show it to me.
I recall having to purchase it and believe the price was quite reasonable. I have NOTHING to do with the company that makes it and am simply sharing a tool that's been a fantastic addition to my library of tools. I rely on it a lot now.

Here is the output from the rotated image using the -rotate command line argument. I rotated it by 180 degrees. My input file was 97%. I am posting the rotated file information that's JPEG quality of 85%, and then the data from the input file which is 97% quality.

The tables and stuff line up correctly in the actual program's output (fixed width fonts).

Once again, this is the "after" data.

Code: Select all

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

  Filename: [C:\Users\mike\Desktop\TheShare\2012 Scans\BB Crystal Catalog #38\Processing\Page  006_1.jpg]
  Filesize: [1231821] Bytes

Start Offset: 0x00000000
*** Marker: SOI (xFFD8) ***
  OFFSET: 0x00000000
 
*** Marker: APP0 (xFFE0) ***
  OFFSET: 0x00000002
  length     = 16
  identifier = [JFIF]
  version    = [1.1]
  density    = 300 x 300 DPI (dots per inch)
  thumbnail  = 0 x 0
 
*** Marker: DQT (xFFDB) ***
  Define a Quantization Table.
  OFFSET: 0x00000014
  Table length = 67
  ----
  Precision=8 bits
  Destination ID=0 (Luminance)
    DQT, Row #0:   5   3   3   5   7  12  15  18 
    DQT, Row #1:   4   4   4   6   8  17  18  17 
    DQT, Row #2:   4   4   5   7  12  17  21  17 
    DQT, Row #3:   4   5   7   9  15  26  24  19 
    DQT, Row #4:   5   7  11  17  20  33  31  23 
    DQT, Row #5:   7  11  17  19  24  31  34  28 
    DQT, Row #6:  15  19  23  26  31  36  36  30 
    DQT, Row #7:  22  28  29  29  34  30  31  30 
    Approx quality factor = 84.93 (scaling=30.13 variance=1.05)
 
*** Marker: DQT (xFFDB) ***
  Define a Quantization Table.
  OFFSET: 0x00000059
  Table length = 67
  ----
  Precision=8 bits
  Destination ID=1 (Chrominance)
    DQT, Row #0:   5   5   7  14  30  30  30  30 
    DQT, Row #1:   5   6   8  20  30  30  30  30 
    DQT, Row #2:   7   8  17  30  30  30  30  30 
    DQT, Row #3:  14  20  30  30  30  30  30  30 
    DQT, Row #4:  30  30  30  30  30  30  30  30 
    DQT, Row #5:  30  30  30  30  30  30  30  30 
    DQT, Row #6:  30  30  30  30  30  30  30  30 
    DQT, Row #7:  30  30  30  30  30  30  30  30 
    Approx quality factor = 84.93 (scaling=30.15 variance=0.29)
 
*** Marker: SOF0 (Baseline DCT) (xFFC0) ***
  OFFSET: 0x0000009E
  Frame header length = 17
  Precision = 8
  Number of Lines = 3300
  Samples per Line = 2550
  Image Size = 2550 x 3300
  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: 0x000000B1
  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

 
*** Marker: DHT (Define Huffman Table) (xFFC4) ***
  OFFSET: 0x000000D2
  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

 
*** Marker: DHT (Define Huffman Table) (xFFC4) ***
  OFFSET: 0x00000189
  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

 
*** Marker: DHT (Define Huffman Table) (xFFC4) ***
  OFFSET: 0x000001AA
  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

 
*** Marker: SOS (Start of Scan) (xFFDA) ***
  OFFSET: 0x00000261
  Scan header length = 12
  Number of img components = 3
    Component[1]: selector=0x01, table=0x00
    Component[2]: selector=0x02, table=0x11
    Component[3]: selector=0x03, table=0x11
  Spectral selection = 0 .. 63
  Successive approximation = 0x00


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

  Scan Data encountered marker   0xFFD9 @ 0x0012CBCB.0

  Compression stats:
    Compression Ratio: 20.50:1
    Bits per pixel:     1.17:1

  Huffman code histogram stats:
    Huffman Table: (Dest ID: 0, Class: DC)
      # codes of length 01 bits:        0 (  0%)
      # codes of length 02 bits:    25882 ( 20%)
      # codes of length 03 bits:    93681 ( 71%)
      # codes of length 04 bits:     4136 (  3%)
      # codes of length 05 bits:     5248 (  4%)
      # codes of length 06 bits:     3533 (  3%)
      # 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:    59400 ( 90%)
      # codes of length 03 bits:     4248 (  6%)
      # codes of length 04 bits:     1881 (  3%)
      # codes of length 05 bits:      668 (  1%)
      # codes of length 06 bits:       43 (  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:   834736 ( 49%)
      # codes of length 03 bits:    64915 (  4%)
      # codes of length 04 bits:   396470 ( 23%)
      # codes of length 05 bits:   178817 ( 10%)
      # codes of length 06 bits:    96195 (  6%)
      # codes of length 07 bits:    67372 (  4%)
      # codes of length 08 bits:    35137 (  2%)
      # codes of length 09 bits:    22339 (  1%)
      # codes of length 10 bits:     8962 (  1%)
      # codes of length 11 bits:     3702 (  0%)
      # codes of length 12 bits:     1270 (  0%)
      # codes of length 13 bits:        0 (  0%)
      # codes of length 14 bits:        0 (  0%)
      # codes of length 15 bits:      231 (  0%)
      # codes of length 16 bits:     2894 (  0%)

    Huffman Table: (Dest ID: 1, Class: AC)
      # codes of length 01 bits:        0 (  0%)
      # codes of length 02 bits:    93201 ( 70%)
      # codes of length 03 bits:    10324 (  8%)
      # codes of length 04 bits:    15928 ( 12%)
      # codes of length 05 bits:     5855 (  4%)
      # codes of length 06 bits:     4249 (  3%)
      # codes of length 07 bits:      468 (  0%)
      # codes of length 08 bits:     2152 (  2%)
      # codes of length 09 bits:      827 (  1%)
      # codes of length 10 bits:      252 (  0%)
      # codes of length 11 bits:       31 (  0%)
      # codes of length 12 bits:        2 (  0%)
      # codes of length 13 bits:        0 (  0%)
      # codes of length 14 bits:        2 (  0%)
      # codes of length 15 bits:        0 (  0%)
      # codes of length 16 bits:       16 (  0%)

  YCC clipping in DC:
    Y  component: [<0=    0] [>255=    0]
    Cb component: [<0=    0] [>255=    0]
    Cr component: [<0=    0] [>255=    0]

  RGB clipping in DC:
    R  component: [<0=    0] [>255=    0]
    G  component: [<0=    0] [>255=    0]
    B  component: [<0=    0] [>255=    0]

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

  Brightest Pixel Search:
    YCC=[ 1068,  -84,   38] RGB=[255,255,235] @ MCU[ 79,125]

  Finished Decoding SCAN Data
    Number of RESTART markers decoded: 0
    Next position in scan buffer: Offset 0x0012CBCA.1

 
*** Marker: EOI (End of Image) (xFFD9) ***
  OFFSET: 0x0012CBCB


*** Searching Compression Signatures ***

  Signature:           0155D875C95B74D0F3C5835A62516F48
  Signature (Rotated): 01D38A25358EB7649A254E19F1D46600
  File Offset:         0 bytes
  Chroma subsampling:  2x2
  EXIF Make/Model:     NONE
  EXIF Makernotes:     NONE
  EXIF Software:       NONE

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

          EXIF.Make / Software        EXIF.Model                            Quality           Subsamp Match?
          -------------------------   -----------------------------------   ----------------  --------------
     CAM:[NIKON                    ] [E2500                              ] [FINE            ] No               
     CAM:[Nokia                    ] [N73                                ] [                ] No               
     CAM:[OLYMPUS OPTICAL CO.,LTD  ] [C2000Z                             ] [                ] No               
     CAM:[OLYMPUS OPTICAL CO.,LTD  ] [C3040Z                             ] [                ] No               
     CAM:[PENTAX                   ] [PENTAX Optio 550                   ] [                ] No               
     CAM:[Research In Motion       ] [BlackBerry 8100                    ] [                ] No               
     CAM:[SEIKO EPSON CORP.        ] [PhotoPC 3000Z                      ] [                ] No               
     SW :[IJG Library              ]                                       [085             ]                  
     SW :[Picasa                   ]                                       [085 (Normal)    ]                  
     SW :[ZoomBrowser EX           ]                                       [medium          ]                  

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

  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]

=====================================================================================================================================

This is the information from my input file which is 97%


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

  Filename: [C:\Users\mike\Desktop\TheShare\2012 Scans\BB Crystal Catalog #38\Processing\Page  006.jpg]
  Filesize: [5218216] Bytes

Start Offset: 0x00000000
*** Marker: SOI (xFFD8) ***
  OFFSET: 0x00000000
 
*** Marker: APP0 (xFFE0) ***
  OFFSET: 0x00000002
  length     = 16
  identifier = [JFIF]
  version    = [1.0]
  density    = 300 x 300 DPI (dots per inch)
  thumbnail  = 0 x 0
 
*** Marker: COM (Comment) (xFFFE) ***
  OFFSET: 0x00000014
  Comment length = 31
    Comment=LEAD Technologies Inc. V1.01.
 
*** Marker: DQT (xFFDB) ***
  Define a Quantization Table.
  OFFSET: 0x00000035
  Table length = 67
  ----
  Precision=8 bits
  Destination ID=0 (Luminance)
    DQT, Row #0:   2   2   2   2   2   2   2   2 
    DQT, Row #1:   2   2   2   2   2   2   2   2 
    DQT, Row #2:   2   2   2   2   2   2   2   2 
    DQT, Row #3:   2   2   2   2   2   2   2   2 
    DQT, Row #4:   2   2   2   2   2   2   2   2 
    DQT, Row #5:   2   2   2   2   2   2   2   2 
    DQT, Row #6:   2   2   2   2   2   2   2   2 
    DQT, Row #7:   2   2   2   2   2   2   2   2 
    Approx quality factor = 97.01 (scaling=5.99 variance=24.54)
 
*** Marker: DHT (Define Huffman Table) (xFFC4) ***
  OFFSET: 0x0000007A
  Huffman table length = 418
  ----
  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

  ----
  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

  ----
  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

  ----
  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

 
*** Marker: SOF0 (Baseline DCT) (xFFC0) ***
  OFFSET: 0x0000021E
  Frame header length = 17
  Precision = 8
  Number of Lines = 3300
  Samples per Line = 2550
  Image Size = 2550 x 3300
  Raw Image Orientation = Portrait
  Number of Img components = 3
    Component[1]: ID=0x01, Samp Fac=0x11 (Subsamp 1 x 1), Quant Tbl Sel=0x00 (Lum: Y)
    Component[2]: ID=0x02, Samp Fac=0x11 (Subsamp 1 x 1), Quant Tbl Sel=0x00 (Chrom: Cb)
    Component[3]: ID=0x03, Samp Fac=0x11 (Subsamp 1 x 1), Quant Tbl Sel=0x00 (Chrom: Cr)
 
*** Marker: SOS (Start of Scan) (xFFDA) ***
  OFFSET: 0x00000231
  Scan header length = 12
  Number of img components = 3
    Component[1]: selector=0x01, table=0x00
    Component[2]: selector=0x02, table=0x11
    Component[3]: selector=0x03, table=0x11
  Spectral selection = 0 .. 63
  Successive approximation = 0x00


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

  Scan Data encountered marker   0xFFD9 @ 0x004F9FA6.0

  Compression stats:
    Compression Ratio:  4.84:1
    Bits per pixel:     4.96:1

  Huffman code histogram stats:
    Huffman Table: (Dest ID: 0, Class: DC)
      # codes of length 01 bits:        0 (  0%)
      # codes of length 02 bits:    10801 (  8%)
      # codes of length 03 bits:   106401 ( 81%)
      # codes of length 04 bits:     2564 (  2%)
      # codes of length 05 bits:     3605 (  3%)
      # codes of length 06 bits:     4420 (  3%)
      # codes of length 07 bits:     3582 (  3%)
      # codes of length 08 bits:      374 (  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:   215278 ( 82%)
      # codes of length 03 bits:    25077 ( 10%)
      # codes of length 04 bits:    10581 (  4%)
      # codes of length 05 bits:     9272 (  4%)
      # codes of length 06 bits:     2917 (  1%)
      # codes of length 07 bits:      369 (  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:  3707323 ( 62%)
      # codes of length 03 bits:   372376 (  6%)
      # codes of length 04 bits:   867279 ( 15%)
      # codes of length 05 bits:   624760 ( 10%)
      # codes of length 06 bits:   107642 (  2%)
      # codes of length 07 bits:   103240 (  2%)
      # codes of length 08 bits:   112632 (  2%)
      # codes of length 09 bits:    32870 (  1%)
      # codes of length 10 bits:    24248 (  0%)
      # codes of length 11 bits:     4650 (  0%)
      # codes of length 12 bits:     2854 (  0%)
      # codes of length 13 bits:        0 (  0%)
      # codes of length 14 bits:        0 (  0%)
      # codes of length 15 bits:      122 (  0%)
      # codes of length 16 bits:     2307 (  0%)

    Huffman Table: (Dest ID: 1, Class: AC)
      # codes of length 01 bits:        0 (  0%)
      # codes of length 02 bits:   974058 ( 41%)
      # codes of length 03 bits:   175602 (  7%)
      # codes of length 04 bits:   397243 ( 17%)
      # codes of length 05 bits:   352849 ( 15%)
      # codes of length 06 bits:   212478 (  9%)
      # codes of length 07 bits:    70754 (  3%)
      # codes of length 08 bits:    62522 (  3%)
      # codes of length 09 bits:    76460 (  3%)
      # codes of length 10 bits:    27022 (  1%)
      # codes of length 11 bits:     9902 (  0%)
      # codes of length 12 bits:      304 (  0%)
      # codes of length 13 bits:        0 (  0%)
      # codes of length 14 bits:     8655 (  0%)
      # codes of length 15 bits:     6653 (  0%)
      # codes of length 16 bits:      511 (  0%)

  YCC clipping in DC:
    Y  component: [<0=    0] [>255=    0]
    Cb component: [<0=    0] [>255=    0]
    Cr component: [<0=    0] [>255=    0]

  RGB clipping in DC:
    R  component: [<0=    0] [>255=    0]
    G  component: [<0=    0] [>255=    0]
    B  component: [<0=    0] [>255=    0]

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

  Brightest Pixel Search:
    YCC=[ 1010,  -18,  -17] RGB=[249,255,248] @ MCU[222,409]

  Finished Decoding SCAN Data
    Number of RESTART markers decoded: 0
    Next position in scan buffer: Offset 0x004F9FA5.3

 
*** Marker: EOI (End of Image) (xFFD9) ***
  OFFSET: 0x004F9FA6


*** Searching Compression Signatures ***

  Signature:           01E4DEC5DF580F8461F51E4430A0C612
  Signature (Rotated): 01E4DEC5DF580F8461F51E4430A0C612
  File Offset:         0 bytes
  Chroma subsampling:  1x1
  EXIF Make/Model:     NONE
  EXIF Makernotes:     NONE
  EXIF Software:       NONE

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

          EXIF.Make / Software        EXIF.Model                            Quality           Subsamp Match?
          -------------------------   -----------------------------------   ----------------  --------------
     SW :[IMatch                   ]                                       [098             ]                  
     SW :[IMatch                   ]                                       [099             ]                  
     SW :[IMatch                   ]                                       [100             ]                  

  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]

User avatar
xnview
Author of XnView
Posts: 31747
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Trouble rotating by 180 degrees

Post by xnview » Mon Sep 17, 2012 6:44 am

Strange because jpeg data are not re-compressed with jpegtrans
Pierre.

Post Reply