An efficient and secure chaotic cipher algorithm for image content preservation