POV-Ray : Newsgroups : povray.general : Simple feature request Server Time
27 Dec 2024 21:47:04 EST (-0500)
  Simple feature request (Message 1 to 3 of 3)  
From: John VanSickle
Subject: Simple feature request
Date: 15 Feb 2003 08:28:00
Message: <3E4E4069.E9B395AD@hotmail.com>
POV-Ray should be able to deduce the file types (for image maps, etc)
from the extension of the filename.

Regards,
John


Post a reply to this message

From: Apache
Subject: Re: Simple feature request
Date: 15 Feb 2003 09:01:49
Message: <3e4e484d$1@news.povray.org>
that would break the platform independence. Maybe using something that the
apache server does would be better: open the file and deduce from the file
data what file type it is.


Post a reply to this message

From: Christopher James Huff
Subject: Re: Simple feature request
Date: 15 Feb 2003 11:23:17
Message: <cjameshuff-C8D646.11220815022003@netplex.aussie.org>
In article <3e4e484d$1@news.povray.org>,
 "Apache" <apa### [at] yahoocom> wrote:

> that would break the platform independence. Maybe using something that the
> apache server does would be better: open the file and deduce from the file
> data what file type it is.

The Unix "file" command does a similar thing. It is not always 
successful, though POV would only have to deal with a much smaller 
number of formats.
Platform independance would not be a huge problem. POV already has the 
file name, pulling out the extension is not hard. However, it would have 
trouble on files without any extension (on a Mac, for instance).

I really don't see this as necessary. Not trivial to implement, and I 
don't see a benefit.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.