Home
last modified time | relevance | path

Searched refs:pMaskDict (Results 1 – 1 of 1) sorted by relevance

/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_image.cpp214 CPDF_Dictionary* pMaskDict = FX_NEW CPDF_Dictionary; in SetImage() local
215 pMaskDict->SetAtName(FX_BSTRC("Type"), FX_BSTRC("XObject")); in SetImage()
216 pMaskDict->SetAtName(FX_BSTRC("Subtype"), FX_BSTRC("Image")); in SetImage()
217 pMaskDict->SetAtInteger(FX_BSTRC("Width"), maskWidth); in SetImage()
218 pMaskDict->SetAtInteger(FX_BSTRC("Height"), maskHeight); in SetImage()
219 pMaskDict->SetAtName(FX_BSTRC("ColorSpace"), FX_BSTRC("DeviceGray")); in SetImage()
220 pMaskDict->SetAtInteger(FX_BSTRC("BitsPerComponent"), 8); in SetImage()
222 … _DCTEncodeBitmap(pMaskDict, pMaskBitmap, pParam ? pParam->nQuality : 75, mask_buf, mask_size); in SetImage()
224 _JBIG2EncodeBitmap(pMaskDict, pMaskBitmap, m_pDocument, mask_buf, mask_size, TRUE); in SetImage()
232 if (pMaskDict) { in SetImage()
[all …]