[argyllcms] Re: cctiff Maximum File Size Issue?

  • From: Bradley Paulson <brad.paulson@xxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Wed, 10 Jan 2018 19:29:16 -1000

Thanks Graeme. That makes sense.  I recently started producing images at 600 
dpi and I see now that is what is bumping me up against the TIFF max.  I also 
always work in 16 bit color, that plus 4 foot and longer prints produce these 
large file sizes.  

I just finished reprocessing the file from start (RAW) to finish to provide 
some assurance that there was no contamination in my file or workflow, then I 
again ran it through the process.  

Basically I had the same results.  The reprocessed TIFF file size was 3.4 GB.  
Tiffgamut and collink worked fine.  However, I’m got the same error message 
with cctiff.  Oddly, despite the error message, cctiff output a tif file sized 
at 4.29 GB.  I can’t open that file in PS, Preview or Colorsync to see what’s 
going on with it, I guess because it exceeds the maximum TIFF size or is 
otherwise corrupted.  The error messages from those programs are consistent 
with either result.  Looking back at a few past successful device linked runs I 
can see the cctiff output file should be running very close to the 4 GB max.  
So regardless of whether I can make this particular file work, the process I’m 
working with is not going to be sustainable and I need to look at producing 
smaller files. 

To do reduce file size, I think I have two easy options.  

1. One is to convert the file into 8 bit color before running it through 
collink (which my printer will convert to anyway).  With this, the 3.4 GB image 
shrinks in half to 1.7 GB, and I haven’t had any issues with this file size.

2. The other is to go back to printing only at 300 dpi but retaining 16 bit 
color.  With this, the 3.4 GB image shrinks down to 850 MB.  That will probably 
be necessary for the largest prints.

Both choices probably have only marginal differences in quality, but always 
seeking marginal improvements, my guess would be to create headroom by first by 
converting to 8 bit color before sending the file through Argyll CMS, then only 
if needed to produce 300 dpi files.  Any thoughts on that choice?  Is there 
some benefit from sending 16 bit color through the system if the printer 
eventually converts to 8 bit color anyway? 

Thanks again, 

Brad

On Jan 10, 2018, at 12:39 PM, Graeme Gill <graeme@xxxxxxxxxxxxx> wrote:

Bradley Paulson wrote:

Hi,

I am trying to create a device linked profile for a TIFF (in this case, 
Bamboo.tif).  I
am able to make smaller size device linked profiles for a TIFF that is about 
300 KB.
But the files I often work with are often larger.  I am having difficulty 
with a medium
sized file (3.4 GB).  The larger file size appears to be an issue as may be 
my
computer.

Is there a maximum file size for cctiff?

yes, the tiff file format has a limit of 4 GB. There is a version of
tiff that has been extended to 64 bit called BigTIFF, but it would be
necessary to recompile the cctiff source against the BigTIFF library
and check that there aren't limits within the ArgyllCMS code, to be
able to support BigTIFF.

Another possibility is that some limitation of libtiff is being
exceeded, either because the tiff file is not legal, or that
libtiff isn't capable of handling a tiff file at the extreme of
what is legal.

Are you actually working with BigTIFF files ?
If so, what application is generating them ?

Cheers,
      Graeme Gill.




Other related posts: