Cannot convert png to pgm.

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, xnview

Post Reply
Tlsky

Cannot convert png to pgm.

Post by Tlsky » Thu Jun 07, 2007 1:00 pm

Command:nconvert -out pgm -colors 256 m_imLMask.png
Error: This picture cannot be written using this format (m_imLMask.png)

I don't know how to deal with it.

Tlsky

Post by Tlsky » Thu Jun 07, 2007 1:23 pm

It is soloved, use the parameter "-grey 256"

Post Reply