thorstenb / odpdown

Generate OpenDocument Presentation (odp) files from markdown
Other
107 stars 18 forks source link

controlling image size #23

Open bart1 opened 9 years ago

bart1 commented 9 years ago

Is there anyway to control / scale images or arrange multiple images on one page

thorstenb commented 9 years ago

No, but see issue #15 for another enhancement request. If you have concrete suggestions on the markup for scaling images, or specifying positioning, happy to collect that here.

thorstenb commented 9 years ago

Meanwhile, the canonical workaround is to hand-edit those slides, and insert the markdown-generated slides around them (use the -p option).

bart1 commented 9 years ago

I'm not sure what a good solution would be, I’m not familiar enough with markdown for that purpose.

rombert commented 8 years ago

I'm not sure if this is the same problem or just related, but trying to insert an image apparently adding an image does not respect the bounds of the page or the physical dimensions of the page, leading to a poor layout.

odpdown-image-size

The code for this slide is

Testing pyramid
---

![Testing pyramid](assets/scaled/automatedtestingpyramid.png)
thorstenb commented 8 years ago

rombert, could you please file a separate issue for this, and additionally include a link to the original png graphic? odpdown could be much smarter extracting logical image size, and also respecting slide bounds (this is unrelated to manually controlling size).

rombert commented 8 years ago

@thorstenb , sure filed #30 . Thanks!