PDA

View Full Version : [JAVA] Saalvare immagine in tiff senza librerie


franksisca
27-06-2013, 15:51
È possibile salvare una immagine in formato tiff, senza usare librerie esterne?

Tutto quello che ho trovato o non funziona oppure è library dependent

banryu79
28-06-2013, 09:26
Dovresti potertela cavare usando ImageIO, aggiungendo nel classpath l'implementazione fornita da JAI, come spiegato qua (che oltre agli ImageReader e ImageWriter std include anche un plugin per il formato tiff):
http://www.coderanch.com/t/445956/open-source/add-tiff-writer-imageio-package

EDIT:
Il link la riportato è roba che esisteva nell'era pre-Oracle.
Prova con queste due risorse:
http://www.oracle.com/technetwork/java/current-142188.html
e
https://github.com/geosolutions-it/imageio-ext/

franksisca
28-06-2013, 09:50
Dovresti potertela cavare usando ImageIO, aggiungendo nel classpath l'implementazione fornita da JAI, come spiegato qua (che oltre agli ImageReader e ImageWriter std include anche un plugin per il formato tiff):
http://www.coderanch.com/t/445956/open-source/add-tiff-writer-imageio-package

EDIT:
Il link la riportato è roba che esisteva nell'era pre-Oracle.
Prova con queste due risorse:
http://www.oracle.com/technetwork/java/current-142188.html
e
https://github.com/geosolutions-it/imageio-ext/

thanks a lot