sPDF icon indicating copy to clipboard operation
sPDF copied to clipboard

wkhtmltoimage

Open AmazingDreams opened this issue 8 years ago • 1 comments

I created an implementation for wkhtmltoimage, but was unable to test because wkhtmltopdf/image seems to be hanging in the tests.

Please review and comment about anything.

Basically I just copied and pasted the Pdf and PdfConfig classes and changed some strings here and there. I could simplify the implementation by simply extending those classes and only overriding findExecutable. But I can't test this, so this'll have to do for now.

AmazingDreams avatar Aug 17 '17 15:08 AmazingDreams

I think this implementation is more or less final now. I tested it using publishLocal in another project and it all works. It's weird how the tests ran directly don't work (wkhtmltoX doesn't return) but the tests & code I run in that project work fine.

AmazingDreams avatar Aug 18 '17 13:08 AmazingDreams