|
From: Ethan A M. <merritt@u.washington.edu> - 2006-11-16 17:21:09
|
Yesterday I committed to CVS a patch that Dan Sebald and I worked out. It removes many restrictions on the use of RGBIMAGE in 3D plots, and the use of RGB color in polygons derived from image data. Now all terminal drivers that can handle RGB colors and filled polygons can automatically also handle image and rgbimage plot styles. This extends the capabilities of svg, xfig, and maybe other terminals. The specialized code for image handling could be removed from gd.trm, for instance. Also x11. Is this worth doing? The specialized image handling code in post.trm is still useful because it drastically reduces the output file size, however. An interesting note: The patch removed as much code as it added. Net change: +2 lines of code. And this is aside from the possibility of now removing the special-case term->image code from gd.trm, x11, and maybe other terminal drivers. -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |