1 | Nconvert v5.75 |
---|
2 | XnView v1.97 |
---|
3 | |
---|
4 | Copyright (c) 1991-2010 Pierre-E Gougelet |
---|
5 | All Rights Reserved. |
---|
6 | |
---|
7 | |
---|
8 | |
---|
9 | NVIEW |
---|
10 | ===== |
---|
11 | |
---|
12 | Nview is a multi-format image viewer. |
---|
13 | |
---|
14 | Type nview -help for available options. |
---|
15 | |
---|
16 | |
---|
17 | About Nview for PC under DOS: |
---|
18 | ----------------------------- |
---|
19 | |
---|
20 | Nview is VESA compatible and works in 8,15,16 bits and truecolor mode. |
---|
21 | The only mode available is 320x200x8 if your video card doesn't |
---|
22 | support Vesa mode. |
---|
23 | |
---|
24 | For a complete description of the available modes on the display, type |
---|
25 | nview -help (and use it with -d option's) |
---|
26 | |
---|
27 | For example with my Diamond S3 864, "nview -d3 back.gif" use the 640x480x15 display. |
---|
28 | |
---|
29 | With the -p<width>x<height>x<bits>, you take the best display that matches the arguments. |
---|
30 | (Example: nview -p640x480x24 back.gif) |
---|
31 | -p0x0x0 choose the best display for the bitmap. |
---|
32 | |
---|
33 | |
---|
34 | About Nview for X Window: |
---|
35 | -------------------------------------- |
---|
36 | |
---|
37 | Nview displays bitmaps on the default visual. You can use |
---|
38 | -visual id (id is the visual number seeing with nview -help). |
---|
39 | |
---|
40 | By default, Nview display the bitmap and wait for a mouse click or the Escape key. |
---|
41 | With the -w option, Nview create one window per bitmap. |
---|
42 | |
---|
43 | Nview works with pipe, in this case the input format must be specified: |
---|
44 | cat img.tga | nview -f2 stdin |
---|
45 | |
---|
46 | |
---|
47 | NCONVERT |
---|
48 | ======== |
---|
49 | |
---|
50 | Nconvert is the multi-format commandline image converter for Win32, DOS, OS/2, and other platforms. |
---|
51 | |
---|
52 | Type "nconvert -help" for available options. |
---|
53 | |
---|
54 | Type "nconvert -help > nchelp.txt" to save the help text into the file "nchelp.txt". |
---|
55 | |
---|
56 | To convert files to a specific format, type for example : |
---|
57 | nconvert -out 5 file1.pic file2.jpg file3.tga |
---|
58 | or |
---|
59 | nconvert -out tiff file1.pic file2.jpg file3.tga |
---|
60 | |
---|
61 | With a resize : |
---|
62 | nconvert -out jpeg -ratio -resize 480 0 *.jpg |
---|
63 | nconvert -out jpeg -resize 640 480 *.jpg |
---|
64 | |
---|
65 | The input format is not necessary, it will be autodetected. If a problem occurs, use the -in option. |
---|
66 | |
---|
67 | Nconvert is able to transform images while converting: |
---|
68 | |
---|
69 | * To convert GIF files to JPEG files : |
---|
70 | nconvert -out jpeg -truecolors *.gif |
---|
71 | |
---|
72 | * To convert JPEG files to GIF files : |
---|
73 | nconvert -out gif -dither -colors 256 *.jpeg |
---|
74 | |
---|
75 | * To resize : |
---|
76 | nconvert -out png -resize 510 230 *.jpeg |
---|
77 | nconvert -out png -ratio -resize 510 0 *.jpeg |
---|
78 | nconvert -out png -ratio -resize 0 510 *.jpeg |
---|
79 | nconvert -out png -resize 200% 200% *.jpeg |
---|
80 | |
---|
81 | You can use it with images sequences. |
---|
82 | For example, to convert the files file00.pic, file01.pic, ..., file10.pic and |
---|
83 | we convert to jpeg format with the name pattern res0.jpg, res1.jpg, ... type : |
---|
84 | nconvert -out jpeg -n 1 10 1 -o res#.jpg file##.pic |
---|
85 | |
---|
86 | You can use % to specify source filename in dest filename. |
---|
87 | For example, nconvert -out jpeg -o result_%.jpg file.tga |
---|
88 | creates a file named result_file.jpg |
---|
89 | |
---|
90 | Note for windows users: in batch files you must write %% instead of %. To bypass this problem, you can use a nconvert script instead of a batch file. |
---|
91 | |
---|
92 | You can control nconvert with a script, performing multiple sets of conversions on multiple sets of files, example: |
---|
93 | |
---|
94 | ### -out png -rtype lanczos -resize 200% 150% |
---|
95 | |
---|
96 | screenshot1.bmp |
---|
97 | screenshot2.bmp |
---|
98 | screenshot3.bmp |
---|
99 | |
---|
100 | ### -out gif -rtype lanczos -resize 500% 500% -oil 10 -colours 32 |
---|
101 | |
---|
102 | F:\icons\smile.bmp |
---|
103 | |
---|
104 | ### -out bmp -rtype lanczos -resize 30% 30% -oil 2 -rotate_flag smooth -rotate 45 |
---|
105 | |
---|
106 | selfportrait.png |
---|
107 | mydog.png |
---|
108 | |
---|
109 | Save this into a text file, for example "nc.txt", and then run nconvert with this file as the only parameter: "nconvert nc.txt" . |
---|
110 | |
---|
111 | Limitations: |
---|
112 | |
---|
113 | Add text feature uses the Win32 API and is avaiable on Win32 only. |
---|
114 | |
---|
115 | Some exotical image formats use external DLL's and are available on Win32 only. |
---|
116 | |
---|
117 | When using a script file, avoid multiple spaces in the conversion definitions, they confuse the parser. |
---|
118 | |
---|
119 | Converting huge images, or scaling up to a huge size requires much memory and may not always work. |
---|
120 | |
---|
121 | Notes for DOS users: |
---|
122 | |
---|
123 | Since v4.90, nconvert is supported for DOS again. Is is a 32-bit DOS application, using the "DOS/32A Extender". |
---|
124 | |
---|
125 | Also the NVIEW picture viewer had a DOS version, but was discontinued in 2002 at version 3.87. It is available bundled with old nconvert 3.87. |
---|
126 | |
---|
127 | |
---|
128 | XnView (Extended Nview) |
---|
129 | ======================= |
---|
130 | |
---|
131 | About XnView for X Window: |
---|
132 | --------------------------- |
---|
133 | |
---|
134 | XnView requires OSF/Motif 1.2 or later. |
---|
135 | |
---|
136 | Type xnview -help for available options. |
---|
137 | |
---|
138 | XnView displays bitmaps on the default visual. You can specify |
---|
139 | an X visual id (in hexadecimal) with '-visualid id'. |
---|
140 | |
---|
141 | |
---|
142 | Linux/FreeBSD/OpenBSD Version: |
---|
143 | ----------------------------- |
---|
144 | |
---|
145 | XnView requires Linux 2.0.x, XFree86-3.2 and Lesstif v0.91 or openMotif v2.1.30 |
---|
146 | |
---|
147 | openMotif is available from the following URL's : |
---|
148 | |
---|
149 | ftp://openmotif.opengroup.org/pub/openmotif/R2.1.30/binaries/metrolink/ |
---|
150 | |
---|
151 | Lesstif is available from the following URL's |
---|
152 | |
---|
153 | http://www.lesstif.org/products/lesstif/ |
---|
154 | ftp://ftp.lesstif.org/pub/hungry/lesstif/bindist |
---|
155 | |
---|
156 | |
---|
157 | About XnView for Windows (x86): |
---|
158 | ------------------------------- |
---|
159 | |
---|
160 | XnView for windows requires Windows 3.x with Win32s, or Windows 95/98/Me/NT/2000. |
---|
161 | |
---|
162 | |
---|
163 | Windows 3.1x users note: |
---|
164 | ----------------------- |
---|
165 | You'll need the latest release of win32s for Microsoft Windows 3.1x |
---|
166 | and Windows for Workgroup 3.1x. |
---|
167 | |
---|
168 | If there is a file called 'win32s.ini' in the directory \windows\system, |
---|
169 | you already have win32s. This file contains the version information. |
---|
170 | If the version number is equal or greater than 1.30.172 (v1.30c), |
---|
171 | you don't have to reinstall win32s. |
---|
172 | |
---|
173 | Win32s v1.30c can be downloaded via |
---|
174 | ftp://ftp.rmc.edu/pub/windows16/win32s13.exe |
---|
175 | |
---|
176 | |
---|
177 | About Unix version: |
---|
178 | ------------------ |
---|
179 | |
---|
180 | You will need to set the |
---|
181 | * LD_LIBRARY_PATH (Irix, Linux, FreeBSD) |
---|
182 | * SHLIB_PATH (HP-UX) |
---|
183 | * LIBPATH (AIX) |
---|
184 | * LIBRARY_PATH (BeOS) |
---|
185 | environment variable with the path where the libraries are. |
---|
186 | |
---|
187 | By default 'install' puts the libraries in /usr/local/lib. |
---|
188 | |
---|