Cholangiography is a radiographic examination of the bile ducts using a special dye. It can be performed during an endoscopic retrograde cholangiopancreatography (ECRP). This procedure looks at the bile ducts through a small tube. Special instruments may be placed through the tube and into the ducts to treat conditions. ECRP is used to treat stones, tumors or narrowed areas of the bile ducts.