MSSImage: better parameters checks