On Nov 21, 2007 12:26 AM, Hans Hagen <pragma@wxs.nl> wrote:
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
> ^@^@^@^MIHDR^@^@^@
> ^@^@^@
> ^H^B^@^@^@^BPXê^@^@^@^AsRGB^@(R)Î^\é^@^@^@
> pHYs^@^@^K^S^@^@^K^S^A^@<9a><9c>^X^@^@^@^GtIME^G×^K^T^V^W
> ^O°<94>^^^@^@^@^YtEXtComment^@Created with
> GIMPW<81>^N^W^@^@^@^MIDAT^XÓc`^X^E¤^C^@^A6^@^A^ZÕ<8d>^W^@^@^@^@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?
yes, exactly so

well, you can try some pdf magic using inline image date in hex format
or so, but i never looked into that
a little suggestion .....?


--
luigi