Thank you.
Is there a way to extract these pages without recompressing (lossless)?
Moderators: helmut, XnTriq, xnview, Dreamer
Currently notcorr wrote: Thu Jul 01, 2021 4:50 pm Is there a way to extract these pages without recompressing (lossless)?
@corr:
A file recompressed using a lossless compression method should have identical quality to the original file...
For colour and grayscale images, when file size is a significant consideration JPEG compression is usually the only practical option.I can only decide between much bigger files (lossless format) or decreasing quality (recompress again with lossy jpeg).
My multipage file is having grayscale and color pages. Last ones seem to be compressed with jpeg.
I don't have a solution, but maybe this info is of interest to you:corr wrote: Fri Jul 02, 2021 7:31 amYes, lossless but not without *recompression*. I can only decide between much bigger files (lossless format) or decreasing quality (recompress again with lossy jpeg).
My multipage file is having grayscale and color pages. Last ones seem to be compressed with jpeg.
https://www.leadtools.com/support/forum/posts/t10960-Sample-File--LZW-compressed-multi-page-TIFF#post41249 wrote:The attached TIFF file contains 11 pages, each of which is encoded differently from all the other pages. The pages are, in order:
1- Uncompressed RGB
2- Uncompressed CMYK
3- JPEG 2000 compression
4- JPEG 4:1:1 compression
5- JBIG compression
6- RLE Packbits compression
7- CMYK with RLE Packbits compression
8- YCC with RLE Packbits compression
9- LZW compression
10- CCITT Group 4 compression
11- CCITT Group 3 2-D compression
TiffToy Dump of MultipleFormats.tif wrote:Code: Select all
Page 1 TIFF Directory at offset 0x8 Subfile Type: multi-page document (2 = 0x2) Image Width: 600 Image Length: 75 Resolution: 150, 150 pixels/inch Bits/Sample: 1 Compression Scheme: None Photometric Interpretation: min-is-black Orientation: row 0 top, col 0 lhs Samples/Pixel: 1 Rows/Strip: 75 Planar Configuration: single image plane Page Number: 0-0 Page 1 TIFF Directory at offset 0x16d8 Subfile Type: multi-page document (2 = 0x2) Image Width: 600 Image Length: 75 Resolution: 150, 150 pixels/inch Bits/Sample: 8 Compression Scheme: None Photometric Interpretation: separated Orientation: row 0 top, col 0 lhs Samples/Pixel: 4 Rows/Strip: 75 Planar Configuration: single image plane Page Number: 1-0 Page 2 TIFF Directory at offset 0x2d6d6 Subfile Type: multi-page document (2 = 0x2) Image Width: 600 Image Length: 75 Resolution: 150, 150 pixels/inch Bits/Sample: 8 Compression Scheme: 34712 (0x8798) Photometric Interpretation: RGB color Orientation: row 0 top, col 0 lhs Samples/Pixel: 3 Rows/Strip: 75 Planar Configuration: single image plane Page Number: 2-0 Page 3 TIFF Directory at offset 0x2f8ee Subfile Type: multi-page document (2 = 0x2) Image Width: 600 Image Length: 75 Resolution: 150, 150 pixels/inch Bits/Sample: 8 Compression Scheme: JPEG Photometric Interpretation: YCbCr YCbCr Subsampling: 2, 2 YCbCr Positioning: cosited Orientation: row 0 top, col 0 lhs Samples/Pixel: 3 Rows/Strip: 75 Planar Configuration: single image plane Page Number: 3-0 Reference Black/White: 0: 0 255 1: 128 255 2: 128 255 Tag 512: 1 Tag 513: 195150 Tag 514: 9399 Tag 515: 0 Page 4 TIFF Directory at offset 0x31f06 Subfile Type: multi-page document (2 = 0x2) Image Width: 600 Image Length: 75 Resolution: 150, 150 pixels/inch Bits/Sample: 1 Compression Scheme: ISO JBIG Photometric Interpretation: min-is-black Orientation: row 0 top, col 0 lhs Samples/Pixel: 1 Rows/Strip: 75 Planar Configuration: single image plane Page Number: 4-0 Page 5 TIFF Directory at offset 0x32114 Subfile Type: multi-page document (2 = 0x2) Image Width: 600 Image Length: 75 Resolution: 150, 150 pixels/inch Bits/Sample: 8 Compression Scheme: PackBits Photometric Interpretation: RGB color Orientation: row 0 top, col 0 lhs Samples/Pixel: 3 Rows/Strip: 75 Planar Configuration: single image plane Page Number: 5-0 Page 6 TIFF Directory at offset 0x331e8 Subfile Type: multi-page document (2 = 0x2) Image Width: 600 Image Length: 75 Resolution: 150, 150 pixels/inch Bits/Sample: 8 Compression Scheme: PackBits Photometric Interpretation: separated Orientation: row 0 top, col 0 lhs Samples/Pixel: 4 Rows/Strip: 75 Planar Configuration: single image plane Page Number: 6-0 Page 7 TIFF Directory at offset 0x5f1e6 Subfile Type: multi-page document (2 = 0x2) Image Width: 600 Image Length: 75 Resolution: 150, 150 pixels/inch Bits/Sample: 8 Compression Scheme: PackBits Photometric Interpretation: YCbCr YCbCr Subsampling: 2, 1 YCbCr Positioning: cosited Orientation: row 0 top, col 0 lhs Samples/Pixel: 3 Rows/Strip: 75 Planar Configuration: single image plane Page Number: 7-0 Reference Black/White: 0: 0 255 1: 128 255 2: 128 255 Page 8 TIFF Directory at offset 0x75594 Subfile Type: multi-page document (2 = 0x2) Image Width: 600 Image Length: 75 Resolution: 150, 150 pixels/inch Bits/Sample: 1 Compression Scheme: LZW Photometric Interpretation: min-is-black Orientation: row 0 top, col 0 lhs Samples/Pixel: 1 Rows/Strip: 75 Planar Configuration: single image plane Page Number: 8-0 Page 9 TIFF Directory at offset 0x758ea Subfile Type: multi-page document (2 = 0x2) Image Width: 600 Image Length: 75 Resolution: 150, 150 pixels/inch Bits/Sample: 1 Compression Scheme: CCITT Group 4 Photometric Interpretation: min-is-white FillOrder: msb-to-lsb Orientation: row 0 top, col 0 lhs Samples/Pixel: 1 Rows/Strip: 75 Planar Configuration: single image plane Page Number: 9-0 Group 4 Options: (0 = 0x0) Page 10 TIFF Directory at offset 0x75b78 Subfile Type: multi-page document (2 = 0x2) Image Width: 600 Image Length: 75 Resolution: 150, 150 pixels/inch Bits/Sample: 1 Compression Scheme: CCITT Group 3 Photometric Interpretation: min-is-white FillOrder: msb-to-lsb Orientation: row 0 top, col 0 lhs Samples/Pixel: 1 Rows/Strip: 75 Planar Configuration: single image plane Page Number: 10-0 Group 3 Options: 2-d encoding+EOL padding (5 = 0x5)