B
B
blueboar22013-02-13 06:48:35
Windows
blueboar2, 2013-02-13 06:48:35

How does OLE convert formats?

I read the OLE specification, it says that when a file is changed by the server, it sends a FileChanged message to the client with a pointer to the new file. The client reads the new file and understands what needs to be redrawn.
However, opening some .rtf with a link to .bmp, we will see there, in addition to the link, another picture in .wmf format. This format is vector.
Actually the question is in what format the client and server exchange files using these FileChanged messages? If initial, how does the client understand what to draw? He doesn't know the server file format, does he? If it is also .wmf, then it turns out that each server should be able to generate .wmf from its own format?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
avz, 2013-02-13
@avz

If sclerosis does not change me ... The server seems to be given the context on which it should draw itself. After that, the client can generate a stub in the form of a picture from the rendered one and display it if, for example, the server is not available (opened on another computer). Or even the server itself generates this stub. WMF is most likely it is. Windows, in principle, WMF itself can draw.

M
MikhailEdoshin, 2013-02-13
@MikhailEdoshin

WMF can also include raster data (usually every vector format can), so maybe it's just a wrapper around BMP?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question