I got few jp2 images from this site Ashtadhyayi Sutrapath - Yatibodh Yukt_jp2 The typical image is <200 kb.
Two things -
When I select the file and copy paste or drag drop it just puts the file name.
But when I open in preview and copy and paste, it shows the image in Obsidian. However the issue is 175kb file becomes 1.3MB.
Is there a setting I need to check ? Thanks
Apparently the .jp2 file format is not supported by Obsidian. If you directly add a .jp2 file to Obsidian, the file is stored in the designated folder (e.g., attachments), and a “wikilink attachment” is added to the note, for example:
However, Obsidian cannot display that image in the note. That explains the first part of your question.
If you click on that link, though, it will try to open the image using the predefined application for that file extension in your system. In my case (windows) I use irfanview, which can show the .jp2 image.
If I copy the image from irfanview (Ctrl+C) and paste it into obsidian (Ctrl+V) the clipboard content is converted to a .png file which is stored in the attachments folder under an automatic name (“Pasted image 20250715143619.png” in my case), and the link ![[Pasted image 20250715143619]] is inserted in my note. This displays the image, without affecting the size of the note.
The behaviour you describe (note increasing in size by 1.3MB) suggests that in your case the content of the image is being inserted as a base64 encoded string directly in the note. I don’t know why that could be happening, perhaps it is a OSX issue. That base64 version might be a raw bitmap, uncompressed, which explains the big size.
I recommend converting those images to standard JPG or PNG.. You can use preview for that. Open the .jp2 and save it under png format. Then you should be able to insert that PNG into your notes without any issues.