AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2007.07.12 13:56 "[Tiff] tiffcp limitation", by
2007.07.16 10:50 "Re: [Tiff] tiffcp limitation", by
2007.07.16 12:20 "Re: [Tiff] tiffcp limitation", by Joris

2007.07.12 13:56 "[Tiff] tiffcp limitation", by

Hi, I have already post for this problem. But I would try again with another tiff files before answer. And now my latest post was erased. :-(

Then when I use tiffcp I hold this error: Error, can't allocate space for image buffer

call: tiffcp.exe -p contig -c jpeg:r -t ../images/165323.tif ../resultat/copy.tif

and tiff 165323.tif description:

Construction page default0
Open page: 0
Component Organisation[0:Tile][1:Strip]: 0
Page tiffP.width: 38000 Page length: 16866
Component width: 240 Component length: 240
Color mode: 3
planar config: 1
 Page Number: 0
 Page Width: 38000
 Page Heigth: 16866
 Compression: LZW Compression
  Photometric Interpretation: RGB (0,0,0): black, (255,255,255): white
 Bits per sample: 8
 Color Mode 'sample per pixels': 3
 Planar config: Continue (RGBRGBRGB)
 Pixel organisation: Tiles
 Tile width: 240
 Tile Height: 240
 Image Description: none
 Display resolution in non specifie
 X Resolution: 0
 Y Resolution: 0

Construction page default1
Open page: 1
Component Organisation[0:Tile][1:Strip]: 1
Page tiffP.width: 1024 Page length: 454
Component width: 1024 Component length: 2
Color mode: 3
planar config: 1
 Page Number: 1
 Page Width: 1024
 Page Heigth: 454
 Compression: LZW Compression
  Photometric Interpretation: RGB (0,0,0): black, (255,255,255): white
 Bits per sample: 8
 Color Mode 'sample per pixels': 3
 Planar config: Continue (RGBRGBRGB)
 Pixel organisation: Strips
 Row Per Strip: 3
 Image Description: none
 Display resolution in non specifie
 X Resolution: 0
 Y Resolution: 0

Construction page default2
Open page: 2
Component Organisation[0:Tile][1:Strip]: 0
Page tiffP.width: 9500 Page length: 4216
Component width: 240 Component length: 240
Color mode: 3
planar config: 1
 Page Number: 2
 Page Width: 9500
 Page Heigth: 4216
 Compression: LZW Compression
  Photometric Interpretation: RGB (0,0,0): black, (255,255,255): white
 Bits per sample: 8
 Color Mode 'sample per pixels': 3
 Planar config: Continue (RGBRGBRGB)
 Pixel organisation: Tiles
 Tile width: 240
 Tile Height: 240
 Image Description: none
 Display resolution in non specifie
 X Resolution: 0
 Y Resolution: 0

Construction page default3
Open page: 3
Component Organisation[0:Tile][1:Strip]: 0
Page tiffP.width: 2375 Page length: 1054
Component width: 240 Component length: 240
Color mode: 3
planar config: 1
 Page Number: 3
 Page Width: 2375
 Page Heigth: 1054
 Compression: LZW Compression
  Photometric Interpretation: RGB (0,0,0): black, (255,255,255): white
 Bits per sample: 8
 Color Mode 'sample per pixels': 3
 Planar config: Continue (RGBRGBRGB)
 Pixel organisation: Tiles
 Tile width: 240
 Tile Height: 240
 Image Description: none
 Display resolution in non specifie
 X Resolution: 0
 Y Resolution: 0

Construction page default4
Open page: 4
Component Organisation[0:Tile][1:Strip]: 1
Page tiffP.width: 436 Page length: 476
Component width: 436 Component length: 6
Color mode: 3
planar config: 1
 Page Number: 4
 Page Width: 436
 Page Heigth: 476
 Compression: LZW Compression
  Photometric Interpretation: RGB (0,0,0): black, (255,255,255): white
 Bits per sample: 8
 Color Mode 'sample per pixels': 3
 Planar config: Continue (RGBRGBRGB)
 Pixel organisation: Strips
 Row Per Strip: 3
 Image Description: none
 Display resolution in non specifie
 X Resolution: 0
 Y Resolution: 0

Construction page default5
Open page: 5
Component Organisation[0:Tile][1:Strip]: 1
Page tiffP.width: 1280 Page length: 448
Component width: 1280 Component length: 16
Color mode: 3
planar config: 1
 Page Number: 5
 Page Width: 1280
 Page Heigth: 448
 Compression: Jpeg 'new-style' Compression
  Jpeg Quality: 75
  Jpeg Color Mode: 0
 Photometric Interpretation: RGB (0,0,0): black, (255,255,255): white
 Bits per sample: 8
 Color Mode 'sample per pixels': 3
 Planar config: Continue (RGBRGBRGB)
 Pixel organisation: Strips
 Row Per Strip: 3
 Image Description: none
 Display resolution in non specifie
 X Resolution: 0
 Y Resolution: 0

If I copy only page 0 I obtain same error message. Tiff size is 1.7Gb. Maybe must I write my own tiffcp?

libtiff 3.8.2

Thanks.

Thibaut