[Radiance-general] Re: Legend falsecolor?

Greg Ward gward at lmi.net
Mon Mar 8 22:41:41 CET 2004


I finally got around to checking in Rob's change that allows the legend 
size to be controlled in falsecolor.  I made it so setting -lw (or -lh) 
to zero turns legend output off.  This is now in the HEAD release, 
which will be available as a dump the day after tomorrow, I guess.

-Greg

> From: Rob Guglielmetti <rpg at rumblestrip.org>
> Date: March 5, 2004 9:23:33 AM PST
>
> Greg Ward wrote:
>> I often resort to using pcompos to cut off the legend or convert it 
>> to TIFF and edit it in Photoshop or the like.
>> Rob Guglielmetti wrote a vartiation that should go into the next 
>> release that allows one to alter the dimensions of the legend, and 
>> I'll make sure that it allows zero dimensions to cut it off.
>
> At the moment, with my modified falsecolor script, when we try to use 
> a legend width and/or height of zero pcomb complains: "illegal output 
> resolution".  For added fun, if we use a value of 1-4 pixels we get 
> the following: "system - Out of memory in makemap: No such file or 
> directory".
>
> Using values >= 5 for the legend height and/or width works just fine 
> though.  But even with just five pixels there's still a little sliver 
> of black along the left edge.  For truly legendless falsecolors, 
> Peter's modification is the way to go, or of course Greg's original 
> solution works too.
>
> It'd be great if my modifications worked all the way down to zero. 
> Maybe we could add a switch to make the legend optional.




More information about the Radiance-general mailing list