If you paste a 10KB jpeg image into a single note created with Tinderbox, the file size will be 5.6MB.
The problem is that if I paste dozens of images into Tinderbox, the file size goes up to almost 1GB and the memory usage goes up by the same amount. This makes it impossible to work.
General advice is don’t place images in notes unless your really need to, and if you do make them no larger than they need to be. Tinderbox $Text is intended for text, so not optimised for in-note image storage.
Personally, I store images outside the TBX and either link to them via a URL or File type Displayed Attribute or use an export folder to view the image with/instead of text in text pane Preview mode.
Please send that 10KB image to support at tinderbox@eastgate.com; I would not be surprised that it took 20K or even 40K, but 5.6M is remarkable! I’d like to examine what’s happening. (The underlying issue is that we can’t compress images very well in Tinderbox.)
Tinderbox doesn’t have much insight into images — agents can’t ask questions like “might any images in this note contain a dog?” So they aren’t the main thing, but of course sometimes it’s helpful to see an image. One classic use-case is visual references for a comic book writer; you want to see what the characters looks like as your writing the book.
Hi @Victor, I do too. My workaround with that has been what @mwra referenced above, to link to the images and then preview them in Tinderbox. All you need to do is use HTML tags or markdown and specify the page to the image. You can then preview the image in Tinderbox.
Here is a TBX file with to smaller examples: TBX L - Working with Markdown and templates in Tinderbox.tbx (147.8 KB). This file shows the strategy for linking an image in markdown and in HTML. You can then use the preview to view the images.
HTML <img src="/Users/michaelbecker/pandocSP/mBecker.jpg" width=50px>"
Pasting one or two images into the Text area of a note seems to result in a dramatic increase of the file size. In contrast, pasting multiple images into the Map as an adornment do not cause such an increase.