Re: Image insertion


Subject: Re: Image insertion
From: sam th (sam@bur-jud-118-039.rh.uchicago.edu)
Date: Sat Feb 19 2000 - 13:40:03 CST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 19 Feb 2000, Daniel Weber wrote:

> Whenever I try to insert a picture in Abiword, I get an error stating
> the file "is not the type it claims to be". I didn't see anything in
> bugzilla about it, is anyone else seeing this?
>
>
This is code that I wrote. Currently, AbiWord only supports PNG images.
The problem is, if you try to open another type as a png, it will crash
libpng. So, it currently looks at the first few bytes and sees if it is
an PNG file, and assumes that you thought it was a PNG file. Hence the
error message. If this picture was in PNG format, we have a problem, and
I will try to fix it.
           
                                     sam th
                                     sytobinh@uchicago.edu
                                        
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE4rvGVt+kM0Mq9M/wRArUaAJ97ZtXOwJuL381qclwS1ZbFcHgVZACfYZX9
Hx7bdqIo5spjcdOhVUfzKac=
=0pQa
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2b25 : Sat Feb 19 2000 - 13:39:49 CST