On 24 July 2013 22:15, Eduardo Santana <[email protected]> wrote:
> I would be nice if we could rotate an image. > > In the printed version, I would like to use the image to fit the page. > But, in the html version, I could just rotate it. > > ifdef::... > > image::images/jambo-domain-model.png[scaledwidth="40%"] > > endif > > > ifdef::... > > image::images/jambo-domain-model.png[rotate="-90"] > > endif > > > For now, I have to create two images every time I want to do this. You could do this with a filter that runs your favourite image manipulation program, eg Imagemagick. You could then change resolution to match the output too. Extra points if you cache the rotated images and only re-build them when the original changes :) Cheers Lex > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/asciidoc. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/asciidoc. For more options, visit https://groups.google.com/groups/opt_out.
