mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +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)
|
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);
|
auto & f_page = *(html_renderer->f_curpage);
|
||||||
|
|
||||||
f_page << "<img class=\"" << CSS::FULL_BACKGROUND_IMAGE_CN
|
f_page << "<img class=\"" << CSS::FULL_BACKGROUND_IMAGE_CN
|
||||||
|
Loading…
Reference in New Issue
Block a user