forked from ImageMagick/Website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
7921 lines (6083 loc) · 368 KB
/
Copy pathindex.html
File metadata and controls
7921 lines (6083 loc) · 368 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
title: "Command-line Options"
description: "Explore the complete list of ImageMagick command-line options with detailed explanations and usage examples. Learn how to control image conversion, editing, and processing through powerful flags and parameters for cross-platform workflows. This reference guide empowers developers and system administrators to master ImageMagick’s versatile CLI tools for automation, scripting, and advanced image manipulation."
---
<div>
<br/>
<div class="btn-group">
<button class="btn btn-secondary dropdown-toggle" type="button" id="defaultDropdown" data-bs-toggle="dropdown" data-bs-auto-close="true" aria-expanded="false">
Select CLI Option
</button>
<ul class="dropdown-menu overflow-auto p-3 mb-2 text-body-secondary bg-body-tertiary" aria-labelledby="defaultDropdown">
<li><a class="dropdown-divider" href="#"><b>A</b></a></li>
<li><a class="dropdown-item" href="#adaptive-blur">adaptive-blur</a></li>
<li><a class="dropdown-item" href="#adaptive-resize">adaptive-resize</a></li>
<li><a class="dropdown-item" href="#adaptive-sharpen">adaptive-sharpen</a></li>
<li><a class="dropdown-item" href="#adjoin">adjoin</a></li>
<li><a class="dropdown-item" href="#affine">affine</a></li>
<li><a class="dropdown-item" href="#alpha">alpha</a></li>
<li><a class="dropdown-item" href="#annotate">annotate</a></li>
<li><a class="dropdown-item" href="#antialias">antialias</a></li>
<li><a class="dropdown-item" href="#append">append</a></li>
<li><a class="dropdown-item" href="#attenuate">attenuate</a></li>
<li><a class="dropdown-item" href="#authenticate">authenticate</a></li>
<li><a class="dropdown-item" href="#auto-gamma">auto-gamma</a></li>
<li><a class="dropdown-item" href="#auto-level">auto-level</a></li>
<li><a class="dropdown-item" href="#auto-orient">auto-orient</a></li>
<li><a class="dropdown-item" href="#auto-threshold">auto-threshold</a></li>
<li><a class="dropdown-divider" href="#"><b>B</b></a></li>
<li><a class="dropdown-item" href="#backdrop">backdrop</a></li>
<li><a class="dropdown-item" href="#background">background</a></li>
<li><a class="dropdown-item" href="#bench">bench</a></li>
<li><a class="dropdown-item" href="#bias">bias</a></li>
<li><a class="dropdown-item" href="#bilateral-blur">bilateral-blur</a></li>
<li><a class="dropdown-item" href="#black-point-compensation">black-point-compensation</a></li>
<li><a class="dropdown-item" href="#black-threshold">black-threshold</a></li>
<li><a class="dropdown-item" href="#blend">blend</a></li>
<li><a class="dropdown-item" href="#blue-primary">blue-primary</a></li>
<li><a class="dropdown-item" href="#blue-shift">blue-shift</a></li>
<li><a class="dropdown-item" href="#blur">blur</a></li>
<li><a class="dropdown-item" href="#border">border</a></li>
<li><a class="dropdown-item" href="#bordercolor">bordercolor</a></li>
<li><a class="dropdown-item" href="#borderwidth">borderwidth</a></li>
<li><a class="dropdown-item" href="#brightness-contrast">brightness-contrast</a></li>
<li><a class="dropdown-divider" href="#"><b>C</b></a></li>
<li><a class="dropdown-item" href="#cache">cache</a></li>
<li><a class="dropdown-item" href="#canny">canny</a></li>
<li><a class="dropdown-item" href="#caption">caption</a></li>
<li><a class="dropdown-item" href="#cdl">cdl</a></li>
<li><a class="dropdown-item" href="#channel">channel</a></li>
<li><a class="dropdown-item" href="#channel-fx">channel-fx</a></li>
<li><a class="dropdown-item" href="#charcoal">charcoal</a></li>
<li><a class="dropdown-item" href="#chop">chop</a></li>
<li><a class="dropdown-item" href="#clahe">clahe</a></li>
<li><a class="dropdown-item" href="#clamp">clamp</a></li>
<li><a class="dropdown-item" href="#clip">clip</a></li>
<li><a class="dropdown-item" href="#clip-mask">clip-mask</a></li>
<li><a class="dropdown-item" href="#clip-path">clip-path</a></li>
<li><a class="dropdown-item" href="#clone">clone</a></li>
<li><a class="dropdown-item" href="#clut">clut</a></li>
<li><a class="dropdown-item" href="#coalesce">coalesce</a></li>
<li><a class="dropdown-item" href="#colorize">colorize</a></li>
<li><a class="dropdown-item" href="#colormap">colormap</a></li>
<li><a class="dropdown-item" href="#color-matrix">color-matrix</a></li>
<li><a class="dropdown-item" href="#colors">colors</a></li>
<li><a class="dropdown-item" href="#colorspace">colorspace</a></li>
<li><a class="dropdown-item" href="#color-threshold">color-threshold</a></li>
<li><a class="dropdown-item" href="#combine">combine</a></li>
<li><a class="dropdown-item" href="#comment">comment</a></li>
<li><a class="dropdown-item" href="#compare">compare</a></li>
<li><a class="dropdown-item" href="#complex">complex</a></li>
<li><a class="dropdown-item" href="#compose">compose</a></li>
<li><a class="dropdown-item" href="#composite">composite</a></li>
<li><a class="dropdown-item" href="#compress">compress</a></li>
<li><a class="dropdown-item" href="#connected-components">connected-components</a></li>
<li><a class="dropdown-item" href="#contrast">contrast</a></li>
<li><a class="dropdown-item" href="#contrast-stretch">contrast-stretch</a></li>
<li><a class="dropdown-item" href="#convolve">convolve</a></li>
<li><a class="dropdown-item" href="#copy">copy</a></li>
<li><a class="dropdown-item" href="#crop">crop</a></li>
<li><a class="dropdown-item" href="#cycle">cycle</a></li>
<li><a class="dropdown-divider" href="#"><b>D</b></a></li>
<li><a class="dropdown-item" href="#debug">debug</a></li>
<li><a class="dropdown-item" href="#decipher">decipher</a></li>
<li><a class="dropdown-item" href="#deconstruct">deconstruct</a></li>
<li><a class="dropdown-item" href="#define">define</a></li>
<li><a class="dropdown-item" href="#delay">delay</a></li>
<li><a class="dropdown-item" href="#delete">delete</a></li>
<li><a class="dropdown-item" href="#density">density</a></li>
<li><a class="dropdown-item" href="#depth">depth</a></li>
<li><a class="dropdown-item" href="#descend">descend</a></li>
<li><a class="dropdown-item" href="#deskew">deskew</a></li>
<li><a class="dropdown-item" href="#despeckle">despeckle</a></li>
<li><a class="dropdown-item" href="#direction">direction</a></li>
<li><a class="dropdown-item" href="#displace">displace</a></li>
<li><a class="dropdown-item" href="#display">display</a></li>
<li><a class="dropdown-item" href="#dispose">dispose</a></li>
<li><a class="dropdown-item" href="#dissimilarity-threshold">dissimilarity-threshold</a></li>
<li><a class="dropdown-item" href="#dissolve">dissolve</a></li>
<li><a class="dropdown-item" href="#distort">distort</a></li>
<li><a class="dropdown-item" href="#distribute-cache">distribute-cache</a></li>
<li><a class="dropdown-item" href="#dither">dither</a></li>
<li><a class="dropdown-item" href="#draw">draw</a></li>
<li><a class="dropdown-item" href="#duplicate">duplicate</a></li>
<li><a class="dropdown-divider" href="#"><b>E</b></a></li>
<li><a class="dropdown-item" href="#edge">edge</a></li>
<li><a class="dropdown-item" href="#emboss">emboss</a></li>
<li><a class="dropdown-item" href="#encipher">encipher</a></li>
<li><a class="dropdown-item" href="#encoding">encoding</a></li>
<li><a class="dropdown-item" href="#endian">endian</a></li>
<li><a class="dropdown-item" href="#enhance">enhance</a></li>
<li><a class="dropdown-item" href="#equalize">equalize</a></li>
<li><a class="dropdown-item" href="#evaluate">evaluate</a></li>
<li><a class="dropdown-item" href="#evaluate-sequence">evaluate-sequence</a></li>
<li><a class="dropdown-item" href="#exit">exit</a></li>
<li><a class="dropdown-item" href="#extent">extent</a></li>
<li><a class="dropdown-item" href="#extract">extract</a></li>
<li><a class="dropdown-divider" href="#"><b>F</b></a></li>
<li><a class="dropdown-item" href="#family">family</a></li>
<li><a class="dropdown-item" href="#features">features</a></li>
<li><a class="dropdown-item" href="#fft">fft</a></li>
<li><a class="dropdown-item" href="#fill">fill</a></li>
<li><a class="dropdown-item" href="#filter">filter</a></li>
<li><a class="dropdown-item" href="#flatten">flatten</a></li>
<li><a class="dropdown-item" href="#flip">flip</a></li>
<li><a class="dropdown-item" href="#floodfill">floodfill</a></li>
<li><a class="dropdown-item" href="#flop">flop</a></li>
<li><a class="dropdown-item" href="#font">font</a></li>
<li><a class="dropdown-item" href="#foreground">foreground</a></li>
<li><a class="dropdown-item" href="#format">format</a></li>
<li><a class="dropdown-item" href="#format_identify">format[identify]</a></li>
<li><a class="dropdown-item" href="#frame">frame</a></li>
<li><a class="dropdown-item" href="#frame_import_">frame[import]</a></li>
<li><a class="dropdown-item" href="#function">function</a></li>
<li><a class="dropdown-item" href="#fuzz">fuzz</a></li>
<li><a class="dropdown-item" href="#fx">fx</a></li>
<li><a class="dropdown-divider" href="#"><b>G</b></a></li>
<li><a class="dropdown-item" href="#gamma">gamma</a></li>
<li><a class="dropdown-item" href="#gaussian-blur">gaussian-blur</a></li>
<li><a class="dropdown-item" href="#geometry">geometry</a></li>
<li><a class="dropdown-item" href="#gravity">gravity</a></li>
<li><a class="dropdown-item" href="#grayscale">grayscale</a></li>
<li><a class="dropdown-item" href="#green-primary">green-primary</a></li>
<li><a class="dropdown-divider" href="#"><b>H</b></a></li>
<li><a class="dropdown-item" href="#hald-clut">hald-clut</a></li>
<li><a class="dropdown-item" href="#help">help</a></li>
<li><a class="dropdown-item" href="#highlight-color">highlight-color</a></li>
<li><a class="dropdown-item" href="#hough-lines">hough-lines</a></li>
<li><a class="dropdown-divider" href="#"><b>I</b></a></li>
<li><a class="dropdown-item" href="#iconGeometry">iconGeometry</a></li>
<li><a class="dropdown-item" href="#iconic">iconic</a></li>
<li><a class="dropdown-item" href="#identify">identify</a></li>
<li><a class="dropdown-item" href="#ift">ift</a></li>
<li><a class="dropdown-item" href="#illuminant">illuminant</a></li>
<li><a class="dropdown-item" href="#immutable">immutable</a></li>
<li><a class="dropdown-item" href="#implode">implode</a></li>
<li><a class="dropdown-item" href="#insert">insert</a></li>
<li><a class="dropdown-item" href="#intensity">intensity</a></li>
<li><a class="dropdown-item" href="#intent">intent</a></li>
<li><a class="dropdown-item" href="#interlace">interlace</a></li>
<li><a class="dropdown-item" href="#interline-spacing">interline-spacing</a></li>
<li><a class="dropdown-item" href="#interpolate">interpolate</a></li>
<li><a class="dropdown-item" href="#interpolative-resize">interpolative-resize</a></li>
<li><a class="dropdown-item" href="#interword-spacing">interword-spacing</a></li>
<li><a class="dropdown-item" href="#integral">integral</a></li>
<li><a class="dropdown-divider" href="#"><b>K</b></a></li>
<li><a class="dropdown-item" href="#kerning">kerning</a></li>
<li><a class="dropdown-item" href="#kmeans">kmeans</a></li>
<li><a class="dropdown-item" href="#kuwahara">kuwahara</a></li>
<li><a class="dropdown-divider" href="#"><b>L</b></a></li>
<li><a class="dropdown-item" href="#label">label</a></li>
<li><a class="dropdown-item" href="#lat">lat</a></li>
<li><a class="dropdown-item" href="#layers">layers</a></li>
<li><a class="dropdown-item" href="#level">level</a></li>
<li><a class="dropdown-item" href="#level-colors">level-colors</a></li>
<li><a class="dropdown-item" href="#limit">limit</a></li>
<li><a class="dropdown-item" href="#linear-stretch">linear-stretch</a></li>
<li><a class="dropdown-item" href="#linewidth">linewidth</a></li>
<li><a class="dropdown-item" href="#liquid-rescale">liquid-rescale</a></li>
<li><a class="dropdown-item" href="#list">list</a></li>
<li><a class="dropdown-item" href="#log">log</a></li>
<li><a class="dropdown-item" href="#loop">loop</a></li>
<li><a class="dropdown-item" href="#lowlight-color">lowlight-color</a></li>
<li><a class="dropdown-divider" href="#"><b>M</b></a></li>
<li><a class="dropdown-item" href="#magnify">magnify</a></li>
<li><a class="dropdown-item" href="#map">map</a></li>
<li><a class="dropdown-item" href="#map_stream_">map[stream]</a></li>
<li><a class="dropdown-item" href="#mattecolor">mattecolor</a></li>
<li><a class="dropdown-item" href="#median">median</a></li>
<li><a class="dropdown-item" href="#mean-shift">mean-shift</a></li>
<li><a class="dropdown-item" href="#metric">metric</a></li>
<li><a class="dropdown-item" href="#mode">mode</a></li>
<li><a class="dropdown-item" href="#modulate">modulate</a></li>
<li><a class="dropdown-item" href="#moments">moments</a></li>
<li><a class="dropdown-item" href="#monitor">monitor</a></li>
<li><a class="dropdown-item" href="#monochrome">monochrome</a></li>
<li><a class="dropdown-item" href="#morph">morph</a></li>
<li><a class="dropdown-item" href="#morphology">morphology</a></li>
<li><a class="dropdown-item" href="#mosaic">mosaic</a></li>
<li><a class="dropdown-item" href="#motion-blur">motion-blur</a></li>
<li><a class="dropdown-divider" href="#"><b>N</b></a></li>
<li><a class="dropdown-item" href="#name">name</a></li>
<li><a class="dropdown-item" href="#negate">negate</a></li>
<li><a class="dropdown-item" href="#noise">noise</a></li>
<li><a class="dropdown-item" href="#normalize">normalize</a></li>
<li><a class="dropdown-divider" href="#"><b>O</b></a></li>
<li><a class="dropdown-item" href="#opaque">opaque</a></li>
<li><a class="dropdown-item" href="#ordered-dither">ordered-dither</a></li>
<li><a class="dropdown-item" href="#orient">orient</a></li>
<li><a class="dropdown-divider" href="#"><b>P</b></a></li>
<li><a class="dropdown-item" href="#page">page</a></li>
<li><a class="dropdown-item" href="#paint">paint</a></li>
<li><a class="dropdown-item" href="#path">path</a></li>
<li><a class="dropdown-item" href="#pause_animate_">pause[animate]</a></li>
<li><a class="dropdown-item" href="#pause_import_">pause[import]</a></li>
<li><a class="dropdown-item" href="#perceptible">perceptible</a></li>
<li><a class="dropdown-item" href="#ping">ping</a></li>
<li><a class="dropdown-item" href="#pointsize">pointsize</a></li>
<li><a class="dropdown-item" href="#polaroid">polaroid</a></li>
<li><a class="dropdown-item" href="#poly">poly</a></li>
<li><a class="dropdown-item" href="#posterize">posterize</a></li>
<li><a class="dropdown-item" href="#precision">precision</a></li>
<li><a class="dropdown-item" href="#preview">preview</a></li>
<li><a class="dropdown-item" href="#print">print</a></li>
<li><a class="dropdown-item" href="#process">process</a></li>
<li><a class="dropdown-item" href="#profile">profile</a></li>
<li><a class="dropdown-divider" href="#"><b>Q</b></a></li>
<li><a class="dropdown-item" href="#quality">quality</a></li>
<li><a class="dropdown-item" href="#quantize">quantize</a></li>
<li><a class="dropdown-item" href="#quiet">quiet</a></li>
<li><a class="dropdown-divider" href="#"><b>R</b></a></li>
<li><a class="dropdown-item" href="#raise">raise</a></li>
<li><a class="dropdown-item" href="#random-threshold">random-threshold</a></li>
<li><a class="dropdown-item" href="#range-threshold">range-threshold</a></li>
<li><a class="dropdown-item" href="#read">read</a></li>
<li><a class="dropdown-item" href="#read-mask">read-mask</a></li>
<li><a class="dropdown-item" href="#red-primary">red-primary</a></li>
<li><a class="dropdown-item" href="#regard-warnings">regard-warnings</a></li>
<li><a class="dropdown-item" href="#region">region</a></li>
<li><a class="dropdown-item" href="#remap">remap</a></li>
<li><a class="dropdown-item" href="#remote">remote</a></li>
<li><a class="dropdown-item" href="#render">render</a></li>
<li><a class="dropdown-item" href="#repage">repage</a></li>
<li><a class="dropdown-item" href="#resample">resample</a></li>
<li><a class="dropdown-item" href="#reshape">reshape</a></li>
<li><a class="dropdown-item" href="#resize">resize</a></li>
<li><a class="dropdown-item" href="#respect-parentheses">respect-parentheses</a></li>
<li><a class="dropdown-item" href="#reverse">reverse</a></li>
<li><a class="dropdown-item" href="#roll">roll</a></li>
<li><a class="dropdown-item" href="#rotate">rotate</a></li>
<li><a class="dropdown-item" href="#rotational-blur">rotational-blur</a></li>
<li><a class="dropdown-divider" href="#"><b>S</b></a></li>
<li><a class="dropdown-item" href="#sample">sample</a></li>
<li><a class="dropdown-item" href="#sampling-factor">sampling-factor</a></li>
<li><a class="dropdown-item" href="#scale">scale</a></li>
<li><a class="dropdown-item" href="#scene">scene</a></li>
<li><a class="dropdown-item" href="#screen">screen</a></li>
<li><a class="dropdown-item" href="#script">script</a></li>
<li><a class="dropdown-item" href="#seed">seed</a></li>
<li><a class="dropdown-item" href="#segment">segment</a></li>
<li><a class="dropdown-item" href="#selective-blur">selective-blur</a></li>
<li><a class="dropdown-item" href="#separate">separate</a></li>
<li><a class="dropdown-item" href="#sepia-tone">sepia-tone</a></li>
<li><a class="dropdown-item" href="#set">set</a></li>
<li><a class="dropdown-item" href="#shade">shade</a></li>
<li><a class="dropdown-item" href="#shadow">shadow</a></li>
<li><a class="dropdown-item" href="#shared-memory">shared-memory</a></li>
<li><a class="dropdown-item" href="#sharpen">sharpen</a></li>
<li><a class="dropdown-item" href="#shave">shave</a></li>
<li><a class="dropdown-item" href="#shear">shear</a></li>
<li><a class="dropdown-item" href="#sigmoidal-contrast">sigmoidal-contrast</a></li>
<li><a class="dropdown-item" href="#silent">silent</a></li>
<li><a class="dropdown-item" href="#similarity-threshold">similarity-threshold</a></li>
<li><a class="dropdown-item" href="#size">size</a></li>
<li><a class="dropdown-item" href="#sketch">sketch</a></li>
<li><a class="dropdown-item" href="#smush">smush</a></li>
<li><a class="dropdown-item" href="#snaps">snaps</a></li>
<li><a class="dropdown-item" href="#solarize">solarize</a></li>
<li><a class="dropdown-item" href="#sort-pixels">sort-pixels</a></li>
<li><a class="dropdown-item" href="#sparse-color">sparse-color</a></li>
<li><a class="dropdown-item" href="#splice">splice</a></li>
<li><a class="dropdown-item" href="#spread">spread</a></li>
<li><a class="dropdown-item" href="#statistic">statistic</a></li>
<li><a class="dropdown-item" href="#stegano">stegano</a></li>
<li><a class="dropdown-item" href="#stereo">stereo</a></li>
<li><a class="dropdown-item" href="#storage-type">storage-type</a></li>
<li><a class="dropdown-item" href="#stretch">stretch</a></li>
<li><a class="dropdown-item" href="#strip">strip</a></li>
<li><a class="dropdown-item" href="#stroke">stroke</a></li>
<li><a class="dropdown-item" href="#strokewidth">strokewidth</a></li>
<li><a class="dropdown-item" href="#style">style</a></li>
<li><a class="dropdown-item" href="#subimage-search">subimage-search</a></li>
<li><a class="dropdown-item" href="#swap">swap</a></li>
<li><a class="dropdown-item" href="#swirl">swirl</a></li>
<li><a class="dropdown-item" href="#synchronize">synchronize</a></li>
<li><a class="dropdown-divider" href="#"><b>T</b></a></li>
<li><a class="dropdown-item" href="#taint">taint</a></li>
<li><a class="dropdown-item" href="#text-font">text-font</a></li>
<li><a class="dropdown-item" href="#texture">texture</a></li>
<li><a class="dropdown-item" href="#threshold">threshold</a></li>
<li><a class="dropdown-item" href="#thumbnail">thumbnail</a></li>
<li><a class="dropdown-item" href="#tile">tile</a></li>
<li><a class="dropdown-item" href="#tile-offset">tile-offset</a></li>
<li><a class="dropdown-item" href="#tint">tint</a></li>
<li><a class="dropdown-item" href="#title">title</a></li>
<li><a class="dropdown-item" href="#transform">transform</a></li>
<li><a class="dropdown-item" href="#transparent">transparent</a></li>
<li><a class="dropdown-item" href="#transparent-color">transparent-color</a></li>
<li><a class="dropdown-item" href="#transpose">transpose</a></li>
<li><a class="dropdown-item" href="#transverse">transverse</a></li>
<li><a class="dropdown-item" href="#treedepth">treedepth</a></li>
<li><a class="dropdown-item" href="#trim">trim</a></li>
<li><a class="dropdown-item" href="#type">type</a></li>
<li><a class="dropdown-divider" href="#"><b>U</b></a></li>
<li><a class="dropdown-item" href="#undercolor">undercolor</a></li>
<li><a class="dropdown-item" href="#unique-colors">unique-colors</a></li>
<li><a class="dropdown-item" href="#units">units</a></li>
<li><a class="dropdown-item" href="#unsharp">unsharp</a></li>
<li><a class="dropdown-item" href="#update">update</a></li>
<li><a class="dropdown-divider" href="#"><b>V</b></a></li>
<li><a class="dropdown-item" href="#verbose">verbose</a></li>
<li><a class="dropdown-item" href="#version">version</a></li>
<li><a class="dropdown-item" href="#view">view</a></li>
<li><a class="dropdown-item" href="#vignette">vignette</a></li>
<li><a class="dropdown-item" href="#virtual-pixel">virtual-pixel</a></li>
<li><a class="dropdown-item" href="#visual">visual</a></li>
<li><a class="dropdown-divider" href="#"><b>W</b></a></li>
<li><a class="dropdown-item" href="#watermark">watermark</a></li>
<li><a class="dropdown-item" href="#wave">wave</a></li>
<li><a class="dropdown-item" href="#wavelet-denoise">wavelet-denoise</a></li>
<li><a class="dropdown-item" href="#weight">weight</a></li>
<li><a class="dropdown-item" href="#white-balance">white-balance</a></li>
<li><a class="dropdown-item" href="#white-point">white-point</a></li>
<li><a class="dropdown-item" href="#white-threshold">white-threshold</a></li>
<li><a class="dropdown-item" href="#window">window</a></li>
<li><a class="dropdown-item" href="#window-group">window-group</a></li>
<li><a class="dropdown-item" href="#word-break">word-break</a></li>
<li><a class="dropdown-item" href="#write">write</a></li>
<li><a class="dropdown-item" href="#write-mask">write-mask</a></li>
</ul>
</div>
<p> </p>
<p class="lead">Below is list of command-line options recognized by the ImageMagick <a href="/command-line-tools/">command-line tools</a>. If you want a description of a particular option, click on the option name in the navigation bar above and you will go right to it. Unless otherwise noted, each option is recognized by the commands: <a href="/magick/">magick</a> and <a href="/mogrify/">mogrify</a>.</p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="adaptive-blur"></a>-adaptive-blur <var>radius</var>[x<var>sigma</var>]</h2>
</div>
<p class="lead">Adaptively blur pixels, with decreasing effect near edges.</p>
<p>A Gaussian operator of the given radius and standard deviation (<var>sigma</var>) is used. If <var>sigma</var> is not given it defaults to 1.</p>
<p>The <var>sigma</var> value is the important argument, and
determines the actual amount of blurring that will take place. </p>
<p>The <var>radius</var> is only used to determine the size of the
array which holds the calculated Gaussian distribution. It should be an
integer. If not given, or set to zero, IM will calculate the largest possible
radius that will provide meaningful results for the Gaussian distribution.
</p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="adaptive-resize"></a>-adaptive-resize <var>geometry</var></h2>
</div>
<p class="lead">Resize the image using data-dependent triangulation.</p>
<p>See <a href="/command-line-processing/#geometry">Image Geometry</a> for complete details about the <em class="arg">geometry</em> argument. The <a href="#adaptive-resize">-adaptive-resize</a>
option defaults to data-dependent triangulation. Use the <a
href="#filter">-filter</a> to choose a different resampling algorithm.
Offsets, if present in the geometry string, are ignored, and the <a
href="#gravity">-gravity</a> option has no effect.</p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="adaptive-sharpen"></a>-adaptive-sharpen <var>radius</var>[x<var>sigma</var>]</h2>
</div>
<p class="lead">Adaptively sharpen pixels, with increasing effect near edges.</p>
<p>A Gaussian operator of the given radius and standard deviation
(<var>sigma</var>) is used. If <var>sigma</var> is not given it
defaults to 1.</p>
<p>The <var>sigma</var> value is the important argument, and
determines the actual amount of blurring that will take place. </p>
<p>The <var>radius</var> is only used to determine the size of the
array which holds the calculated Gaussian distribution. It should be an
integer. If not given, or set to zero, IM will calculate the largest possible
radius that will provide meaningful results for the Gaussian distribution.
</p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="adjoin"></a>-adjoin</h2>
</div>
<p class="lead">Join images into a single multi-image file.</p>
<p>This option is enabled by default. An attempt is made to save all images of
an image sequence into the given output file. However, some formats, such as
JPEG and PNG, do not support more than one image per file, and in that case
ImageMagick is forced to write each image as a separate file. As such, if
more than one image needs to be written, the filename given is modified by
adding a <a href="#scene">-scene</a> number before the suffix, in order to
make distinct names for each image. </p>
<p>Use <a href="#adjoin">+adjoin</a> to force each image to be written to
separate files, whether or not the file format allows multiple images per file
(for example, GIF, MIFF, and TIFF). </p>
<p>Including a C-style integer format string in the output filename will
automagically enable <a href="#adjoin">+adjoin</a> and are used to specify
where the <a href="#scene">-scene</a> number is placed in the filenames. These
strings, such as '<code>%d</code>' or '<code>%03d</code>', are familiar to those
who have used the standard <code>printf()</code>' C-library function. As an
example, the command</p>
<pre class="p-3 mb-2 text-body-secondary bg-body-tertiary cli"><pre><samp>$ magick logo: rose: -morph 15 my%02dmorph.jpg</samp></pre></pre>
<p>will create a sequence of 17 images (the two given plus 15 more created by
<a href="#morph">-morph</a>), named: my00morph.jpg, my01morph.jpg,
my02morph.jpg, ..., my16morph.jpg. </p>
<p>In summary, ImageMagick tries to write all images to one file, but will
save to multiple files, if any of the following conditions exist...</p>
<ol>
<li>the output image's file format does not allow multi-image files,</li>
<li>the <a href="#adjoin">+adjoin</a> option is given, or</li>
<li>a printf() integer format string (eg: "%d") is present in the output
filename.</li>
</ol>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="affine"></a>-affine
<var>s<sub>x</sub></var>,<var>r<sub>x</sub></var>,<var>r<sub>y</sub></var>,<var>s<sub>y</sub></var>[,<var>t<sub>x</sub></var>,<var>t<sub>y</sub></var>]</h2>
</div>
<p class="lead">Set the drawing transformation matrix for combined rotating and scaling.</p>
<p>This option sets a transformation matrix, for use by subsequent <a
href="#draw">-draw</a> or <a href="#transform">-transform</a> options. </p>
<p>The matrix entries are entered as comma-separated numeric values either in
quotes or without spaces. </p>
<p>Internally, the transformation matrix has 3x3 elements, but three of them
are omitted from the input because they are constant. The new (transformed)
coordinates (<var>x'</var>, <var>y'</var>) of a pixel at
position (<var>x</var>, <var>y</var>) in the original
image are calculated using the following matrix equation.</p>
<p class="text-center"><img class="img-fluid img-thumbnail" alt="affine transformation" src="/image/affine.png"/> </p>
<p> The size of the resulting image is that of the smallest rectangle that
contains the transformed source image. The parameters
<var>t<sub>x</sub></var> and <var>t<sub>y</sub></var>
subsequently shift the image pixels so that those that are moved out of the
image area are cut off.</p>
<p>The transformation matrix complies with the left-handed pixel coordinate
system: positive <var>x</var> and <var>y</var> directions
are rightward and downward, resp.; positive rotation is clockwise.</p>
<p> If the translation coefficients <var>t<sub>x</sub></var> and
<var>t<sub>y</sub></var> are omitted they default to 0,0. Therefore,
four parameters suffice for rotation and scaling without translation.</p>
<p>Scaling by the factors <var>s<sub>x</sub></var> and
<var>s<sub>y</sub></var> in the <var>x</var> and <var>y</var> directions,
respectively, is accomplished with the following.</p>
<p>See <a href="#transform">-transform</a>, and the <a
href="#distort">-distort</a> method <code>Affineprojection</code> for more
information </p>
<pre class="p-3 mb-2 text-body-secondary bg-body-tertiary cli"><code>-affine <var>s<sub>x</sub></var>,0,0,<var>s<sub>y</sub></var>
</code></pre>
<p>Translation by a displacement (<var>t<sub>x</sub></var>, <var>t<sub>y</sub></var>) is accomplished like so:</p>
<pre class="p-3 mb-2 text-body-secondary bg-body-tertiary cli"><code>-affine 1,0,0,1,<var>t<sub>x</sub></var>,<var>t<sub>y</sub></var>
</code></pre>
<p>Rotate clockwise about the origin (the upper left-hand corner) by an angle
<var>a</var> by letting <var>c</var> = cos(<var>a</var>), <var>s</var>
= sin(<var>a</var>), and using the following.</p>
<pre class="p-3 mb-2 text-body-secondary bg-body-tertiary cli"><code>-affine <var>c</var>,<var>s</var>,-<var>s</var>,<var>c</var>
</code></pre>
<p>The cumulative effect of a sequence of <a href="#affine" >-affine</a>
transformations can be accomplished by instead by a single <a href="#affine"
>-affine</a> operation using the matrix equal to the product of the matrices
of the individual transformations.</p>
<p>An attempt is made to detect near-singular transformation matrices. If the
matrix determinant has a sufficiently small absolute value it is rejected.</p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="alpha"></a>-alpha <var>type</var></h2>
</div>
<p class="lead">Gives control of the alpha/matte channel of an image.</p>
<p>Used to set a flag on an image indicating whether or not to use existing alpha
channel data, to create an alpha channel, or to perform other operations on the alpha channel. Choose the argument <var>type</var> from the list below.</p>
<div style="max-height:75svh; overflow-y:auto; overflow-x:hidden;">
<dl class="row">
<dt class="col-md-4">activate</dt>
<dd class="col-md-8">
Enable the image's transparency channel. Note normally Set
should be used instead of this, unless you specifically need to
preserve existing (but specifically turned Off) transparency
channel. </dd>
<dt class="col-md-4">associate</dt>
<dd class="col-md-8">
associate the alpha channel with the image.</dd>
<dt class="col-md-4">background</dt>
<dd class="col-md-8">
Set any fully-transparent pixel to the background color, while leaving
it fully-transparent. This can make some image file formats, such as
PNG, smaller as the RGB values of transparent pixels are more uniform,
and thus can compress better.
</dd>
<dt class="col-md-4">copy</dt>
<dd class="col-md-8">
Turns 'On' the alpha/matte channel, then copies the
grayscale intensity of the image, into the alpha channel, converting
a grayscale mask into a transparent shaped mask ready to be colored
appropriately. The color channels are not modified. </dd>
<dt class="col-md-4">deactivate</dt>
<dd class="col-md-8">
Disables the image's transparency channel. Does not delete or change the
existing data, just turns off the use of that data.</dd>
<dt class="col-md-4">disassociate</dt>
<dd class="col-md-8">
disassociate the alpha channel from the image.</dd>
<dt class="col-md-4">extract</dt>
<dd class="col-md-8">
Copies the alpha channel values into all the color channels and turns
'Off' the image's transparency, so as to generate
a grayscale mask of the image's shape. The alpha channel data is left
intact just deactivated. This is the inverse of 'Copy'.
</dd>
<dt class="col-md-4">off</dt>
<dd class="col-md-8">
disable the alpha channel.
</dd>
<dt class="col-md-4">off-if-opaque</dt>
<dd class="col-md-8">
disable the alpha channel if and only if its entirely opaque.
</dd>
<dt class="col-md-4">on</dt>
<dd class="col-md-8">
enable the alpha channel.
</dd>
<dt class="col-md-4">opaque</dt>
<dd class="col-md-8">
Enables the alpha/matte channel and forces it to be fully opaque.
</dd>
<dt class="col-md-4">remove</dt>
<dd class="col-md-8">
Composite the image over the background color.
</dd>
<dt class="col-md-4">set</dt>
<dd class="col-md-8">
Activates the alpha/matte channel. If it was previously turned off
then it also resets the channel to opaque. If the image already had
the alpha channel turned on, it will have no effect.</dd>
<dt class="col-md-4">shape</dt>
<dd class="col-md-8">
As per 'Copy' but also colors the resulting shape mask with
the current background color. That is the RGB color channels is
replaced, with appropriate alpha shape.
</dd>
<dt class="col-md-4">transparent</dt>
<dd class="col-md-8">
Activates the alpha/matte channel and forces it to be fully
transparent. This effectively creates a fully transparent image the
same size as the original and with all its original RGB data still
intact, but fully transparent. </dd>
</dl>
</div>
<br/>
<p>Note that while the obsolete <code>+matte</code> operation was the
same as "<code><a href="#alpha" >-alpha</a> Off</code>", the <code>
>-matte</code> operation was the same as "<code><a href="#alpha" >-alpha</a>
Set</code>" and not "<code><a href="#alpha" >-alpha</a> On</code>". </p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="annotate"></a>-annotate <var>degrees</var> <var>text</var></h2>
<h2><a class="anchor"></a>-annotate <var>Xdegrees</var>x<var>Ydegrees</var> <var>text</var></h2>
<h2><a class="anchor"></a>-annotate <var>Xdegrees</var>x<var>Ydegrees</var>{+-}<var>t<sub>x</sub></var>{+-}<var>t<sub>y</sub></var> <var>text</var></h2>
<h2><a class="anchor"></a>-annotate {+-}<var>t<sub>x</sub></var>{+-}<var>t<sub>y</sub></var> <var>text</var></h2>
</div>
<p class="lead">Annotate an image with text</p>
<p>This is a convenience for annotating an image with text. For more precise
control over text annotations, use <a href="#draw">-draw</a>.</p>
<p>The values <var>Xdegrees</var> and <var>Ydegrees</var>
control the shears applied to the text, while <var>t<sub>x</sub></var> and <var>t<sub>y</sub></var> are offsets that give the location of the text relative any <a href="#gravity" >-gravity</a> setting and defaults to the upper left corner of the image.</p>
<p>Using <a href="#annotate">-annotate</a> <var>degrees</var>
or <a href="#annotate">-annotate</a> <var>degrees</var>x<var>degrees</var> produces an unsheared rotation of the text. The
direction of the rotation is positive, which means a clockwise rotation if <var>degrees</var> is positive. (This conforms to the usual mathematical
convention once it is realized that the positive <var>y</var>–direction is
conventionally considered to be <var>downward</var> for images.)</p>
<p>The new (transformed) coordinates (<var>x'</var>, <var>y'</var>) of a pixel at position (<var>x</var>, <var>y</var>) in the image are calculated using the following matrix
equation.</p>
<p class="text-center"><img class="img-fluid img-thumbnail" alt="annotate transformation" src="/image/annotate.png"/></p>
<p>If <var>t<sub>x</sub></var> and <var>t<sub>y</sub></var> are omitted, they default to 0. This makes the
bottom-left of the text becomes the upper-left corner of the image, which is
probably undesirable. Adding a <a href="#gravity" >-gravity</a> option in this
case leads to nice results.</p>
<p>Text is any UTF-8 encoded character sequence. If <var>text</var>
is of the form '@mytext.txt', the text is read from the file
<code>mytext.txt</code>. Text in a file is taken literally; no embedded
formatting characters are recognized.</p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="antialias"></a>-antialias</h2>
</div>
<p class="lead">Enable/Disable of the rendering of anti-aliasing pixels when drawing fonts and lines.</p>
<p>By default, objects (e.g. text, lines, polygons, etc.) are antialiased when
drawn. Use <a href="#antialias">+antialias</a> to disable the addition of
antialiasing edge pixels. This will then reduce the number of colors added to
an image to just the colors being directly drawn. That is, no mixed colors
are added when drawing such objects. </p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="append"></a>-append</h2>
</div>
<p class="lead">Join current images vertically or horizontally.</p>
<p>This option creates a single longer image, by joining all the current
images in sequence top-to-bottom. Use <a href="#append">+append</a> to
stack images left-to-right. </p>
<p>If they are not of the same width, narrower images are padded with the
current <a href="#background">-background</a> color setting, and their
position relative to each other can be controlled by the current <a
href="#gravity">-gravity</a> setting. </p>
<p>For more flexible options, including the ability to add space between images,
use <a href="#smush">-smush</a>.</p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="attenuate"></a>-attenuate <var>value</var></h2>
</div>
<p class="lead">Lessen (or intensify) when adding noise to an image.</p>
<p>If unset the value is equivalent to 1.0, or a maximum noise addition</p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="authenticate"></a>-authenticate <var>password</var></h2>
</div>
<p class="lead">Decrypt a PDF with a password.</p>
<p>Use this option to supply a <var>password</var> for decrypting
a PDF that has been encrypted using Microsoft Crypto API (MSC API). The
encrypting using the MSC API is not supported.</p>
<p>For a different encryption method, see <a href="#encipher">-encipher</a>
and <a href="#decipher">-decipher</a>. </p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="auto-gamma"></a>-auto-gamma</h2>
</div>
<p class="lead">Automagically adjust gamma level of image.</p>
<p>This calculates the mean values of an image, then applies a calculated <a
href="#gamma" >-gamma</a> adjustment so that the mean color in the
image will get a value of 50%. </p>
<p>This means that any solid 'gray' image becomes 50% gray. </p>
<p>This works well for real-life images with little or no extreme dark and
light areas, but tend to fail for images with large amounts of bright sky or
dark shadows. It also does not work well for diagrams or cartoon like images.
</p>
<p>It uses the <a href="#channel" >-channel</a> setting, (including the
'<var>sync</var>' flag for channel synchronization), to determine which color
values is used and modified. As the default <a href="#channel"
>-channel</a> setting is '<var>RGB,sync</var>', channels are modified
together by the same gamma value, preserving colors. </p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="auto-level"></a>-auto-level</h2>
</div>
<p class="lead">Automagically adjust color levels of image.</p>
<p>This is a 'perfect' image normalization operator. It finds the exact
minimum and maximum color values in the image and then applies a <a
href="#level" >-level</a> operator to stretch the values to the full range of
values. </p>
<p>The operator is not typically used for real-life images, image scans, or
JPEG format images, as a single 'out-rider' pixel can set a bad min/max values
for the <a href="#level" >-level</a> operation. On the other hand it is the
right operator to use for color stretching gradient images being used to
generate Color lookup tables, distortion maps, or other 'mathematically'
defined images. </p>
<p>The operator is very similar to the <a href="#normalize">-normalize</a>, <a
href="#contrast-stretch" >-contrast-stretch</a>, and <a href="#linear-stretch"
>-linear-stretch</a> operators, but without 'histogram binning' or 'clipping'
problems that these operators may have. That is <a href="#auto-level"
>-auto-level</a> is the perfect or ideal version these operators. </p>
<p>It uses the <a href="#channel" >-channel</a> setting, (including the
special '<var>sync</var>' flag for channel synchronization), to determine
which color values are used and modified. As the default <a
href="#channel" >+channel</a> setting is '<var>RGB,sync</var>', the
'<var>sync</var>' ensures that the color channels will are modified
together by the same gamma value, preserving colors, and ignoring
transparency. </p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="auto-orient"></a>-auto-orient</h2>
</div>
<p class="lead">Adjusts an image so that its orientation is suitable for viewing (i.e. top-left orientation).</p>
<p>This operator reads and resets the EXIF image profile setting 'Orientation'
and then performs the appropriate 90 degree rotation on the image to orient
the image, for correct viewing. </p>
<p>This EXIF profile setting is usually set using a gravity sensor in digital
camera, however photos taken directly downward or upward may not have an
appropriate value. Also images that have been orientation 'corrected' without
resetting this setting, may be 'corrected' again resulting in a incorrect
result. If the EXIF profile was previously stripped, the <a
href="#auto-orient" >-auto-orient</a> operator will do nothing. </p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="auto-threshold"></a>-auto-threshold <var>method</var></h2>
</div>
<p class="lead">Automatically perform image thresholding.</p>
<p>Here are the valid methods:</p>
<div style="max-height:75svh; overflow-y:auto; overflow-x:hidden;">
<dl class="row">
<dt class="col-md-4">Undefined</dt><dd class="col-md-8">0: No method specified (equivalent to '<code>OTSU</code>').</dd>
<dt class="col-md-4">Kapur</dt><dd class="col-md-8">maximum entropy thresholding.</dd>
<dt class="col-md-4">OTSU</dt><dd class="col-md-8">cluster-based image thresholding.</dd>
<dt class="col-md-4">Triangle</dt><dd class="col-md-8">a geometric thresholding method.</dd>
</dl>
</div>
<p>The computed threshold is returned as the <code>auto-threshold:verbose</code> image property. To instead print to your device, use <code>-define auto-threshold:verbose=true</code>.</p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="average"></a>-average</h2>
</div>
<p class="lead">Average a set of images.</p>
<p>An error results if the images are not identically sized.</p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="backdrop"></a>-backdrop</h2>
</div>
<p class="lead">Display the image centered on a backdrop.</p>
<p>This backdrop covers the entire workstation screen and is useful for hiding
other X window activity while viewing the image. The color of the backdrop is
specified as the background color. The color is specified using the format
described under the <a href="#fill">-fill</a> option.</p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="background"></a>-background <var>color</var></h2>
</div>
<p class="lead">Set the background color.</p>
<p>The color is specified using the format described under the <a
href="#fill">-fill</a> option. The default background color (if none is
specified or found in the image) is white.</p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="bench"></a>-bench <var>iterations</var></h2>
</div>
<p class="lead">Measure performance.</p>
<p>Repeat the entire command for the given number of <var>iterations</var> and report the user-time and elapsed time. For instance,
consider the following command and its output. Modify the benchmark with the
-duration to run the benchmark for a fixed number of seconds and -concurrent
to run the benchmark in parallel (requires the OpenMP feature).</p>
<pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>$ magick logo: -resize 200% -bench 5 logo.png
Performance[1]: 5i 1.344ips 1.000e 3.710u 0:03.720
Performance[2]: 5i 1.634ips 0.549e 3.890u 0:03.060
Performance[3]: 5i 2.174ips 0.618e 3.190u 0:02.300
Performance[4]: 5i 1.678ips 0.555e 3.810u 0:02.980
Performance[4]: 5i 0.875657ips 6.880u 0:05.710
</samp></pre>
<p>In this example, 5 iterations were completed at 2.174 iterations per
second, using 3 threads and 3.190 seconds of the user allotted time, for
a total elapsed time of 2.300 seconds.</p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="bias"></a>-bias <var>value</var>{<var>%</var>}</h2>
</div>
<p class="lead">Add bias when convolving an image.</p>
<p>This option shifts the output of <a href="#convolve">-convolve</a> so that
positive and negative results are relative to the specified bias value. </p>
<p>This is important for non-HDRI compilations of ImageMagick when dealing
with convolutions that contain negative as well as positive values. This is
especially the case with convolutions involving high pass filters or edge
detection. Without an output bias, the negative values are clipped at
zero.</p>
<p>When using an ImageMagick with the HDRI compile-time setting, <a href="#bias">-bias</a>is not needed, as ImageMagick is able to store/handle any
negative results without clipping to the color value range
(0..QuantumRange).</p>
<p>See the discussion on HDRI implementations of ImageMagick on the page <a
href="/high-dynamic-range/" >High Dynamic-Range Images</a>. For more
about HDRI go the ImageMagick <a
href="https://usage.imagemagick.org/basics/#hdri" >Usage</a> pages or this
<a
href="http://en.wikipedia.org/wiki/High_dynamic_range_imaging">Wikipedia</a>
entry. </p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="bilateral-blur"></a>-bilateral-blur <var>width</var>{x<var>height</var>}{<var>+intensity-sigma</var>}{<var>+spatial-sigma</var>}</h2>
</div>
<p class="lead">A non-linear, edge-preserving, and noise-reducing
smoothing filter for images. It replaces the intensity of each pixel with a
weighted average of intensity values from nearby pixels. This weight is
based on a Gaussian distribution. The weights depend not only on Euclidean
distance of pixels, but also on the radiometric differences (e.g., range
differences, such as color intensity, depth distance, etc.). This preserves
sharp edges.</p>
<p>The intensity sigma is in the intensity space. A larger value means
that farther colors within the pixel neighborhood (see spatial-sigma)
will be mixed together, resulting in larger areas of semi-equal color.</p>
<p>The spatial sigma is in the coordinate space. A larger value means that
farther pixels influence each other as long as their colors are close
enough (see intensity-sigma ). When the neighborhood diameter is greater
than zero, it specifies the neighborhood size regardless of
spatial-sigma. Otherwise, the neighborhood diameter is proportional to
spatial-sigma.</p>
<p>The default value for the intensity and spatial sigmas are <var>0.75*diameter</var> and <var>0.25*diameter</var> respectively.</p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="black-point-compensation"></a>-black-point-compensation</h2>
</div>
<p class="lead">Use black point compensation.</p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="black-threshold"></a>-black-threshold <var>value</var>{<var>%</var>}</h2>
</div>
<p class="lead">Force to black all pixels below the threshold while leaving all pixels at or above the threshold unchanged.</p>
<p> The threshold value can be given as a percentage or as an absolute integer
value within [0, <var>QuantumRange</var>] corresponding to the
desired <a href="#channel">channel</a> value. See <a href="#threshold">-threshold</a>
for more details on thresholds and resulting values. </p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="blend"></a>-blend <var>geometry</var></h2>
</div>
<p class="lead">Blend an image into another by the given absolute value or percent.</p>
<p>Blend will average the images together ('plus') according to the
percentages given and each pixels transparency. If only a single percentage
value is given it sets the weight of the composite or 'source' image, while
the background image is weighted by the exact opposite amount. That is a
<code>-blend 30%</code> merges 30% of the 'source' image with 70% of the
'destination' image. Thus it is equivalent to <code>-blend 30x70%</code>.</p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="blue-primary"></a>-blue-primary <var>x</var>,<var>y</var></h2>
</div>
<p class="lead">Set the blue chromaticity primary point.</p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="blue-shift"></a>-blue-shift <var>factor</var></h2>
</div>
<p class="lead">Simulate a scene at nighttime in the moonlight. Start with a factor of 1.5</p>
<div style="mx-auto my-3 text-center">
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="blur"></a>-blur <var>radius</var><br />-blur <var>radius</var>{x<var>sigma</var>}</h2>
</div>
<p class="lead">Reduce image noise and reduce detail levels.</p>
<p>Convolve the image with a Gaussian or normal distribution using the given
<var >Sigma</var> value. The formula is:</p>
<p class="text-center"><img class="img-fluid img-thumbnail" alt="gaussian distribution" width="243px" height="42px" src="/image/gaussian-blur.png"/></p>
<p>The <var>sigma</var> value is the important argument, and
determines the actual amount of blurring that will take place. </p>
<p>The <var>radius</var> is only used to determine the size of the
array which holds the calculated Gaussian distribution. It should be an
integer. If not given, or set to zero, IM will calculate the largest possible
radius that will provide meaningful results for the Gaussian distribution.
</p>
<p>The larger the <var >Radius</var> the slower the
operation is. However too small a <var >Radius</var>, and severe
aliasing effects may result. As a guideline, <var >Radius</var>
should be at least twice the <var >Sigma</var> value, though three
times will produce a more accurate result. </p>
<p>This option differs from <a href="#gaussian-blur">-gaussian-blur</a> simply
by taking advantage of the separability properties of the distribution. Here
we apply a single-dimensional Gaussian matrix in the horizontal direction,
then repeat the process in the vertical direction.</p>
<p>The <a href="#virtual-pixel">-virtual-pixel</a> setting will determine how
pixels which are outside the image proper are blurred into the final result.
</p>
<div style="mx-auto my-3 text-center">
<h2><a class="anchor" id="border"></a>-border <var>geometry</var></h2>
</div>
<p class="lead">Surround the image with a border of color. </p>
<p>Set the width and height using the <var>size</var> portion of the
<var>geometry</var> argument. See <a href="/command-line-processing/#geometry">Image Geometry</a> for complete details about the <em class="arg">geometry</em> argument. Offsets are
ignored. </p>
<p>As of IM 6.7.8-8, the <var>geometry</var> arguments behave as follows:</p>
<div style="max-height:75svh; overflow-y:auto; overflow-x:hidden;">
<dl class="row">
<dt class="col-md-4"><var>value</var></dt>
<dd class="col-md-8">value is added to both left/right and top/bottom</dd>
<dt class="col-md-4"><var>value-x</var><code>x</code></dt>
<dd class="col-md-8">value-x is added only to left/right and top/bottom are unchanged</dd>
<dt class="col-md-4"><code>x</code><var>value-y</var></dt>
<dd class="col-md-8">value-y is added only to top/bottom and left/right are unchanged</dd>
<dt class="col-md-4"><var>value-x</var><code>x</code><var>value-y</var></dt>
<dd class="col-md-8">value-x is added to left/right and value-y added to top/bottom</dd>
<dt class="col-md-4"><var>value-x</var><code>x</code>0</dt>
<dd class="col-md-8">value-x is added only to left/right and top/bottom are unchanged</dd>