[luatex] Duplicate images in pdf

Patrick Gundlach patrick at gundla.ch
Sun Mar 21 15:32:39 CET 2010


Hi,

when I write this code:

local n1,n2
n1 = img.node { filename = "hacker.jpg" }
node.write(n1)
n2 = img.node { filename = "hacker.jpg" }
node.write(n2)

the file hacker.jpg will be inserted twice in the pdf. I guess no duplicate prevention is done on purpose, right?

Patrick




More information about the luatex mailing list