Hi Bryce,

Submissions looks good, now merged and submitted to svn/trunk.

The only thing mising was the addition of a supportsOption(..) to the
ReaderWriterTIFF constructor, I'm guess something like:

        supportsOption("no_compression","disable TIFF compression when
writing images.");
        supportsOption("x_resolution <DPI>","use specified horizontal
DPI when writing images.");
        supportsOption("y_resolution <DPI>","use specified vertical
DPI when writing images.");

Would be appropriate, however, I'll let you choose the exact language
as you know more about the specifics of TIFF than I do!  Let me know
what you think would be apporpriate/send me a revised
ReaderWriterTIFF.cpp with the appropriate changes.

Cheers,
Robert.

On Thu, May 19, 2011 at 11:44 PM, Bryce Eldridge <[email protected]> wrote:
> Hi,
>
> Here is an update for the TIFF plugin that includes the following features 
> when writing out TIFF files:
>
> - Support for writing unsigned 16-bit images (GL_UNSIGNED_SHORT)
> - Code to parse the options string for the following options:
> -- Flag to turn off the compression. The PACKBITS compression type causes 
> issues for me with some programs on Windows (Picasa for example).
> -- Options to set the XRESOLUTION and YRESOLUTION tags (DPI) in the TIFF file.
>
> Existing behavior (PACKBITS compression, DPI tags left at default) is 
> preserved if the options string is not set.
>
> Please note that I'm relatively new to the OSG codebase, so if there is a 
> better or preferred way of implementing these features, let me know.
>
> I've tested this using OSG 2.8.3 in my application and also compiled against 
> the latest code in SVN. The attached file was modified from the latest SVN 
> code (12332).
>
> Thanks,
> Bryce
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39581#39581
>
>
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to