[Dev-luatex] How to crop bitmap images

Patrick Gundlach patrick at gundla.ch
Mon Jul 1 13:51:09 CEST 2013


I'd like to crop a bitmap image. How? This is my code for image inclusion:

  image = img.scan{filename="hacker.jpg"}
  tex.box[0] = node.hpack(img.node(image))


bbox{...} seems to work only with PDF images.


More information about the dev-luatex mailing list