diff options
Diffstat (limited to 'tex/context/base/grph-raw.mkiv')
-rw-r--r-- | tex/context/base/grph-raw.mkiv | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tex/context/base/grph-raw.mkiv b/tex/context/base/grph-raw.mkiv index 1c6835564..5b488cf58 100644 --- a/tex/context/base/grph-raw.mkiv +++ b/tex/context/base/grph-raw.mkiv @@ -45,14 +45,14 @@ \unexpanded\def\bitmapimage[#1]#2% {\hbox\bgroup - \getdummyparameters[\c!color=rgb,\c!width=,\c!height=,\c!x=,\c!y=,#1]% - \ctxlua{figures.bitmapimage { % we could pass #1 directly ... todo + \getparameters[\??gb][\c!color=rgb,\c!width=,\c!height=,\c!x=,\c!y=,#1]% + \ctxlua{figures.bitmapimage { data = \!!bs#2\!!es, - colorspace = "\directdummyparameter\c!color", - width = "\directdummyparameter\c!width", - height = "\directdummyparameter\c!height", - xresolution = "\directdummyparameter\c!x", - yresolution = "\directdummyparameter\c!y", + xresolution = "\@@gbx", + yresolution = "\@@gby", + colorspace = "\@@gbcolor", + width = "\@@gbwidth", + height = "\@@gbheight" }}% \egroup} |