I admit it – I’m a recovering C++ programmer. I’ve suffered a bit of a relapse related to a recent project, and may very well be dragged back deeper on an upcoming one. (Point of history – I attended one of Bjarne Stroustrup’s early lectures on “C with Classes” when I worked at Bell Labs. […]
Android OpenGL Unit Testing
Every once in a while you go back to your toolbox and discover something shiny you haven’t shown the world before. I have a client who needed some OpenGL work done on Android, which brings up the whole question of how to unit test OpenGL code. I had some support classes for this lurking around […]
IIOMetadata Tutorial – Part 4 – Automatically Determining Metadata Format
In Part 1 of this tutorial, we went over some background related to the Java ImageIO subsystem and how one could retrieve information about the supported ImageReaders and ImageWriters. In Part 2, we looked at how one goes about retrieving metadata from an image as it is read. In Part 3, we looked at writing […]
IIOMetadata Tutorial – Part 3 – Writing Metadata
In Part 1 of this tutorial, we went over some background related to the Java ImageIO subsystem and how one could retrieve information about the supported ImageReaders and ImageWriters. In Part 2, we looked at how one goes about retrieving metadata from an image as it is read. In this third part, we will do […]
IIOMetadata Tutorial – Part 2 – Retrieving Image Metadata
In Part 1 of this tutorial, we went over some background related to the Java ImageIO subsystem and how one could retrieve information about the supported ImageReaders and ImageWriters. In this second part, we will look at how one goes about retrieving metadata from an image as it is read. All the code associated with […]
IIOMetadata Tutorial – Part 1 – Background
The Java ImageIO subsystem provides convenient methods for Java-based programs to read and write bitmap images. One can load an image in any supported format and then get access to the image data as a BufferedImage, or one can create a BufferedImage, draw to it using a Graphics or Graphics2D, and then save the image […]
Java Advanced Imaging Downloads
After quite a while away from it, I recently came back to dealing with graphics I/O in Java. At one level, things have gotten much easier in the time I was away – in particular, the ImageIO library is now part of the standard JRE. This means that, for the most part, you can count […]
“Hidden” Eclipse Launch Configurations
Every once in a while I run into a situation in which I create a launch configuration in Eclipse and instead of having the name I expect, it has a “(1)” after it. For example, when I right click on a class named DumpImageIoPlugins and select Run as > Java Application, I expect a launch […]
Patching the Heartbleed bug on Ubuntu
If you’ve been following any of the security chatter on the Internet, you probably are aware that the Heartbleed bug in OpenSSL is a bad one. Unless you take steps on your server, an assailant can, without leaving any traces, compromise your entire SSL setup and possibly steal information from your users. Definitely a Bad […]
Android error: android.permission.INTERACT_ACROSS_USERS_FULL
In developing an application recently, I ran into a very odd error that happened in the release build but not the debug build. The stack trace looked like this: After a bunch of head-banging, it turns out that the android.permission.INTERACT_ACROSS_USERS_FULL part was a complete red herring. The real key in this stack trace is line […]