Simon,
I intentionally made the invalid component scalar int (instead of
byte) and got exactly the same error from autocolor. So I believe
the error is one coming directly back from the invalid handling
routines (rather than something specific to Band). Are you *sure*
that nothing happens to the invalid positions component before you
go into Band? Print out the input to Band and make sure that it
is still byte, and that the component is "dep" positions.
Donna Gresh
Yes. I thought I would need a second Replace to put data back in
(wasn't thinking straight). So I now have a field with invalid
positions,
checked this by passing through an AutoColor and Image, looks fine.
But
when I pass this through a Band module I get the dreaded
Error: Band: Invalid data: dependent invalid data component must be
scalar
bytes.