Enhance images for colorblind people - java

I'm looking for an easy to use Java library that provides some standard methods for enhancing existing images for colorblind people. I found some browser plugins and web sites that do these enhancements, but I found no corresponding Java library. Is there such a library, and if not, is there at least a good source of information how I can implement this functionality on my own?

I haven't found any color blind specific libraries but I did come across a very interesting document which explains how a Mozilla color blind add on was built. The addon uses the Java Advance Imaging (JAI) library to improve the readability. Below are the links to the document:
http://www.faer.ac.in/motorola/pdf/04_Mozilla%20Firefox%20Extension.pdf
Edit: the document says the code for the extension is open source.

Related

Eclipse - Image Processing Toolbox Available?

I would like to know if there is an image processing toolbox available for Eclipse (much like the one available for MATLAB)?
I have found similar questions on SO.com, but nothing that quite answers my question.
Thank you.
The MATLAB Image Processing Toolbox gives you facilities to implement image processing using MATLAB's own scripting language. As Eclipse is now a fairly agnostic IDE, such a Toolbox would have to be targeted at a specific implementation language. Do you have one in mind? To my knowledge, no such Toolbox exists for Eclipse. However, there are a whole variety of similar libraries for a multitude of programming languages that give you the same functionality. (Perhaps minus the very good in situ previews)

FOSS java library to generate *.mobi ebooks?

Firstly there is an almost identical question but the answer is not really satisfactory.
Is there a Java or Ruby library for generating MOBI ebook documents?
The answer basically gives a link to amazon and discusses using command line tools which is not really satisfactory for a web app. I want a regular jar file w/ an api that i can invoke without any nasty process invocation.
Does anyone know of a FOSS library that provides this functionality ? I would rather simething like ITEXT that allows me to build the document and then writes the mobi file rather than something that converts an already ready PDF into the MOBI.
The best I've been able to find is a ruby library called KindleR. https://github.com/josh/kindler
I've only used it to convert basic HTML pages to mobi with pretty good success. I've never converted anything with more complicated formatting, so YMMV.

Implementing powerpoint transitions/animations using Java

I'm working on a project in Java where I need to display a powerpoint presentation complete with transitions and animations. The Apache POI library provides a nice method of viewing previews of different slides statically, but it seems that any animations or transitions need to be implemented separately which, looking at the library seems to be a fair bit of work.
I've no problem with hard work - but I'm somewhat surprised if this hasn't been done already (frantic Googling however hasn't brought up any results.) Does anyone know of a Java library for powerpoint that handles animations relatively easily?
Unless someone comes up with that PowerPoint Java library for you, you might want to check out PowerPoint Object Linking and Embedding (OLE).
You can use COM4J to have almost all the classes/interface of the namespace microsoft.office.interop.powerpoint , Its almost like your using it from C#. On the code samples from the download you have the package you need with all the interface/classes implemented for you.
Hope it helps you out :P

GUI with xml in java

Is it possible to create a user interface with java and eclipse using a xml file?
As in android
Thx
SwiXml looks like what you need.
Google Web Toolkit will support XML layout from version 2.0 onwards.
Quick Example
This is a web front end however and not swing.
Here's a 2006 article about a few options including SwiXml, which produced one of the few decent results in a 2004 GUI building challenge. There doesn't seem to be many new entries in the field--perhaps people all moved to Web 2.0--except the very promising Apache Pivot with WTKX.
I think as with any non-trivial project, you have to examine the alternatives based on your very specific requirements. I investigated all those options in early 2007 for a company project, but we ended up rolling our own (except using the CSS parser from JAXX) because none completely satisfied our needs.

Charting tools for reporting

What are the available charting tools in the market for comparison.
It should support both Java and .NET.
It can be open source as well as cost.Please mention the licence type.
Mention it needs any other external softwares like Flash player or other external plugins
Any tutorial/sample links for each if possible/available.
It need not be supporting real time but charts should be pleasing to eyes.
we are using http://www.amcharts.com (among others) which is quite nice and cheap (flash based)
I've used FusionCharts (commercial) in the past. It is flash based and uses XML to structure the underlying data, so it is fairly easy to integrate with any language. There are additional basic APIs available for use with various languages (JSP and ASP.NET included). Their gallery is at http://www.fusioncharts.com/Gallery/Default.asp
Have a look at this list of Open Source Charting & Reporting Tools in Java. The most used reporting tool in the Java world is probably JasperReports and it is what I use at work.
I have used JFreeChart and found it to be very useful. There are a large number of chart types and structures. Additionally, you have control over the output format, which should allow you to embed in most applications. We currently use it in a back end process that uses a .Net client front end.
License is GNU LGPL.
If you're happy to call a remote web service, take a look at Google Charts
You could have a look at JFreeChart. I have seen it being used extensively in some pretty (thick) rich client frontends.
It is licensed under GNU LGPL.
The one thing that I would mention about this library is that documentation might be a little scarce and might be a steep learning curve if you're new to it. They do recommend buying their own developer guide. Having said that, if you're up for it, you could try reading their source code and debug what's going on under the covers.

Categories