LCDAALCD anti-aliasingLCDAA provides LCD anti-aliasing for 24-bit RGB images in Java.
IntroductionLCD anti-aliasing attains improved image quality on LCD devices by directly addressing the red green and blue pixels on the device to achieve increased resolution.Colour balance is maintained by distributing colour energy to surrounding pixels - taking advantage of the fact that the human visual system has better monochrome resolution than colour resolution. The effect produces the best results when used with high contrast images. It has no effect on images which consist entirely of shades of one of the primary colours. In practice the majority images have a fair degree of contrast - due to common effects such as shadows and highlights.
FeaturesIt accepts images in PNG, GIF or JPEG formats.It writes images in PNG format. The output images have their width reduced in size by a factor of three. It uses the simplest 1:1:1 colour balancing technique; It's output is suitable for the most common sort of LCD - that with R-G-B pixels. If you have -B-G-R pixels, you will need to horizontally flip the resulting image before using it.
RequirementsIt needs Java 1.4 - or greater - to run.
ExecutionThe program has a command-line interface - usejava LCDAA <infile> <outfile> to run it.There's also a GUI. Here's a snapshot of it in action:
ApplicationsThe number of devices with small LCD screens is rocketing upwards now that mobile phones are routinely including cameras.I expect this application to be used by those making wallpaper, photographs or animated images for these kinds of devices - in the cases where image quality is regarded as important.
WishlistCurrently the wishlist looks like this:
Java Web StartIf you run using Java Web Start, the program will request access to your machine on the basis of my phony developer certificate.The program is signed because the program needs to read and write files from your hard drive to be much use. The certificate is phony because I haven't paid up for an authenticated certificate yet.
Example
LicenseThis program and its source code have been placed in the public domain.
DownloadRun using Java Web Start.Download the executable Jar file. Download the Java source code.
|