Convert to Monochrome 1bpp images

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

Moderators: XnTriq, xnview

Post Reply
brent
Posts: 1
Joined: Fri Nov 30, 2018 2:06 am

Convert to Monochrome 1bpp images

Post by brent » Fri Nov 30, 2018 2:18 am

I've been able to convert an image from 8 bit to 4 bit with the following command:

nconvert.exe -o 1bit.bmp -wflag os2 -colors -16 8bit.bmp

But I am not able to convert to a true monochrome image with 1 bit per pixel, even when I set -colors to 2 or 1. How can I convert to a 1 bpp image?

User avatar
xnview
Author of XnView
Posts: 31372
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Convert to Monochrome 1bpp images

Post by xnview » Fri Nov 30, 2018 7:59 am

please use -binary
Pierre.

Post Reply