question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception creating TIFF multi-images larger than 2 GB

See original GitHub issue

Hi, I have an exception when a TIFF file in writing get to 2 GB. Bearing, it seems to me that the standard tiff allows to have files of 4 GB maximum.

I do not know if it’s important, but I’m trying to create a multi-image file.

I used the 3.4.1 version and I had the problem with previous versions.

Thanks in advance.

DO

java.lang.UnsupportedOperationException: Method guessType not implemented for type class java.lang.Long
     at com.twelvemonkeys.imageio.metadata.tiff.TIFFEntry.guessType(TIFFEntry.java:389)
     at com.twelvemonkeys.imageio.metadata.tiff.TIFFEntry.<init>(TIFFEntry.java:64)
     at com.twelvemonkeys.imageio.plugins.tiff.TIFFImageWriter.writePage(TIFFImageWriter.java:372)
     at com.twelvemonkeys.imageio.plugins.tiff.TIFFImageWriter.writeToSequence(TIFFImageWriter.java:950)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
ghostcommented, Feb 14, 2019

Hi Harald,

I just tested your solution … And it works perfectly !! (a file larger than 3 GB (3Go in french 😉)

Thank you very much and good day !

DO

2reactions
ankoncommented, Feb 7, 2019

“Go” seems to be a common way to specify file sizes in French: https://fr.wikipedia.org/wiki/Octet#Multiples_normalisés … 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Re: error opening tiff file 2.2gb and 30000 pixel...
(That is, when scanning to a TIFF that needs to be more than 2GB, that the TIFF is wrong). Can you open that...
Read more >
loading tiff images more than ca. 2 GB: overflow of stripOffests ...
Dear all, With the current ImageJ program, tiff images more than ca. 2 GB is loaded upside-down, even if the StripOffset tag is...
Read more >
TiffMultipageMerge actions - IBM
A multi-page TIFF file has a maximum file size of 4GB. It is possible that files between 2GB and 4GB will not work...
Read more >
Cannot open tiff-files greater than 2GB | PixInsight Forum
I'm trying to open an large tiff-image in Pixinsight. The file is 2.02GB and I got the error: *** Error: TIFF: Seek error...
Read more >
ImageJ Release Notes - NIH
Thanks to Philippe Carl, press shift+alt+n to create a text window with "Run" ... fixed a bug that caused tiff images larger than...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found