From mboxrd@z Thu Jan 1 00:00:00 1970 From: ape at ape3000.com (Lauri Niskanen) Date: Wed, 29 Feb 2012 13:30:10 +0200 Subject: Image blobs should be printed as images instead of hexdumps Message-ID: <4F4E0C42.70007@ape3000.com> Hi! Cgit currently prints a hexdump when you look at a image blob (as with any other binary blob). This might be a good way to show generic binary files, but I think images (at least png, jpg) should be shown as images. Example of the current behaviour: http://hjemli.net/git/cgit/tree/cgit.png I suggest that instead of the hexdump you would have HTML like this: SVG images are not binaric so I would leave them printed as text. What do you think about this? -- Ape