From http://search.cpan.org/~burak/GD-SecurityImage-1.72/lib/GD/SecurityImage.pm