Copy / paste html inline image from browser to word processors

I am experimenting with inline html images (background: a game with the idea of โ€‹โ€‹creating my own CMS that does not save images as separate files).

I can copy / paste such an image from a browser (Firefox / IE) into image processing programs such as Photoshop or MS Paint, but not for word processors such as MS Word or OpenOffice Writer.

Do you have any ideas on what I can do to make these embedded images โ€œcopy / passiveโ€ for word processors?

Example:

<p><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAIAAAC6ZnJRAAAAqElEQVQImSXISQ6CMBQA0N7AjYkD4G+hEMLGRGVsK9PCQ7kx0USgDAV6YBe+5UPLnSpu9wzLDJrYnAVpwwNS3B5S6NLTKGxd+2vu9ImJFLd14bWJ9b7sZAa6oIpj1EXmf5/B5nXezoJMDFBzO44ZbhPrc91/I0MXdGKAJkaGFHqGVU517cvYkLGBxgRWQXuGx9JdHkHDYKo8JENz4Y7MoBNkqNxOkLn0fm81MqWZRgG5AAAAAElFTkSuQmCC" /></p> 
+4
source share
1 answer

You cannot directly insert images into word processors. To do this, first save the image in the appropriate format (png / jpg) using the image processor, and then copy this saved image and paste it into the word preocessor. Please choose this as the best answer if you find it useful.

-1
source

Source: https://habr.com/ru/post/1446788/


All Articles