2010/11/8 Teruaki Kawashima <kame...@r6.dion.ne.jp>: > Hi, > > I'd like to ask for testers for FS#6321 - Universal Image Viewer > > The patch unifies jpeg viewer, png viewer, and bmp viewer to one plugin, > image viewer so that you can navigate through different image formats. > Downside might be that the images without proper extension won't be > loaded (e.g. .png for png files.)
The proper solution would be to look for magic number in file header also. jpeg: ff d8 ff e0 bmp: 42 4d png: 89 50 4e 47 0d 0a 1a 0a Marcin Bukat (wodz)