ImageWorker rescaleToBytes sometimes fails to preserve source dynamic ---------------------------------------------------------------------
Key: GEOT-2562 URL: http://jira.codehaus.org/browse/GEOT-2562 Project: GeoTools Issue Type: Improvement Affects Versions: 2.6-M1, 2.5.6 Reporter: Simone Giannecchini Assignee: Simone Giannecchini In case the source image is constant and has a value between 0 and 255, that means that it can be ported as is to a byte image, the rescaleToBytes tries anyway to rescale the dynamic resulting in an image that has a constant value of 0. We need to fina a way to bypass the rescale operation when the min and maximum for each band are close to one another and relay on the clamping capabilities of the format operation. -- 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 ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel