Package: jpeginfo
Version: 1.6.0-6

Please note that the documentation is not accurate, since jpeginfo is bound
to the JPEG codestream the underlying libjpeg can actually decode [*]

It should indicate that this is a limited implementation of ITU 81 (only
huffman and sequential lossy 8bits is supported).

[*]

$ jpeginfo JPEGLosslessYBR_FULL_422.jpg
JPEGLosslessYBR_FULL_422.jpg  Unsupported JPEG process: SOF type 0xc3
 [ERROR]

While using jpegdump (dicom3tools), I can see:

Offset 0x0000 Marker 0xffd8 SOI Start of Image
Offset 0x0002 Marker 0xffc3 SOF3 Huffman Lossless Sequential length
variable 0x11
JPEG_SOF_Parameters:
SamplePrecision = 8
nLines = 600
nSamplesPerLine = 800
nComponentsInFrame = 3
component 0
ComponentIdentifier = 0
HorizontalSamplingFactor = 1
VerticalSamplingFactor = 1
QuantizationTableDestinationSelector = 0
component 1
ComponentIdentifier = 1
HorizontalSamplingFactor = 1
VerticalSamplingFactor = 1
QuantizationTableDestinationSelector = 0
component 2
ComponentIdentifier = 2
HorizontalSamplingFactor = 1
VerticalSamplingFactor = 1
QuantizationTableDestinationSelector = 0

Offset 0x0015 Marker 0xffc4 DHT Define Huffman Table(s) length variable
0x1f
JPEG_DHT_Parameters:
TableClass = 0
HuffmanTableIdentifier = 0
nHuffmanCodesOfLength 0 = 0
nHuffmanCodesOfLength 1 = 1
ValueOfHuffmanCode 0 = 0
nHuffmanCodesOfLength 2 = 5
ValueOfHuffmanCode 0 = 1
ValueOfHuffmanCode 1 = 2
ValueOfHuffmanCode 2 = 3
ValueOfHuffmanCode 3 = 4
ValueOfHuffmanCode 4 = 5
nHuffmanCodesOfLength 3 = 1
ValueOfHuffmanCode 0 = 6
nHuffmanCodesOfLength 4 = 1

Reply via email to