Hi Michael I can confirm that visiting tiddlywiki.com/ and changing the MIME type of Motovun Jack.jpg to "image/png" doesn't prevent the image from displaying. But it's not anything special that TiddlyWiki is doing; I think it is just that browsers in practice ignore the MIME type of images, and instead sniff the content.
In terms of the ZIP support, all that's been added is the automatic recognition of the MIME type from the file extension. The implication is that if you do embed a ZIP file in a TiddlyWiki, then it is slightly more likely that the browser will get the file type correct if you create a download link for it. But the actual embedding of ZIP files has been possible since binary tiddlers were supported. It sounds like compressing the images to JPG will get your file size down considerably. That kind of bulk operation is a bit easier under Node.js, but even in the browser you should be able to experiment with a few images. Best wishes Jeremy. On Mon, Mar 16, 2015 at 5:13 PM, Michael Wiktowy <[email protected]> wrote: > In looking at this further ... when copying the raw base64 encoded text > from a tiddler and processing it through a separate online decoder, a > sample image turns out to be a PNG file (verified by looking at the first > line in a text editor) of about ~1/3 MB in size. So it is no surprise that > ~80 images results in a 28MB file. Zipping this image file does not achieve > any further reduction in size. > > I am shocked at the compression that is achieved in the PDF file though. > While there is some commonality between photos (they are all head shots > with a white border around them, I don't know how they are getting > losslessly compressed so effectively within the PDF file beyond the > compression that PNG is offering. Even zipping up the entire TW only > shrinks things down to 20 MB. > > I am also surprised that no matter what extension I used, the image viewer > opened it and identified it as the image type of whatever extension I used > when it obviously ignored the extension completely and used some file magic > identify and decode it correctly. So this is not browser-only behaviour. > > Just some thoughts. > > /Mike > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/tiddlywiki. > For more options, visit https://groups.google.com/d/optout. > -- Jeremy Ruston mailto:[email protected] -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

