fz_pixmap* pix = fz_new_pixmap_with_rect(ctx, fz_device_gray, bbox); fz_clear_pixmap_with_color(pix,255); fz_device* dev = fz_new_draw_device(ctx, cache, pix); pdf_run_page(xref, page, dev, ctm); fz_free_device(dev);intw = pix->w;inth = pix->h;QImageimage(w, h, ...
The QImage class provides a hardware-independent pixmap representation with direct access to the pixel data. More... #include List of all me…