Preventing -extent from converting to RGB

Toby Thain <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
Hi,

I have a grey scale source image and I am applying a -rotate and an 
-extent operation. I'm finding that the output is RGB, presumably 
because of the background colour? Is there any way of getting the 
equivalent of -extent without the RGB conversion? (I know I can add a 
-channel to go back to greyscale, but it seems superfluous.)

Thanks
--Toby

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.