Convert .jpg and .png files to ascii within a .txt file