commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Matthew Chen <>
Subject Re: [jira] Created: (SANSELAN-25) Support for reading Radiance HDR images
Date Fri, 10 Jul 2009 02:54:18 GMT
Hi Peter,

   This is great, nice work.  Here are some notes:

   1.  Please modify the getAllImageParsers() method of ImageParser to
include your new parser - please place it last in the list of parsers
since it is a less common format.

   2.  If the Radiance HDR has "magic numbers" at the beginning of the
file which can be used to guess the format, please update the
guessFormat() method of Sanselan to reflect this.  This will enable
Sanselan to detect and handle misnamed image files as well as
inputstreams (such as network streams) without an associated filename.

   3.  Please override the getAcceptedExtensions() method of
ImageParser in HdrImageParser to reflect the file extensions
associated with this format.  Check out one of the other ImageParsers
for an example.

   4.  Please add tests if possible for these classes.  Sanselan's
unit test coverage is fairly poor at the moment - most of the tests
are integration tests.  Improving the unit test coverage is an
important goal that we're working on, and it'd be nice to add tests as
we add or update code.

   5.  Please contribute sample images in the Radiance HDR format if
you can.  Improving the suite of test images has a number of important
benefits.  For one thing, the integration tests will automatically
incorporate them.


On Thu, Jul 9, 2009 at 9:28 AM, peter royal (JIRA)<> wrote:
> Support for reading Radiance HDR images
> ---------------------------------------
>                 Key: SANSELAN-25
>                 URL:
>             Project: Commons Sanselan
>          Issue Type: New Feature
>            Reporter: peter royal
> I have added support for reading Radiance HDR images to Sanselan. The code is available
> If the changes look good (i was specifically curious about
relative to the overall library design), I can commit them as I have commons commit privs.
> Just wanted to raise this as an issue prior to just slamming changes in :)
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message