1. petermr
  2. pdf2svg
  3. Issues
Issue #10 resolved

Why don't use PDF's MediaBox or CropBox to instead of defaut page width/height

foxty foxty
created an issue

I saw all SVG's width and height are 600*800, since its easy to get PDf's MediaBox or CropBox.

Why not to use this box instead of default width/height?

PDPage.findMediaBox() | PDPage.findCropBox();

Comments (4)

  1. petermr repo owner

    Many Thanks Isaac, Exactly the sort of help that is needed. It's simple ignorance of the scope of PDFBox and I will now change to using one or both of these.

  2. Log in to comment