imgsize (Java 1.1, 1998)

Version: 1.0
Author: Adrian Kosmaczewski
Date: August 3rd, 1998
Programming Languages: Java
Tools: Java 1.1, Notepad
Platforms: Cross-platform
Download: imgsize.zip
Licence: Creative Commons Public Domain

I created this program in 1998 to solve a business problem in the company I was working on at the time; we needed to get the width and height of image files uploaded to the server, and I created this Java code as the first implementation of the algorithm. Later we ported this to a COM object, that we used in our IIS-based web server.

It is not the nicest Java code I’ve done (it does not reflect my current views on programming) yet it solved the problem pretty well, is easy to read, and best of all, it still compiles without a single warning, 9 years later.

As always, use at your own risk! I decline all responsibility in case of trouble. Read more about it here.