Lines Matching refs:image

30     Image image( geometry, canvasColor);  in main()  local
37 if ( image.textAntiAlias() != true ) in main()
44 image.textAntiAlias( false ); in main()
45 if ( image.textAntiAlias() != false ) in main()
52 image.textAntiAlias( true ); in main()
53 if ( image.textAntiAlias() != true ) in main()
64 if ( image.adjoin() != true ) in main()
72 image.adjoin( false ); in main()
73 if ( image.adjoin() != false ) in main()
80 image.adjoin( true ); in main()
81 if ( image.adjoin() != true ) in main()
92 if ( image.animationDelay() != 0 ) in main()
96 << image.animationDelay() in main()
101 image.animationDelay( 0 ); in main()
102 if ( image.animationDelay() != 0 ) in main()
110 image.animationDelay( 100 ); in main()
111 if ( image.animationDelay() != 100 ) in main()
117 image.animationDelay(0); in main()
124 if ( image.animationIterations() != 0 ) in main()
129 << image.animationIterations() in main()
134 image.animationIterations( 0 ); in main()
135 if ( image.animationIterations() != 0 ) in main()
143 image.animationIterations( 100 ); in main()
144 if ( image.animationIterations() != 100 ) in main()
150 image.animationIterations( 0 ); in main()
157 if ( image.backgroundColor() != string(ColorRGB("white")) ) in main()
161 << string(image.backgroundColor()) in main()
166 image.backgroundColor("blue"); in main()
167 if ( !image.backgroundColor().isValid() ) in main()
171 << string(image.backgroundColor()) in main()
175 if ( string(image.backgroundColor()) != "#0000FF" && in main()
176 string(image.backgroundColor()) != "#00000000FFFF" && in main()
177 string(image.backgroundColor()) != "#0000000000000000FFFFFFFF" ) in main()
181 << string(image.backgroundColor()) << ") is incorrect" in main()
186 image.backgroundColor("#00AAFF"); in main()
187 if ( !image.backgroundColor().isValid() ) in main()
191 << string(image.backgroundColor()) in main()
195 if ( string(image.backgroundColor()) != "#00AAFF" && in main()
196 string(image.backgroundColor()) != "#0000AAAAFFFF" && in main()
197 string(image.backgroundColor()) != "#00000000AAAAAAAAFFFFFFFF" ) in main()
202 << string(image.backgroundColor()) in main()
212 if ( image.backgroundTexture() != "" ) in main()
216 << image.backgroundTexture() in main()
221 image.backgroundTexture("afile.jpg"); in main()
222 if ( image.backgroundTexture() != "afile.jpg" ) in main()
226 << image.backgroundTexture() in main()
231 image.backgroundTexture(""); in main()
232 if ( image.backgroundTexture() != "" ) in main()
237 << image.backgroundTexture() in main()
244 if ( image.baseColumns() != columns ) in main()
249 << image.baseColumns() in main()
261 if ( image.baseFilename() != "xc:#FF0000" && in main()
262 image.baseFilename() != "xc:#FFFF00000000" && in main()
263 image.baseFilename() != "xc:#FFFFFFFF0000000000000000") in main()
268 << image.baseFilename() in main()
276 if ( image.baseRows() != rows ) in main()
281 << image.baseRows() in main()
291 if ( image.borderColor() != ColorRGB("#dfdfdf") ) in main()
296 << string(image.borderColor()) in main()
300 image.borderColor("#FF0000"); in main()
301 if ( image.borderColor() != Color("#FF0000") ) in main()
306 << string(image.borderColor()) in main()
310 image.borderColor("black"); in main()
311 if ( image.borderColor() != Color("#000000") ) in main()
316 << string(image.borderColor()) in main()
324 image.boxColor("#FF0000"); in main()
325 if ( image.boxColor() != Color("#FF0000") ) in main()
330 << string(image.boxColor()) in main()
335 image.boxColor("black"); in main()
336 if ( image.boxColor() != Color("#000000") ) in main()
341 << string(image.boxColor()) in main()
352 image.chromaBluePrimary(&x, &y, &z); in main()
362 image.chromaBluePrimary(50, 100, 150 ); in main()
363 image.chromaBluePrimary(&x, &y, &z); in main()
378 image.chromaGreenPrimary(&x, &y, &z); in main()
387 image.chromaGreenPrimary(50, 100, 150); in main()
388 image.chromaGreenPrimary(&x, &y, &z); in main()
403 image.chromaRedPrimary(&x, &y, &z); in main()
412 image.chromaRedPrimary(50, 100, 150); in main()
413 image.chromaRedPrimary(&x, &y, &z); in main()
428 image.chromaWhitePoint(&x, &y, &z); in main()
437 image.chromaWhitePoint(50, 100, 150); in main()
438 image.chromaWhitePoint(&x, &y, &z); in main()
450 if ( image.classType() != DirectClass ) in main()
461 if ( image.colorFuzz() != 0 ) in main()
468 image.colorFuzz( 2 ); in main()
469 if ( image.colorFuzz() != 2 ) in main()
474 image.colorFuzz( 0 ); in main()
479 if ( image.columns() != columns ) in main()
490 if ( image.comment().length() != 0 ) in main()
500 image.comment( comment ); in main()
501 if ( image.comment() != comment ) in main()
509 image.comment( string() ); in main()
510 if ( image.comment().length() != 0 ) in main()
520 if ( image.compressType() != UndefinedCompression ) in main()
528 image.compressType(RLECompression); in main()
529 if ( image.compressType() != RLECompression ) in main()
534 image.compressType(UndefinedCompression); in main()
541 if ( image.density() != Point(72) ) in main()
550 image.density(density); in main()
551 if ( image.density() != density ) in main()
558 if ( image.xResolution() != 150 || in main()
559 image.yResolution() != 75 ) in main()
565 image.density("72x72"); in main()
572 if (image.defineSet("foo","bar")) in main()
580 image.defineSet("foo","bar",true); in main()
581 if (!image.defineSet("foo","bar")) in main()
589 image.defineSet("foo","bar",false); in main()
590 if (image.defineSet("foo","bar")) in main()
598 image.defineValue("foo","bar","value"); in main()
599 std::string value = image.defineValue("foo","bar"); in main()
600 if (image.defineValue("foo","bar") != "value") in main()
609 image.defineSet("foo","bar",false); in main()
610 if (image.defineSet("foo","bar")) in main()
621 if ( image.depth() != MAGICKCORE_QUANTUM_DEPTH ) in main()
626 << image.depth() in main()
661 if ( image.fileName() != string("xc:") + string(canvasColor) ) in main()
667 << image.fileName() in main()
674 image.fileName("filename.jpg"); in main()
675 if ( image.fileName() != "filename.jpg" ) in main()
681 << image.fileName() in main()
684 image.fileName(canvasColor); in main()
690 if ( image.fileSize() != 0 ) in main()
694 << static_cast<ssize_t>(image.fileSize()) in main()
702 if ( image.filterType() != UndefinedFilter ) in main()
707 << (int)image.filterType() in main()
712 image.filterType( TriangleFilter ); in main()
713 if ( image.filterType() != TriangleFilter ) in main()
725 image.font("helvetica"); in main()
726 if ( image.font() != "helvetica" ) in main()
732 image.font( string() ); in main()
733 if ( image.font().length() != 0 ) in main()
743 if ( image.fontPointsize() != 0 ) in main()
748 << image.fontPointsize() in main()
754 image.fontPointsize(10); in main()
755 if ( image.fontPointsize() != 10 ) in main()
761 image.fontPointsize(12); in main()
766 if ( image.format() != "Constant image uniform color" ) in main()
770 << ", format (" << image.format() << ") is not expected value" << endl; in main()
776 if ( image.gamma() == 1.0f) in main()
790 image.geometry(); in main()
808 if ( image.gifDisposeMethod() != 0 ) in main()
816 image.gifDisposeMethod(BackgroundDispose); in main()
817 if ( image.gifDisposeMethod() != BackgroundDispose ) in main()
823 image.gifDisposeMethod(UndefinedDispose); in main()
829 if ( image.interlaceType() != NoInterlace ) in main()
837 image.interlaceType( PlaneInterlace ); in main()
838 if ( image.interlaceType() != PlaneInterlace ) in main()
843 image.interlaceType(NoInterlace); in main()
849 if ( image.label().length() != 0 ) in main()
857 image.label("How now brown cow?"); in main()
858 if ( image.label() != "How now brown cow?" ) in main()
864 image.label( string() ); in main()
865 if ( image.label().length() != 0 ) in main()
875 if ( image.strokeWidth() != 1 ) in main()
883 image.strokeWidth(2); in main()
884 if ( image.strokeWidth() != 2 ) in main()
889 image.strokeWidth(1); in main()
895 if ( image.magick() != "XC" ) in main()
903 image.magick("GIF"); in main()
904 if ( image.magick() != "GIF" ) in main()
910 image.magick("XC"); in main()
916 if ( image.alpha() != false ) in main()
924 image.alpha(true); in main()
925 if ( image.alpha() != true ) in main()
930 image.alpha(false); in main()
936 if ( image.matteColor() != Color("#BDBDBD") ) in main()
944 image.matteColor(ColorRGB(0.5,0.5,1)); in main()
945 if ( image.matteColor() != ColorRGB(0.5,0.5,1) ) in main()
952 image.matteColor( Color() ); in main()
954 image.matteColor("#BDBDBD"); in main()
959 if ( image.meanErrorPerPixel() != 0 ) in main()
973 image.montageGeometry(); in main()
991 if ( image.monochrome() != false ) in main()
999 image.monochrome(true); in main()
1000 if ( image.monochrome() != true ) in main()
1005 image.monochrome(false); in main()
1010 if ( image.normalizedMaxError() != 0 ) in main()
1020 if ( image.normalizedMeanError() != 0 ) in main()
1031 image.strokeColor(ColorRGB(0.5,0.5,1)); in main()
1032 if ( image.strokeColor() != ColorRGB(0.5,0.5,1) ) in main()
1036 << string(image.strokeColor()) in main()
1045 image.fillColor(ColorRGB(0.5,0.5,1)); in main()
1046 if ( image.fillColor() != ColorRGB(0.5,0.5,1) ) in main()
1050 << string(image.fillColor()) in main()
1058 if ( image.pixelColor(40,60) != string(canvasColor) ) in main()
1062 << string(image.pixelColor(40,60)) in main()
1069 image.pixelColor(40,60, ColorRGB(0.5,1,1)); in main()
1070 if ( image.pixelColor(40,60) != ColorRGB(0.5,1,1) ) in main()
1080 if ( image.page() != Geometry(640,480,0,0) ) in main()
1084 << "(" << string(image.page()) << ")" in main()
1089 image.page("letter+43+43>"); in main()
1090 if ( image.page() != "612x792+43+43" ) in main()
1094 << ", page set/get failed (" << string(image.page()) << ")" << endl; in main()
1101 if ( image.quality() != 0 ) in main()
1109 image.quality(65); in main()
1110 if ( image.quality() != 65 ) in main()
1115 image.quality(0); in main()
1121 if ( image.quantizeColors() != 256 ) in main()
1129 image.quantizeColors(200); in main()
1130 if ( image.quantizeColors() != 200 ) in main()
1135 image.quantizeColors(0); in main()
1141 if ( image.quantizeColorSpace() != UndefinedColorspace ) in main()
1149 image.quantizeColorSpace(YIQColorspace); in main()
1150 if ( image.quantizeColorSpace() != YIQColorspace ) in main()
1156 image.quantizeColorSpace(RGBColorspace); in main()
1162 if ( image.quantizeDither() == false ) in main()
1170 image.quantizeDither(false); in main()
1171 if ( image.quantizeDither() != false ) in main()
1177 image.quantizeDither(true); in main()
1182 if ( image.quantizeTreeDepth() != 0 ) in main()
1186 << image.quantizeTreeDepth() in main()
1190 image.quantizeTreeDepth(7); in main()
1191 if ( image.quantizeTreeDepth() != 7 ) in main()
1197 image.quantizeTreeDepth(8); in main()
1202 if ( image.renderingIntent() == UndefinedIntent ) in main()
1210 image.renderingIntent(PerceptualIntent); in main()
1211 if ( image.renderingIntent() != PerceptualIntent ) in main()
1217 image.renderingIntent(UndefinedIntent); in main()
1222 if ( image.resolutionUnits() != UndefinedResolution ) in main()
1230 image.resolutionUnits(PixelsPerCentimeterResolution); in main()
1231 if ( image.resolutionUnits() != PixelsPerCentimeterResolution ) in main()
1237 image.resolutionUnits(UndefinedResolution); in main()
1242 if ( image.rows() != rows ) in main()
1252 if ( image.scene() != 0 ) in main()
1259 image.scene(5); in main()
1260 if ( image.scene() != 5 ) in main()
1266 image.scene(0); in main()
1272 if ( image.signature() != "146366a0f4150adc7b28f4f5da750ec2ca2c50ff8b14f894ce1e4d7d4058f465" && in main()
1273 image.signature() != "b89bff8473dd6fe2302bcfd365e7d20daf7bd97ad667fe42d1a87469fce0d138" && in main()
1274 image.signature() != "5caa527c00cf9e59345de4aaef4f0c2312d1955c2f391ccafa98f8e11370e6e0" && in main()
1275 image.signature() != "b891ddb1d32cd45c6329180e5bd733eebb8dd06c401a9c721841ec43e4a662f8") in main()
1279 << image.signature() in main()
1281 image.display(); in main()
1287 if ( image.size() != geometry ) in main()
1291 << string(image.size()) in main()
1298 image.size("800x600"); in main()
1299 if ( image.size() != Geometry("800x600") ) in main()
1304 image.size( geometry ); in main()
1309 if ( image.subImage() != 0 ) in main()
1316 image.subImage(5); in main()
1317 if ( image.subImage() != 5 ) in main()
1323 image.subImage(0); in main()
1328 if ( image.subRange() != 0 ) in main()
1335 image.subRange(5); in main()
1336 if ( image.subRange() != 5 ) in main()
1342 image.subRange(0); in main()
1347 if ( image.totalColors() != 2 ) in main()
1350 cout << "Line: " << __LINE__ << ", totalColors is " << image.totalColors() in main()
1357 image.type(PaletteType); in main()
1358 if ( image.type() != PaletteType ) in main()
1363 << (int) image.type() << endl; in main()
1370 if ( image.verbose() != false ) in main()
1380 if ( image.x11Display().length() != 0 ) in main()
1387 image.x11Display(":0.0"); in main()
1388 if ( image.x11Display() != ":0.0" ) in main()
1395 image.x11Display( string() ); in main()
1396 if ( image.x11Display().length() != 0 ) in main()
1406 if ( image.xResolution() != 72 ) in main()
1410 << ", xResolution default (" << image.xResolution() in main()
1417 if ( image.yResolution() != 72 ) in main()
1421 << ", yResolution default (" << image.yResolution() in main()