I am currently working on documentation where parts of the software are written in LabVIEW. To share code I am trying to use Snippets. Is there any way to embed the resulting png using luatex while maintaing the drag&drop functionality? (From the generated pdf into LabVIEW)
I think a LabVIEW Snippet consists of an png image with an aditional metadata chunk which encodes the blockdiagram.
Edit: A possible workflow would look like:
- Create a LabVIEW Snippet from Labview (The resulting png can also be drag&dropped into LabVIEW, recreating the saved blockdiagram.I am rather sure this is just an additional png chunk, and not realized steganographically.)
- Include the graphics into my latex document (generated via luatex).
- Ideally the resulting pdf allows to either drag and drop (probably highly viewer dependent) the image, or somehow save the embedded png including the previous metadata. For Adobe Reader and Sumatra PDF, Copy Image seems to copy the pure image data (Which may very well be the only thing remaining in the pdf)
After some further research, I suspect this may be entirely impossible due to the way pdf works, and there is no way to directly embed a png and its metadata.