asciidoctor / asciidoctorj-screenshot

A set of AsciidoctorJ extensions for adding automated screenshots to an AsciiDoc document.
MIT License
35 stars 7 forks source link

Allow to scale image #15

Closed sclassen closed 5 years ago

sclassen commented 5 years ago

as @bcouetil mentions in # 13 (https://github.com/asciidoctor/asciidoctorj-screenshot/issues/13#issuecomment-454701600)

It would be nice if the screenshot could be scaled by asciidoctor after it was taken.

screenshot::${url}[dimension=1024x780,width=600]

Where dimension is interpreted by the screenshot extension and width is passed to the converter to do the scaling

sclassen commented 5 years ago

available as of version 0.3.0

bcouetil commented 5 years ago

Tested, thanks 😄