summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/grph-bmp.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-09-09 14:55:35 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-09-09 14:55:35 +0200
commit438b065a2337ee587442f25ddc587c4762f4d0b0 (patch)
treed18c8f7e51dd7e96b8e774f94d3f8862a6c38f73 /tex/context/base/mkiv/grph-bmp.lua
parentfca2d946bc4d3ef525c3a2c9016e3b88d6d09812 (diff)
downloadcontext-438b065a2337ee587442f25ddc587c4762f4d0b0.tar.gz
2019-09-09 13:52:00
Diffstat (limited to 'tex/context/base/mkiv/grph-bmp.lua')
-rw-r--r--tex/context/base/mkiv/grph-bmp.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/grph-bmp.lua b/tex/context/base/mkiv/grph-bmp.lua
index d863b1a98..e10b01aa4 100644
--- a/tex/context/base/mkiv/grph-bmp.lua
+++ b/tex/context/base/mkiv/grph-bmp.lua
@@ -16,7 +16,7 @@ graphics.bitmaps = bitmaps
local wrapimage = images.wrap
-function bitmaps.new(xsize,ysize,colorspace,colordepth,mask)
+function bitmaps.new(xsize,ysize,colorspace,colordepth,mask,index)
if not xsize or not ysize or xsize == 0 or ysize == 0 then
report_bitmap("provide 'xsize' and 'ysize' larger than zero")
return
@@ -35,6 +35,7 @@ function bitmaps.new(xsize,ysize,colorspace,colordepth,mask)
xsize = xsize,
ysize = ysize,
mask = mask and true or nil,
+ index = index and true or nil,
}
end