Lines Matching +full:test +full:. +full:rgb
3 # dedicated to making software imaging solutions freely available.
5 # You may not use this file except in compliance with the License. You may
8 # http://www.imagemagick.org/script/license.php
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # limitations under the License.
16 # Test writing formats supported directly by ImageMagick
19 BEGIN { $| = 1; $test=1; print "1..32\n"; }
20 END {print "not ok $test\n" unless $loaded;}
24 require 't/subroutines.pl';
28 print("AVS X image file ...\n");
29 testReadWrite( 'AVS:input.avs',
30 'AVS:output.avs',
34 print("Microsoft Windows bitmap image file ...\n");
35 ++$test;
36 testReadWrite( 'BMP:input.bmp',
37 'BMP:output.bmp',
41 print("Microsoft Windows 24-bit bitmap image file ...\n");
42 ++$test;
43 testReadWrite( 'BMP:input.bmp24',
44 'BMP:output.bmp24',
48 print("ZSoft IBM PC multi-page Paintbrush file ...\n");
49 ++$test;
50 testReadWrite( 'DCX:input.dcx',
51 'DCX:output.dcx',
55 print("Microsoft Windows 3.X DIB file ...\n");
56 ++$test;
57 testReadWrite( 'DIB:input.dib',
58 'DIB:output.dib',
62 print("Flexible Image Transport System ...\n");
63 ++$test;
64 testReadWrite( 'FITS:input.fits',
65 'FITS:output.fits',
69 print("CompuServe graphics interchange format ...\n");
70 ++$test;
71 testReadWrite( 'GIF:input.gif',
72 'GIF:output.gif',
77 print("CompuServe graphics interchange format (1987) ...\n");
78 ++$test;
79 testReadWrite( 'GIF87:input.gif87',
80 'GIF87:output.gif87',
85 print("Magick image file format ...\n");
86 ++$test;
87 testReadWrite( 'MIFF:input.miff',
88 'MIFF:output.miff',
92 print("MTV Raytracing image format ...\n");
93 ++$test;
94 testReadWrite( 'MTV:input.mtv',
95 'MTV:output.mtv',
99 print("Portable bitmap format (black and white), ASCII format ...\n");
100 ++$test;
101 testReadWrite( 'PBM:input_p1.pbm',
102 'PBM:output_p1.pbm',
106 print("Portable bitmap format (black and white), binary format ...\n");
107 ++$test;
108 testReadWrite( 'PBM:input_p4.pbm',
109 'PBM:output_p4.pbm',
113 print("ZSoft IBM PC Paintbrush file ...\n");
114 ++$test;
115 testReadWrite( 'PCX:input.pcx',
116 'PCX:output.pcx',
120 print("Portable graymap format (gray scale), ASCII format ...\n");
121 ++$test;
122 testReadWrite( 'PGM:input_p2.pgm',
123 'PGM:output_p2.pgm',
127 print("Apple Macintosh QuickDraw/PICT file ...\n");
128 ++$test;
129 testReadWrite( 'PICT:input.pict',
130 'PICT:output.pict',
134 print("Portable pixmap format (color), ASCII format ...\n");
135 ++$test;
136 testReadWrite( 'PPM:input_p3.ppm',
137 'PPM:output_p3.ppm',
141 print("Portable graymap format (gray scale), binary format ...\n");
142 ++$test;
143 testReadWrite( 'PGM:input_p5.pgm',
144 'PGM:output_p5.pgm',
148 print("Portable pixmap format (color), binary format ...\n");
149 ++$test;
150 testReadWrite( 'PPM:input_p6.ppm',
151 'PPM:output_p6.ppm',
155 print("Adobe Photoshop bitmap file ...\n");
156 ++$test;
157 testReadWrite( 'PSD:input.psd',
158 'PSD:output.psd',
162 print("Irix RGB image file ...\n");
163 ++$test;
164 testReadWrite( 'SGI:input.sgi',
165 'SGI:output.sgi',
169 print("SUN 1-bit Rasterfile ...\n");
170 ++$test;
171 testReadWrite( 'SUN:input.im1',
172 'SUN:output.im1',
176 print("SUN 8-bit Rasterfile ...\n");
177 ++$test;
178 testReadWrite( 'SUN:input.im8',
179 'SUN:output.im8',
184 print("SUN True-Color Rasterfile ...\n");
185 ++$test;
186 testReadWrite( 'SUN:input.im24',
187 'SUN:output.im24',
191 print("Truevision Targa image file ...\n");
192 ++$test;
193 testReadWrite( 'TGA:input.tga',
194 'TGA:output.tga',
198 print("Khoros Visualization image file ...\n");
199 ++$test;
200 testReadWrite( 'VIFF:input.viff',
201 'VIFF:output.viff',
206 print("WBMP (Wireless Bitmap (level 0) image) ...\n");
207 ++$test;
208 testReadWrite( 'WBMP:input.wbmp',
209 'WBMP:output.wbmp',
213 print("X Windows system bitmap (black and white only) ...\n");
214 ++$test;
215 testReadWrite( 'XBM:input.xbm',
216 'XBM:output.xbm',
220 print("X Windows system pixmap file (color) ...\n");
221 ++$test;
222 testReadWrite( 'XPM:input.xpm',
223 'XPM:output.xpm',
228 print("CMYK format ...\n");
229 ++$test;
230 testReadWriteSized( 'CMYK:input_70x46.cmyk',
231 'CMYK:output_70x46.cmyk',
237 print("GRAY format ...\n");
238 ++$test;
239 testReadWriteSized( 'GRAY:input_70x46.gray',
240 'GRAY:output_70x46.gray',
246 print("RGB format ...\n");
247 ++$test;
248 testReadWriteSized( 'RGB:input_70x46.rgb',
249 'RGB:output_70x46.rgb',
256 print("RGBA format ...\n");
257 ++$test;
258 testReadWriteSized( 'RGBA:input_70x46.rgba',
259 'RGBA:output_70x46.rgba',