Rendering drawings dragged in to the note in iOS

Use case or problem

When I drag and drop a drawing into obsidian from other apps in iOS, it shows:![[Apple Drawing Format 1.drawing]]. But rather than render the drawing directly like a png or excalidraw, it simply displays Apple Drawing Format 1.drawing like an attachment

Proposed solution

After dragging a drawing into the note, its content should be rendered like a picture, instead of an attachment.

What is the file format?

I can’t find the detailed information about the format, but I believe it’s related to PKDrawing in PencilKit, which offers some methods to capture it and convert it into an image

.drawing files aren’t on the accepted-file-formats list:

1 Like