DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43118>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43118

           Summary: TIFFImage constructor failed with error "TIFFImage10" on
                    image with Adobe Deflate compression type
           Product: XMLGraphicsCommons
           Version: 1.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Image codecs
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


327:        compression = compField == null ? COMP_NONE : compField.getAsInt(0);

After this assignment field "compression" has unsupported value => 8

I use next workaround:

            if (compField == null)
              compression = COMP_NONE;
            else
            {
              compression = compField.getAsInt(0);

              if (compression == 8) // Adobe Deflate
                compression = COMP_DEFLATE;
            }

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to