dragon66 / icafe

Java library for reading, writing, converting and manipulating images and metadata
Eclipse Public License 1.0
204 stars 58 forks source link

javax.media:jai_imageio:1.1 FAILED #64

Open ben-manes opened 6 years ago

ben-manes commented 6 years ago

Due to maven.geotoolkit.org being down, this dependency cannot be resolved. It might be worth using the dependency from a more reliable repository, such as Central. That version, sadly, does not include the jar. There a release on JBoss' though.

There also appears to a fork (new package) that is being maintained. Perhaps that would be useful for bug fixes and being available on Central and JCenter.

dragon66 commented 6 years ago

This dependency on jai_imageio has long been bothering me and I have been trying to finish my own TIFF decoder for a very long time. Unfortunately I have been too busy to finish this.

As a result, ICAFE itself cannot handle all/most of the tiff variations so for the time being, we still have to rely on third party library to read TIFF.

I took a look at the links you put and maybe the fork (new package) will work. Will have to test it later sometime.

ben-manes commented 6 years ago

I switched to the JBoss version for the time being, which passed my basic jpeg->tiff test.

dragon66 commented 6 years ago

Did you read jpeg and save to tiff? That will not need the library at all. Reading jpeg is using basic ImageIO and saving to tiff is using icafe. The library is only needed when reading tiff.

ben-manes commented 6 years ago

Oh sorry, my use-case is only to write multi-page TIFFs for customer integrations. I tweaked the test a bit to read from a TIFF file and it worked. So promising workaround until you have a preferred solution.

abdullaunais commented 6 years ago

Is there a way i can get the required jars so that i can manually import them for the time being..?

dragon66 commented 6 years ago

@abdullaunais are you referring to the imageio jar? it is located in the lib folder.

abdullaunais commented 6 years ago

Oh. found it. thanks.

phillipjohnson commented 3 years ago

I believe since Java 9 there is native TIFF support.

Another option might be the TwelveMonkeys library which "is a collection of plugins and extensions for Java's ImageIO."