I just noticed an additional bug (which seems like it may be the cause of the original bug): fipImage::rotate does not work on images without pixels; the image's width/height remain unmodified.