draw-image-export2 icon indicating copy to clipboard operation
draw-image-export2 copied to clipboard

crop option not documented

Open s-geiger-si opened this issue 4 months ago • 0 comments

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 would be nice to include this in the readme to safe users some time.

Also maybe add an example for curl such as

curl -X POST http://localhost:8000/ImageExport4/export -H "Content-Type: application/x-www-form-urlencoded" \
    --data-urlencode "format=pdf" --data-urlencode \
    "[email protected]" --data-urlencode "filename=myfile.drawio.svg" --data-urlencode "crop=1" --output myfile.pdf

s-geiger-si avatar Sep 09 '25 11:09 s-geiger-si