help, I can not convert into the desired format Prompt

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

Moderators: helmut, XnTriq, xnview

Post Reply
thefree

help, I can not convert into the desired format Prompt

Post by thefree »

Code: Select all

nconvert -quiet -colors 2 -c 6 -rmeta -out tiff -o bike-test2.tif bike-test2.gif
info bike-test2.tif

Code: Select all

bike-test2.tif : Success
    Format               : TIFF
    Name                 : tiff
    Compression          : Uncompressed
    Width                : 453
    Height               : 581
    Components per pixel : 1
    Bits per component   : 4
    Depth                : 4
    # colors             : 16
    Color model          : RGB
    Bytes Per Plane      : 227
    Orientation          : Top Left
    Xdpi                 : 72
    Ydpi                 : 72
    Page(s)              : 1
tiff form must be obtained with such parameters

Code: Select all

    Format               : TIFF
    Name                 : tiff
    Compression          : CCITT Group 3-2D
    Width                : 1728
    Height               : 1142
    Components per pixel : 1
    Bits per component   : 1
    Depth                : 1
    # colors             : 2
    Color model          : RGB
    Bytes Per Plane      : 216
    Orientation          : Top Left
    Xdpi                 : 204
    Ydpi                 : 98
    Page(s)              : 1
Please Give me what is missing
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: help, I can not convert into the desired format Prompt

Post by xnview »

use -binary dither instead -colors 2
Pierre.
Guest

Post by Guest »

Code: Select all

 nconvert -binary dither instead -colors 2 -quiet -colors 2 -c 6 -rmeta -out tiff -o bike-test2.tif bike-test2.gif

Bad binary dithering 'dither'

Code: Select all

** NCONVERT v5.02 (c) 1991-2008 Pierre-E Gougelet (Aug  4 2008/10:02:41) **
        Version for Linux x86 (X11)  (All rights reserved)
** This is a freeware software (for non commercial use)
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Try

Code: Select all

 nconvert -binary dither -quiet -c 6 -rmeta -out tiff -o bike-test2.tif bike-test2.gif
Pierre.
Post Reply