java.lang.IllegalArgumentException

Bad endianness tag (not 0x4949 or 0x4d4d).

Solutions on the web16005

  • via Oracle Community by 843836, 1 week ago
    Bad endianness tag (not 0x4949 or 0x4d4d).
  • via Oracle Community by 807581, 1 year ago
    Bad endianness tag (not 0x4949 or 0x4d4d).
  • via Coderanch by holger Hahn, 8 months ago
    Bad endianness tag (not 0x4949 or 0x4d4d).
  • Stack trace

    • java.lang.IllegalArgumentException: Bad endianness tag (not 0x4949 or 0x4d4d). at com.sun.media.jai.codec.TIFFDirectory.getNumDirectories(TIFFDirectory.java:588) at com.sun.media.jai.codecimpl.TIFFImageDecoder.getNumPages(TIFFImageDecoder.java:105) at com.sun.media.jai.codecimpl.TIFFImageDecoder.decodeAsRenderedImage(TIFFImageDecoder.java:109) at ConvTifJpg.<init>(ConvTifJpg.java:36) at ConvTifJpg.main(ConvTifJpg.java:24)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago