The current TriD imagrgb() routine does not naturally
support RGB photo display:
(1) The image is scaled to fit the default window
size rather than maintaining square pixels as
is usually desired for photo/image display.
(2) The image window comes up with default aspect
even if created by the imagrgb call---it would
be better if it "fit" the image to be displayed
(3) It would be nice if integer data were
autoscaled to the 0..1 float range to simplify
image display (i.e. 24bit color photos)
To replicate this with perldl:
$im = sequence(8,6)/48;
As an example of (3), it would be nice if
using $im = sequence(8,6) would work as
well, without the division by 48.
NOTE: The aspect ratio problems have been addressed
in the imag2d() routine currently being tested in the
Log in to post a comment.