insightsengineering/teal.reporter

Size of images in a pdf document

Polkas opened this issue · 2 comments

Consider to handle the out of the scope images.
When the size of the image is to big in pixels it could go out of the scope now.
Screenshot 2022-10-10 at 11 40 37

Acceptance Criteria

  • Plot image should be within the width of the pdf and not getting crop.
  • Consider making the pdf in landscape mode.

Note: Please consider reviewing #165 since they're tigthly related and may need to be done first.

I was able to reproduce this issue, and I can confirm that it occurs in all formats. Particularly, very wide images, such as the forest plot from the efficacy app, appear to be collapsing. Does not seem to be related to only pdf format.

HTML
image
PDF
image