Re: Publishing helper scripts for image handling and cross-referencing
Posted by ghorwin on
URL: https://discuss.asciidoctor.org/Publishing-helper-scripts-for-image-handling-and-cross-referencing-tp8057p8061.html
Yup, imagemagick works good, too.
One possible way to further automate the process would be to just store the 'yyy-print.png' variant, and in case that the width=xxx option passed to the image tag is not matching the native yyy-print.png image's resolution, fire up imagemagick and generate the corresponding smaller-size image on the fly. This would indeed simplify the screenshot update procedure.
Doing it manually has the advantage of having visual feedback and control over the resized image. Depending on the image type and content, sometimes resizing by 75% or 50% gives better quality than some weird percentage that might be obtained by fixing the target dimension.
-Andreas