Op 16-6-2021 om 15:51 schreef Alain Martel:
> I know that, but, in many cases, it's good enough.
> In the present case, it may be just what is needed. It will always
> ensure that the whole object is visible, even if the use of the image's
> real estate may not be optimal.
> Also, the solution proposed ensure that the object do not extend beyond
> the camera.
Thanks Alain! I was just in need of something like this for the
granite_21 macro, and you took away the need to write my own macro. ;-)
I changed your code into a macro which I include here. Herbert might
want to use it.
Post a reply to this message
Download 'am_resize.inc.txt' (2 KB)