Improved Chen-Smith image coder