draw-image-export2
draw-image-export2 copied to clipboard
The 2018 server-side PNG/PDF export implementation using Node, Puppeteer and Chrome headless
node 18.2.0 npm 8.12.2 FreeBSD 13.1 amd64 ``` [/tmp]$ git clone https://github.com/jgraph/draw-image-export2.git … [/tmp/draw-image-export2]$ cd draw-image-export2 [/tmp/draw-image-export2]$ npm install npm notice npm notice New minor version of npm available! 8.12.2...
Why sometimes PDF will not generate- 500 internal server error . Not sure - may be because of file size ?? PDF generation supports - How much file size?
Would be useful support converting a diagram to SVG format. It is possible to export to a raster (PNG or jpg) or a vector (pdf), but not a vector format...
Puppeteer might be better suited to things like being put in docker over the desktop app, https://github.com/jgraph/drawio-desktop/issues/127. If code were only in one place, even better.
Need a mechanism to pass the time zone of the client and use that in placeholders.
iisnode encountered an error when processing the request. ``` HRESULT: 0x6d HTTP status: 500 HTTP subStatus: 1013 HTTP reason: Internal Server Error ``` You are receiving this HTTP 200 response...
Hi all. Please tell me how puppeteer.js can solve the problem with a self-signed certificate for the address that points to DRAWIO_BASE_URL. ``` image-export: build: dockerfile: Dockerfile context: ./export expose:...
Hi all, is there a way to tell exporter to render the background grid? I'm trying to automate the diagram generation in project and we must generate with the grid!...
The drawio ui has an option called `crop` for the Export to PDF dialog. The README.md does not mention this option. I tried with `--data-urlencode "crop=1"` and that worked but...