Revision: 20105 http://sourceforge.net/p/jmol/code/20105 Author: hansonr Date: 2014-11-11 13:04:09 +0000 (Tue, 11 Nov 2014) Log Message: ----------- code comments; clearer code in GifEncoder
Modified Paths: -------------- trunk/Jmol/src/javajs/img/GifEncoder.java Modified: trunk/Jmol/src/javajs/img/GifEncoder.java =================================================================== --- trunk/Jmol/src/javajs/img/GifEncoder.java 2014-11-11 13:01:20 UTC (rev 20104) +++ trunk/Jmol/src/javajs/img/GifEncoder.java 2014-11-11 13:04:09 UTC (rev 20105) @@ -480,11 +480,12 @@ /** * - * Assign all colors to their closest approximation and change pixels[] array - * to index values. + * Assign all colors to their closest approximation and return an array of + * color indexes. * - * Floyd-Steinberg dithering, with error limiting to 75%. Finds the closest - * known color and then spreads out the error over four leading pixels. + * Uses Floyd-Steinberg dithering, finding the closest known color and then + * spreading out the error over four leading pixels. Limits error to +/- 75 + * percent in normalized L*a*b space. * * @param cells * quantized color cells This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits