[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-03 Thread Kamil (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16424409#comment-16424409 ] Kamil commented on PDFBOX-4176: --- Thanks! > PDImageXObject doesn't support TIFF although JavaDoc says it

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-03 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16424303#comment-16424303 ] Tilman Hausherr commented on PDFBOX-4176: - It turned out to be easier than I thought - just catch

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-03 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16424297#comment-16424297 ] ASF subversion and git services commented on PDFBOX-4176: - Commit 1828259 from

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-03 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16424296#comment-16424296 ] ASF subversion and git services commented on PDFBOX-4176: - Commit 1828258 from

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-02 Thread Kamil (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16423064#comment-16423064 ] Kamil commented on PDFBOX-4176: --- that would be great! Thanks [~tilman] > PDImageXObject doesn't support

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-02 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16423032#comment-16423032 ] Tilman Hausherr commented on PDFBOX-4176: - I have to admit that yes, a user would expect that

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-02 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16423022#comment-16423022 ] Tilman Hausherr commented on PDFBOX-4176: - ImageIO can't read CMYK jpeg images directly. You can

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-02 Thread Kamil (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16422988#comment-16422988 ] Kamil commented on PDFBOX-4176: --- Ok, this is even more tricky... {code:java} final PDImageXObject jpeg =

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-02 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16422934#comment-16422934 ] Tilman Hausherr commented on PDFBOX-4176: - The part that it is recognized as ARW can be fixed

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-02 Thread Kamil (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16422921#comment-16422921 ] Kamil commented on PDFBOX-4176: --- {quote}Because there's a bug in the file type detector. {quote} Can bug in

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-02 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16422206#comment-16422206 ] Tilman Hausherr commented on PDFBOX-4176: - There's an issue on github... if it hasn't been fixed

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-02 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16422117#comment-16422117 ] Tilman Hausherr commented on PDFBOX-4176: - ("CCITT T4 or T6" is the same as "G3 or G4

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-02 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16422115#comment-16422115 ] Tilman Hausherr commented on PDFBOX-4176: - Ooops, I think you're asking about "First image in

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-02 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16422113#comment-16422113 ] Tilman Hausherr commented on PDFBOX-4176: - Because there's a bug in the file type detector. The

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-02 Thread Kamil (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16422103#comment-16422103 ] Kamil commented on PDFBOX-4176: --- So how ImageIO.read(file) can read it correctly?   > PDImageXObject

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-02 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16422101#comment-16422101 ] Tilman Hausherr commented on PDFBOX-4176: - The file is misidentified as ARW. Even if this bug

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-02 Thread Kamil (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16422088#comment-16422088 ] Kamil commented on PDFBOX-4176: --- By the way - if I use this workaround, it works fine: {code} private

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-02 Thread Kamil (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16422084#comment-16422084 ] Kamil commented on PDFBOX-4176: --- To check it, you can use the code from this issue:

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-02 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16422067#comment-16422067 ] Tilman Hausherr commented on PDFBOX-4176: - Alternatively, use

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-02 Thread Maruan Sahyoun (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16422066#comment-16422066 ] Maruan Sahyoun commented on PDFBOX-4176: Could you test with

[jira] [Commented] (PDFBOX-4176) PDImageXObject doesn't support TIFF although JavaDoc says it does

2018-04-02 Thread Tilman Hausherr (JIRA)
[ https://issues.apache.org/jira/browse/PDFBOX-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16422065#comment-16422065 ] Tilman Hausherr commented on PDFBOX-4176: - Could you please attach the file? The exception