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 »

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 »

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