Example code that demonstrates the Bio-Formats API in Java and C++