[luatex] pdf.getmatrix()

Andreas Matthias andreas.matthias at gmail.com
Fri Apr 9 02:35:42 CEST 2021


I suppose the answer is no.

You are too early if you call getmatrix() immediately before
including the image, because at that time the CTM is not set yet.
And you are too late if you call getmatrix() immediately after
including the image, because at that time you are already past
`Q' which resets the graphics state and thereby the CTM.

So whatever you try you cannot get hold of the CTM, which is used
to include the image.

Andreas


More information about the luatex mailing list.