Maximum TIFF file size 4GB
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Enblend |
Fix Committed
|
Wishlist
|
Unassigned |
Bug Description
Hi there!
After running for 2 days the enblend binary that I compiled myself from the enblend sources revision 1049 failed with this error:
enblend: info: writing final output
enblend: error: Maximum TIFF file size exceeded
enblend: an exception occured
enblend:
Postcondition violation!
exportImage(): Unable to write TIFF data.
(/build/
enblend: info: remove invalid output image "x1.tif"
=======
I've used these parameters: --compression=LZW --verbose --output=x1.tif
The output pixel dimensions would have been 119598 * 17362 =
2076460476 which is still well within the 2^31 pixel count limit =
2147483648
In the bug report #685105 I've mentioned that I've run into this problem before, and back then Jeff Hungerford (hungerf3) told me:
"If you are seeing that error, either the TIFF library you linked against doesn't support bigTIFF, or for some reason it decided to only use the old format."
It would be very kind of you if you could guide my way how to compile enblend (and libtiff?) in a way that enblend will not fail when the output exceeds 4GB in file size.
Or is there maybe a way to use another output format then tif to workaround this problem? (With Gimp I like to use png for images that are too big for 4GB tif, it has the same problem of failing to save >4GB tiffs for me)
Changed in enblend: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Okey, so I found this: drgutman. org/compiling- libtiff- on-ubuntu/
http://
and will try to follow this guide when I'll get home tonight. I won't be able to tell you if it worked for a few days, since it takes a while to make such a huge picture to run into the 4GB limit.