adds decodeImage method, renames to QCodeDecoder