ullmannjan1k downloadsView .tif(f) files by generating duplicates in form of .tif(f).png
This plugin creates copies of all .tif(f) files in the currently opened file and converts them to .tif(f).png wherever they are saved. This allows for tif(f) images to be displayed in Obsidian.
In science, it is still common to use .tif(f) files. Today's browsers are not natively compatible with this picture format, and thus, Obsidian is not capable of displaying them. To address this issue, this plugin allows you to simplify the conversion process by running one command to convert the file links to .tif(f).png files. Furthermore, it creates a .png copy of this image in the same directory as the source file. This converted picture can now easily be displayed in an Obsidian note.
The plugin consists of 4 commands.
Tiff Viewer: Create .tif(f).png from .tif(f) in editor and rename linksTiff Viewer: Delete .tif(f).png files linked in editor and rename linksTiff Viewer: Debug: Delete all .tif(f).png files in vault (dangerous)Tiff Viewer: Debug: Rename file links with .tif(f).png to .tif(f) in editorFurthermore, one can convert single tif(f)-files in the file-explorer by right-clicking on them and selecting Create PNG Copy.
There is not a lot to configure at the moment. One can choose to run the conversion process automatically on each file one opens.
To compile the project, you can use the following steps:
git clone https://github.com/ullmannJan/obsidian-tiff-viewer.git.cd obsidian-tiff-viewer.npm install.npm run build.dist directory.