Hi Glenn,

The .osga plugin relies on OSG plugins supporting writing and reading
from istreams, not all loaders support write, let alone write to
istream.   Due to this limitation .osga is really not a general
purpose container, its real purpose is to archive native formats.

Robert.

On Thu, Mar 20, 2008 at 12:59 PM, Glenn Waldron <[EMAIL PROTECTED]> wrote:
> I am trying to store images (GIF, JPG etc) in ".osga" archive files. This
> works for image types whose plugin implements a writeImage() method, but for
> those that don't, there is no pathway by which to get the image into the
> archive. This is straightforward to demonstrate:
>
>   osgarchive --archive test.osga --insert image.gif
>   osgarchive --archive test.osga --list
>
> The GIF file will not be present in the listing.
>
> I'd like to get peoples' thoughts on the best way to handle this (short of
> implementing writers for every plugin).
>
> One idea would be: if no writer is available, fall back to simply doing a
> straight byte-copy of the image's source file (if available) into the
> archive.
>
> I am happy to contribute the implementation once we can agree on one.
> Thanks!
>  Glenn
>
> --
> Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : 703-652-4791
> _______________________________________________
>  osg-users mailing list
>  [email protected]
>  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to