luigi scarso wrote: > We all know that exists \externalfigure[...][...] > Now, suppose I'm able to make a buffer with raw data, > something like > \Raw{<89>PNG^M > ^Z > [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@ > [EMAIL PROTECTED]@^@ > [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@^AsRGB^@(R)[EMAIL > PROTECTED]@^@ > [EMAIL PROTECTED]@[EMAIL PROTECTED]@^K^S^A^@<9a><9c>[EMAIL PROTECTED]@[EMAIL > PROTECTED] > ^O°<94>[EMAIL PROTECTED]@[EMAIL PROTECTED]@Created with > GIMPW<81>[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]<8d>[EMAIL > PROTECTED]@[EMAIL PROTECTED]@IEND(R)B`<82>} > (it's a black png 10x10 pixel, in attach.) > How can I use it with, let's say > \internalfigure[\Raw][...] ? > Of course, write it down to a temp file and then use > \externalfigure[temp][..], > but I would like to avoid this way .
you mean that the bytes should become an image? well, you can try some pdf magic using inline image date in hex format or so, but i never looked into that Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________