java image reading libraries - java

I am searching for java libraries which
are able to load/read many image formats
don't want installation
are platform independent
and are not one of these (ImageIO, JAI, Sanselan)
Thank you in advance!

Maybe use ImageJ? At the university we have written plugins for it (a few years ago), but I think you can also use it as a library.

Related

JPen alternative for Java program

I want to develop a small Java program using some input like the pen of a Wacom graphictablet and found only the very active JPen project but are there some more possible alternatives without JNI or JNA (without any additional needed dll files), a pure Java implementation?
You can take a look at JTablet. From another SO thread.
It seems JPen moved to GitHub and this might be the best solution at the moment.
The other alternative solutions are not developed and maintained anymore.
https://github.com/nicarran/jpen

java netcdf 4 tutorial

I am using the latest netcdf jar library from unidata website here: http://www.unidata.ucar.edu/downloads/netcdf/index.jsp
I am looking for a java netcdf 4 tutorial/example but I can't seem to find one on their website or anywhere else for that matter. Version 4 is significantly different than the previous versions in that the write function (to write data to a variable) is no longer used and is replaced by writeCDL...I think. Has anyone used the latest version of netcdf with java? I'd really appreciate if someone could point me in the right direction. Thanks for your help! -Dom
P.S. Here is their tutorial website...with no mention of java: http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-tutorial/index.html
I'm currently also working on a project using NetCDF.
Unfortunately, the NetCDF API for Java only supports reading from NetCDF-4 files, not writing. This API on support writing to NetCDF-3 files.
As for tutorials or help about using it in Java, you can find the API javadoc here: http://www.unidata.ucar.edu/software/netcdf-java/v4.0/javadoc/overview-summary.html
and tutorial:
http://www.unidata.ucar.edu/software/netcdf-java/tutorial/
I sure hope this helps you. NetCDF seems like a great way to store scientific data, but NetCDF-3 lacks a tons of features (multiple unlimited dimensions are only available from 4). My best advice for you is to read every documentation you can find on Unidata website. Not just documentation for the Java API, but documentation on NetCDF in general. Check sample files, small examples of code as well. And play a bit with the netCDF Java utils they distribute in the Java download section.
Just a note that the netCDF-Java library (as of 4.3.13) has netCDF-4 write support via the netCDF C library. It's still in beta, but it does work and feedback is certainly appreciated!
Please see the netCDF-Java reference docs for more details.
Have you looked into the Nujan library? It's for writing netcdf4 files

Trouble getting and installing the latest JAI java library

I have a couple of questions. I'm trying to install Java JAI libraries on my Eclipse on a PC so that I can create a standalone desktop application to convert TIFF files to JPEGs. I've searched and found links about how to do it but half are broken or very old and I'm not sure which one is the latest. Oracle site is no help and has links to download pages that don't exist. Any help is much appreciated.
Second question I have is will this libary work on a Mac and if so how do I install it there so that my code would work on a Mac.
Thank you!
JAI is native (written in c or c++). That means that you have to take care on which platform your application is running, is it 32bit or 64bit, etc. for each platform you need separate JAI library.
Check if java's javax.imageio.ImageIO utility supports tiff. If it does, you can simply read your tiff, then save it as jpeg. ... again i am not sure if this will work, but it is worth trying

how to create help system in java

We are developing new web application and we must integrate help in it. Does anyone know any good opensource help application that we can integrate it in our system or is better to develop help center from scratch? We are using java 1.6. Help must be related to articles, forms,...
Thx
Some years ago, I worked with the Eclipse Help System. Eclipse is not necessarily needed to integrate it in your project. Its helpfiles are also based on .html pages. Unfortunatly I dont know if they continue developing it, but at this time it already provided all the aspects you would expect from a help system.
There are a lot examples out there on how to integrate it in your project, but its possible, that maybe there are already better frameworks today.
We use JavaHelp and we are happy with it. We use docbook for document source and XSLT to generate the JavaHelp (and PDF and HTML versions).
JavaHelp is "GNU General Public License - Version 2 with the class path exception", as mentioned at the bottom of https://javahelp.java.net/ Note the link is broken, google finds this copy of the license:
http://openjdk.java.net/legal/gplv2+ce.html
In summary, the Jar can be included in closed source applications.
Sorry, can't add a comment to other people's posts because I don't have enough points.
Try working on a licensed version of Author-it or Adobe RoboHelp. Both tools are very good content management systems allowing users to concurrently work on the same source. You can also publish the content to Word, PDF, HTML, XML, Java Help and Oracle Help outputs.

Mirroring websites in Java

I need to mirror some websites from my Java application. I was looking for an open source java library to do this job, but didn't find anything suitable.
Does anybody know about some java-friendly tool to retrieve entire websites, or must I stick to exec wget from my program?
Thanks a lot.
The biggest problem I found with this kind of libraries was the lack of support for css parsing, so the imported stylesheets, background images and so on get downloaded as well when mirroring the website.
wget has built in support for this (at least in recent versions), and although it's not a very clean solution to run this program from java, I'd first try it and see if it fits your needs.
I would recommend a crawler/spider. Aspider and Sperowider use Apache HttpClient lib (my favourite httplib) and crawls through the site following links. Since they are OSS you should be able to integrate it into your software. They are also currently unmaintained, but Apache HttpClient lib would be a good place to start if you want to write your own mirroring tool in java.

Categories