Comments (4)
Hi,
Can you also test this with the same file but then read it from disk? (using wkhtmltopdf.NewPage())
I want to make sure it is not related to the file or any file limits in wkhtmltopdf.
In the mean time I will run a test with some large data files to very if it is an issue in the Go library.
Thanks
from go-wkhtmltopdf.
Hi,
On trying to read the same file using wkhtmltopdf.NewPage()
where the argument to NewPage method is html.String() I am getting an error as argument list too long
from go-wkhtmltopdf.
In that case you need to save the HTML to a file and use the path to the file as argument to NewPage.
If you could try that it would be very helpful. I will investigate this in the weekend, but I am not sure if I can reproduce it.
from go-wkhtmltopdf.
I have not been able to reproduce this. But I just did a simple test with repeating the same HTML multiple times.
It looks like this package does not have any limits to the size of the input and it feeds everything to stdin without issues.
So any limits you encounter are most likely to be in wkhtmltopdf itself and I cannot fix that.
from go-wkhtmltopdf.
Related Issues (20)
- Identify Blank PDF generated by go-wkhtmltopdf HOT 1
- Warning: Blocked access to file C:/Users/Administrator/.... HOT 2
- ResetPages() does not clear buffers HOT 5
- undefined: exec.ErrDot HOT 2
- Can't create Docker build HOT 1
- Margin setting support mm HOT 2
- "built against an unpatched version of QT" with active TOC HOT 3
- emoji not support HOT 1
- Go get not working for v1.9.0 Feb 11, 2023 HOT 13
- GetPath function return nothing.
- SetPath permission denied HOT 1
- CSS Display flex don't work. HOT 1
- do not support convert SPA to pdf
- How to set footer styles HOT 1
- Error failed to load... network status 301 HOT 8
- Second page of pdf don't display any content HOT 1
- Create() returning not nil error on valid html HOT 12
- 用了该库后,需要在哪释放资源,会吃内存吗? HOT 1
- wkhtmltopdf not found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-wkhtmltopdf.