32 pdfium::span<
const FX_ARGB>* palette,
33 CFX_DIBAttribute* pAttribute) {
36 auto* ctx =
static_cast<CFX_BmpContext*>(pContext);
37 Status status = ctx->m_Bmp.ReadHeader();
41 *width = ctx->m_Bmp.width();
42 *height = ctx->m_Bmp.height();
43 *tb_flag = ctx->m_Bmp.img_tb_flag();
44 *components = ctx->m_Bmp.components();
45 *palette = ctx->m_Bmp.palette();
46 pAttribute->m_wDPIUnit = CFX_DIBAttribute::kResUnitMeter;
47 pAttribute->m_nXDPI = ctx->m_Bmp.dpi_x();
48 pAttribute->m_nYDPI = ctx->m_Bmp.dpi_y();