On 09-11-2010 22:25, Paul Louden wrote:
I think an error message saying "Image appears to be a .png" when a .bmp
is loaded with the magic numbers for a PNG, and possibly a refusal to load
it, makes some sense.

Being too intelligent and acting like nothing went wrong isn't really an
entirely positive behavior. At the very least the user should be let know
something isn't quite right.

I get what you're saying, but I'm not sure I agree. It's not like I'll be wanting to rename my files on the DAP anyway. If we know how to display it, why not just do it without bothering the user, and let him worry about that detail some other time?

The link between filename and filetype is a weird construct anyway.

How do the codecs handle this?

--
Jonas Häggqvist
rasher(at)rasher(dot)dk

Reply via email to