On Wed, 21 Jun 2000, Aaron Lehmann wrote:
> The way I understood the initial message in this thread is that a PNG file
> was sent to someone who tried to open it with AbiWord (as a document,
> not by inserting an image). I think the Right Thing for AbiWord to do when
> a .png file is opened through the Open File dialog would be to create an
> Untitled document with the image in it.
Great idea. I just committed support for it.
Now, when you try to open a document, if it can't find a type for it,
rather than assuming it's a text document, it sees if any of the image
importers recognize it. If so, a simple document importer builds a simple
empty document and appends the image produced by the importer.
If you try to save it, it puts up a save as dialog.
Justin