On 09-11-2010 18:35, Marcin Bukat wrote:
BTW. Aren't viewers bind to particular file extensions? If so I wouldn't bother to do any more advanced detection. If someone rename .bmp to .jpg it's his/her problem.
The thing is that the image viewer lets you "browse" images on its own, so it has to do its own detection. Why not be smart about it rather than dumb?
-- Jonas Häggqvist rasher(at)rasher(dot)dk