Display picture in print format

Hey there,

I am trying to display a base64 encoded image in a custom print format. But if I try to print it the picture dissapears. Is there a way to do this?

this is the include:

img srv=“data:image/png;base64,{{ doc.somebase64encodedpng }}”>

I found out that frappe extracts images from print format before they are getting printed. Is there an option to disable this behaviour?