A domain-flexible and selective image encryption scheme based on genetic algorithm, non-linear chaotic map, square-wave diffusion and orthogonal polynomials transformation is proposed. Extensive experiments were used to demonstrate efficiency and practicality.