On Fri, 2005-06-03 at 13:44 -0400, Dan Espen wrote:
> "Mark A. Nicolosi" <[EMAIL PROTECTED]> writes:
> > That makes perfect sense, thanks. Yeah, converting to an xpm does work.
> > Just out of curiosity why is the file closed and reopened if it isn't an
> > xpm? Couldn't that buffer be reused when testing if it's a png?
> 
> Respond to the list please.

Sorry, didn't realize the mailing list sets the reply-to to that person.
Sorry to Mikhael, too.

> The file is opened and closed by the respective libraries.
> 
> Fvwm just passes the filename to libxpm, then libxpm opens and reads
> the file. If that fails, Fvwm then passes the file to libpng.
> 
> The only exception is when the file has an extension, then it passes
> the file to the corresponding library first, if that fails, it tries the
> other libraries.
> 
> In no case does Fvwm read the file and buffer it anywhere.

Okay, maybe when I get some time, I'll download cvs and check it out.

-- 
Mark A. Nicolosi <[EMAIL PROTECTED]>

--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to