Allows CustomPaletteBuilder to deal with gray images
----------------------------------------------------
Key: GEOT-3456
URL: http://jira.codehaus.org/browse/GEOT-3456
Project: GeoTools
Issue Type: Bug
Components: core coverage
Affects Versions: 2.7-RC2
Reporter: Daniele Romagnoli
Assignee: Daniele Romagnoli
Fix For: 2.7.0, 2.8-M1
The actual CustomPaletteBuilder doesn't make any check on the input number of
bands.
When setting up the palette's node it simply takes rgb[0], rgb[1], and rgb[2].
Being a gray image, a single band image, there is no rgb[1], rgb[2]... We
should add more checks and logics to deal with gray images.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel