I just found a bug by Enterbrain that nobody has ever found before. If you try to create a Bitmap instance with width > 0 and height != 0, it will use the absolute value of the height instead of crashing for values <= 0 (it still crashes with height = 0, though)! :O