Re: Images and scaling

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.



Eliot Kimber

´╗┐On 6/10/21, 10:55 AM, "Wayne Brissette" < on behalf of> 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!


Join to automatically receive all group messages.