On Wed, 16 Jul 2014 14:16:30 +0200 Martti Kühne <mysat...@gmail.com> wrote:
> Yes. I had that in mind as well. Writing a parser in C is inarguably more complex, however, I think the priority is keeping the format as simple as possible, but not simpler. We need to set our priorities well enough: How often do you read/write an image file. I understand that reading should be simpler than writing. However, a third important factor is portability of interpretation. Just imagine being on a lonely island with a small computer and an image-file in your a given format on it with no library to decode it, but a way to implement an interface to an image manipulation-library. Suppose this map was saved in the imagefile-format and reflect that. Now suppose it was jpg, png or others: Who honestly could write an interpreter from scratch? The most basic one I know has around 1000 LOC. Cheers FRIGN -- FRIGN <d...@frign.de>