unfinished version of decodeMessageFromPicture