Pechkin
Pechkin copied to clipboard
Some images missing?
Hey Gman and thank you for this great wrapper!
Is that normal that on some html page, few images (always the same) are not converted?
Even if i set : ObjectConfig.SetLoadImages(true); ObjectConfig.SetPrintBackground(true);
Did i forgot something?
Thank you! <3
Hello! I did test images, but I haven't encountered any misbehavior. Though the testing wasn't that thourough, so I could miss something.
Could you please try to isolate the issue and create the demonstrating page, where the bug is reproduced?
Thanks for your answer! :)
Not sure for the moment,but obviously there is most of time a probleme with rendering .gif images. But it's probably a known issue of the wkhtmltopdf shown there:
http://code.google.com/p/wkhtmltopdf/issues/detail?id=441
Oh, yeah, GIFs don't work.
I've tried placing files qgif4.dll and qjpeg4.dll into imageformats folder, it didn't help. So, I guess, the recompilation is our only way. I will do this, but I really don't know when I'll have the time.
Hi, if I convert PDF from local html file, images are omited. But if I convert it from web page, images are included, but still with too bad resolution. (result preview: http://www.art-work.cz/data/badimages.pdf - made from source at http://www.seznam.cz). Any ideas how to fix it? Am I doing something wrong?
@enKor You can set image quality with .SetMaxImageDpi()
and .SetImageQuality()
options in GlobalConfig
. You can enable local resources with .SetAllowLocalContent(true)
in ObjectConfig
.
Thanx, it works.