Git Product home page Git Product logo

Comments (4)

jsorah avatar jsorah commented on June 22, 2024 1

@andreasrosdal I pulled the latest master version and ran it on my code and it is working correctly now.

Unfortunately I do not have many suggestions on how to improve this - it certainly makes the most sense to offload this piece to another project. I think the downside is that commons-imaging has been "in progress" for many years at this point.

Thanks for looking at this so quickly, I just wanted to note the issue and not so much make you feel like you had to fix it :-).

from openpdf.

andreasrosdal avatar andreasrosdal commented on June 22, 2024

Yes, the reason for this is that images are now read by Apache Sanselan (Commons Imaging), which seems to be unable to read those types of TIFF images.

from openpdf.

andreasrosdal avatar andreasrosdal commented on June 22, 2024

I have been able to reproduce this problem with loading .TIFF files with group 3/4, with Apache Sanselan version 0.97-incubator.

I have tested Apache Commons Imaging version 1.0-SNAPSHOT, and that was fortunately able to load a .TIFF image with Group 3 correctly. So in time, this will work correctly, once Apache Commons Imaging has a proper maven release to the public maven repo.

I have updated the master branch of OpenPDF to use Apache Commons Imaging version 1.0-SNAPSHOT.

@jsorah Can you perhaps please try the latest master branch and see if that works correctly?
Do you have any suggestions about how to improve this? The old method of loading .tiff files had to be removed, and this project must use a software library to load .tiff files from now on.

from openpdf.

andreasrosdal avatar andreasrosdal commented on June 22, 2024

As described in issue #92, a new release of Commons-Imaging is likely to come very soon,
accoding to my request on the Commons mailinglist: http://mail-archives.apache.org/mod_mbox/commons-dev/201808.mbox/browser

(Closing as a duplicate of #92).

from openpdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.