SDK C++ creating an appearance stream to display a form I am trying to get an image into an appearance stream. I have the image as an XObject in a form and have created a PDEForm. the STAMPR sample was my base project.. What I am doing is in snippets below. the else case if I am not testing bmp is to do an altered form of what's in the sampe, which works fine. the last thing it does is explained and shown after the first snippets. if (pOptions->CreateAsStamps){annot = PDPageAddNewAnnot(pdPage, -1, ASAtomFromString("Stamp"), &pdLocation);}else{annot = PDPageAddNewAnnot(pdPage, -1, Stamper_K, &pdLocation);}PDTextAnnotSetContents(annot, CurrentTickItem->Desc.c_str(), strlen(CurrentTickItem->Desc.c_str()));cAnnotObj = PDAnnotGetCosObj(annot);cdoc = PDDocGetCosDoc(PDPageGetDoc(pdPage));...cAPDictObj = CosNewDict(cdoc, false, 1L);cNullObj = CosNewNull();if (bTestBmp){CosObj cosBmp = CreateBmpForm(CurrentTickItem->GethBmp());CosDictPut(cAPDictObj, FaceNormal_K, cosBmp);CosDictPutKeyString(cAnnotObj, Appearance_KStr,