On Thu, 2001-11-15 at 09:32, Kyle wrote: > Couldn't we use GDK_PixBuf for the image importing? The only mainstream > format that it doesn't already support that I know of is BMP. I think > this would be a much easier solution than ImageMagick since we are using > GDK anyways. Any suggestions.
This issue has already been torn to shreds, mostly by myself (http://www.abisource.com/mailinglists/abiword-dev/01/April/0548.html) We already use Gdk-Pixbuf for image rendering on Unix/Gnome and it's really quite fast (well, fast if you're not on a Sparc). The problem is that we want to be able to save all incoming images as PNGs internally and in our file format for various important reasons. GdkPixbuf 1.0 does *not* have an API for doing conversions or saving as different types. The ever-soon upcoming release of GdkPixbuf, being used in the fathom Gnome2 and Gtk+2 products, will have this capability. So when we port Abi to Gtk+2, we'll make a plugin that will use GdkPixbuf to convert incoming image types to PNG. Until then, everyone will just have to deal. Dom
