An Artificial Neural Network Based Pixel-by-Pixel Lossless Image Compression Method