Thanks Magic, Looking forward to it.
I've been testing my home-brew function this afternoon, and it appears to work reliably.
In terms of naming the function:
Option 1
Starting with a blank piece of paper you would use $im->Colorspace(colorspace=>'XYZ') to mimic -colorspace XYZ
and $im->Set(colorspace=>'XYZ' ) to mimic -set colorspace XYZ.
However, that would involve altering the functionality of a long standing command (unlikely to be popular).
Option 2
Retain $im->Set(colorspace=>"XYZ") for -colorspace XYZ
add new function $im_>Set(Set_colorspace=>"XYZ) or $im->Set(Colorspace_set=>"XYZ") for -set colorspace XYZ.
Easy to program and 1st version has the words in the correct order (similar to command line)
Option 3
Prefix or suffix the colorspace attribute (which is what you may have been getting at in your initial post)
$im->Set(colorspace=>"set_XYZ") or $im->Set(colorspace=>"XYZ_set").
Marginally more tricky to programme, and perhaps not quite so clear.
Personally I'd prefer something along the lines of Option 2, but you guys know your stuff so I'll leave that to you.
Thanks again for your assistance.
........... and (now I've got a few months experience under my belt) IM is a fantastic product - though not without it's foibles
.
Mike