mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
..
This commit is contained in:
parent
261aba67c3
commit
51499dcff0
@ -93,12 +93,6 @@ void CairoBackgroundRenderer::render_page(PDFDoc * doc, int pageno)
|
||||
|
||||
void CairoBackgroundRenderer::embed_image(int pageno)
|
||||
{
|
||||
{
|
||||
auto fn = html_renderer->str_fmt("%s/bg%x.png", (param.embed_image ? param.tmp_dir : param.dest_dir).c_str(), pageno);
|
||||
if(param.embed_image)
|
||||
html_renderer->tmp_files.add((char*)fn);
|
||||
}
|
||||
|
||||
auto & f_page = *(html_renderer->f_curpage);
|
||||
|
||||
f_page << "<img class=\"" << CSS::FULL_BACKGROUND_IMAGE_CN
|
||||
|
Loading…
Reference in New Issue
Block a user