Re: Images and scaling


ekimber@contrext.com
 

One possible workaround is to use ImageMagick to generate XML with the details of each image, from which a transform can then make informed decisions about sizing in the DITA being generated.

Cheers,

E.

--
Eliot Kimber
http://contrext.com


´╗┐On 6/10/21, 10:55 AM, "Wayne Brissette" <main@dita-users.groups.io on behalf of wbrisett@att.net> wrote:



Kristen James Eberlein wrote on 2021-06-10 10:41:
> Use the @scale attribute on image, and do not use @height or @width.
>
> Kris Eberlein

Yeah, I was afraid that was going to be the proper answer here... this
is all part of our custom markdown to DITA tooling, and thus they want
me to support the HTML-ish scale 40% this way, and 60% that way... ;) I
think I'll have just tell them to use one value.

Thanks Kris!

Wayne

Join main@dita-users.groups.io to automatically receive all group messages.