rmagick 1.14.1 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rmagick might be problematic. Click here for more details.

Files changed (66) hide show
  1. data/ChangeLog +22 -0
  2. data/README.html +11 -63
  3. data/README.txt +8 -56
  4. data/configure +214 -787
  5. data/configure.ac +22 -24
  6. data/doc/comtasks.html +2 -2
  7. data/doc/constants.html +5 -6
  8. data/doc/draw.html +33 -14
  9. data/doc/ex/clip_path.rb +3 -0
  10. data/doc/ex/path.rb +1 -1
  11. data/doc/ex/polaroid.rb +23 -0
  12. data/doc/ex/tspan01.rb +2 -2
  13. data/doc/ex/tspan02.rb +2 -2
  14. data/doc/ex/tspan03.rb +3 -3
  15. data/doc/ex/wet_floor.rb +54 -0
  16. data/doc/ilist.html +83 -4
  17. data/doc/image1.html +4 -5
  18. data/doc/image2.html +395 -266
  19. data/doc/image3.html +104 -8
  20. data/doc/imageattrs.html +2 -2
  21. data/doc/imusage.html +2 -2
  22. data/doc/index.html +22 -18
  23. data/doc/info.html +28 -6
  24. data/doc/magick.html +125 -4
  25. data/doc/optequiv.html +196 -21
  26. data/doc/rvg.html +2 -2
  27. data/doc/rvgclip.html +2 -2
  28. data/doc/rvggroup.html +2 -2
  29. data/doc/rvgimage.html +2 -2
  30. data/doc/rvgpattern.html +2 -2
  31. data/doc/rvgshape.html +2 -2
  32. data/doc/rvgstyle.html +2 -2
  33. data/doc/rvgtext.html +2 -2
  34. data/doc/rvgtspan.html +2 -2
  35. data/doc/rvgtut.html +3 -3
  36. data/doc/rvguse.html +2 -2
  37. data/doc/rvgxform.html +2 -2
  38. data/doc/struct.html +2 -2
  39. data/doc/usage.html +26 -5
  40. data/ext/RMagick/MANIFEST +3 -1
  41. data/ext/RMagick/rmagick.h +46 -12
  42. data/ext/RMagick/rmagick_config.h.in +12 -2
  43. data/ext/RMagick/rmdraw.c +202 -62
  44. data/ext/RMagick/rmfill.c +36 -36
  45. data/ext/RMagick/rmilist.c +75 -31
  46. data/ext/RMagick/rmimage.c +640 -323
  47. data/ext/RMagick/rminfo.c +76 -15
  48. data/ext/RMagick/rmmain.c +107 -30
  49. data/ext/RMagick/rmutil.c +97 -68
  50. data/lib/RMagick.rb +11 -11
  51. data/lib/rvg/clippath.rb +38 -36
  52. data/lib/rvg/container.rb +120 -118
  53. data/lib/rvg/deep_equal.rb +44 -42
  54. data/lib/rvg/describable.rb +49 -47
  55. data/lib/rvg/embellishable.rb +399 -397
  56. data/lib/rvg/misc.rb +613 -603
  57. data/lib/rvg/paint.rb +38 -36
  58. data/lib/rvg/pathdata.rb +124 -122
  59. data/lib/rvg/rvg.rb +202 -198
  60. data/lib/rvg/stretchable.rb +132 -130
  61. data/lib/rvg/stylable.rb +101 -99
  62. data/lib/rvg/text.rb +173 -171
  63. data/lib/rvg/transformable.rb +120 -118
  64. data/lib/rvg/units.rb +60 -58
  65. data/rmagick.gemspec +1 -1
  66. metadata +5 -3
@@ -6,7 +6,7 @@
6
6
  <meta name="generator" content=
7
7
  "HTML Tidy for Linux/x86 (vers 1st December 2004), see www.w3.org" />
8
8
 
9
- <title>RMagick: class Image (class and instance methods, part
9
+ <title>RMagick 1.15.0: class Image (class and instance methods, part
10
10
  1)</title>
11
11
  <meta http-equiv="Content-Type" content=
12
12
  "text/html; charset=us-ascii" />
@@ -48,7 +48,7 @@ float: left;
48
48
  </head>
49
49
 
50
50
  <body>
51
- <h6 id="header">RMagick User's Guide and Reference</h6>
51
+ <h6 id="header">RMagick 1.15.0 User's Guide and Reference</h6>
52
52
 
53
53
  <div class="nav">
54
54
  &laquo;&nbsp;<a href="imageattrs.html">Prev</a> | <a href=
@@ -1254,8 +1254,7 @@ img = Magick::Image.read_inline(content)
1254
1254
 
1255
1255
  <h4>Example</h4>
1256
1256
 
1257
- <p>The affine matrix in this example scales the receiver by -1
1258
- in both the x- and y-direction, and skews it by &pi;/6 radians
1257
+ <p>The affine matrix in this example skews the receiver by &pi;/6 radians
1259
1258
  along both axes.</p>
1260
1259
 
1261
1260
  <p class="rollover"><a href=
@@ -1263,7 +1262,7 @@ img = Magick::Image.read_inline(content)
1263
1262
  onmouseout="this.src='ex/affine_transform.jpg'" src=
1264
1263
  "ex/affine_transform.jpg" alt="affine_transform example" title=
1265
1264
  "Click to see the example script" /></a> <img src=
1266
- "ex/images/spin.gif" alt="" class="spin" style="left: 237px;"
1265
+ "ex/images/spin.gif" alt="" class="spin" style="left: 202px;"
1267
1266
  title="Mouse over the example to see the original image" /></p>
1268
1267
 
1269
1268
  <h4>See also</h4>
@@ -6,7 +6,7 @@
6
6
  <meta name="generator" content=
7
7
  "HTML Tidy for Linux/x86 (vers 1st December 2004), see www.w3.org" />
8
8
 
9
- <title>RMagick: class Image (instance methods, part 2)</title>
9
+ <title>RMagick 1.15.0: class Image (instance methods, part 2)</title>
10
10
  <meta http-equiv="Content-Type" content=
11
11
  "text/html; charset=us-ascii" />
12
12
  <meta name="GENERATOR" content="Quanta Plus" />
@@ -47,7 +47,7 @@ td.ds {
47
47
  </head>
48
48
 
49
49
  <body>
50
- <h6 id="header">RMagick User's Guide and Reference</h6>
50
+ <h6 id="header">RMagick 1.15.0 User's Guide and Reference</h6>
51
51
 
52
52
  <div class="nav">
53
53
  &laquo;&nbsp;<a href="image1.html">Prev</a> | <a href=
@@ -133,6 +133,8 @@ td.ds {
133
133
 
134
134
  <li><a href="#level_channel">level_channel</a></li>
135
135
 
136
+ <li><a href="#linear_stretch">linear_stretch</a></li>
137
+
136
138
  <li><a href="#magnify">magnify</a></li>
137
139
 
138
140
  <li><a href="#magnify_bang">magnify!</a></li>
@@ -147,13 +149,13 @@ td.ds {
147
149
  <li><a href="#matte_point">matte_point</a></li>
148
150
 
149
151
  <li><a href="#matte_replace">matte_replace</a></li>
150
-
151
- <li><a href="#matte_reset_bang">matte_reset!</a></li>
152
152
  </ul>
153
153
  </div>
154
154
 
155
155
  <div class="toccol">
156
156
  <ul>
157
+ <li><a href="#matte_reset_bang">matte_reset!</a></li>
158
+
157
159
  <li><a href="#median_filter">median_filter</a></li>
158
160
 
159
161
  <li><a href="#minify">minify</a></li>
@@ -187,6 +189,8 @@ td.ds {
187
189
 
188
190
  <li><a href="#pixel_color">pixel_color</a></li>
189
191
 
192
+ <li><a href="#polaroid">polaroid</a></li>
193
+
190
194
  <li><a href="#posterize">posterize</a></li>
191
195
  </ul>
192
196
  </div>
@@ -987,498 +991,499 @@ image.get_exif_by_number() &raquo;
987
991
  </tr>
988
992
 
989
993
  <tr>
990
- <td>
991
- Envelope::Model_Version</td>
994
+ <td>Envelope::Model_Version</td>
992
995
 
993
- <td class="ds">1:00</td>
996
+ <td class="ds">1:00</td>
994
997
  </tr>
998
+
995
999
  <tr>
996
- <td>
997
- Envelope::Destination</td>
1000
+ <td>Envelope::Destination</td>
998
1001
 
999
- <td class="ds">1:05</td>
1002
+ <td class="ds">1:05</td>
1000
1003
  </tr>
1004
+
1001
1005
  <tr>
1002
- <td>
1003
- Envelope::UNO</td>
1006
+ <td>Envelope::UNO</td>
1004
1007
 
1005
- <td class="ds">1:100</td>
1008
+ <td class="ds">1:100</td>
1006
1009
  </tr>
1010
+
1007
1011
  <tr>
1008
- <td>
1009
- Envelope::Unique_Name_of_Object</td>
1012
+ <td>Envelope::Unique_Name_of_Object</td>
1010
1013
 
1011
- <td class="ds">1:100</td>
1014
+ <td class="ds">1:100</td>
1012
1015
  </tr>
1016
+
1013
1017
  <tr>
1014
- <td>
1015
- Envelope::ARM_Identifier</td>
1018
+ <td>Envelope::ARM_Identifier</td>
1016
1019
 
1017
- <td class="ds">1:120</td>
1020
+ <td class="ds">1:120</td>
1018
1021
  </tr>
1022
+
1019
1023
  <tr>
1020
- <td>
1021
- Envelope::ARM_Version</td>
1024
+ <td>Envelope::ARM_Version</td>
1022
1025
 
1023
- <td class="ds">1:122</td>
1026
+ <td class="ds">1:122</td>
1024
1027
  </tr>
1028
+
1025
1029
  <tr>
1026
- <td>
1027
- Envelope::File_Format</td>
1030
+ <td>Envelope::File_Format</td>
1028
1031
 
1029
- <td class="ds">1:20</td>
1032
+ <td class="ds">1:20</td>
1030
1033
  </tr>
1034
+
1031
1035
  <tr>
1032
- <td>
1033
- Envelope::File_Format_Version</td>
1036
+ <td>Envelope::File_Format_Version</td>
1034
1037
 
1035
- <td class="ds">1:22</td>
1038
+ <td class="ds">1:22</td>
1036
1039
  </tr>
1040
+
1037
1041
  <tr>
1038
- <td>
1039
- Envelope::Service_Identifier</td>
1042
+ <td>Envelope::Service_Identifier</td>
1040
1043
 
1041
- <td class="ds">1:30</td>
1044
+ <td class="ds">1:30</td>
1042
1045
  </tr>
1046
+
1043
1047
  <tr>
1044
- <td>
1045
- Envelope::Envelope_Number</td>
1048
+ <td>Envelope::Envelope_Number</td>
1046
1049
 
1047
- <td class="ds">1:40</td>
1050
+ <td class="ds">1:40</td>
1048
1051
  </tr>
1052
+
1049
1053
  <tr>
1050
- <td>
1051
- Envelope::Product_ID</td>
1054
+ <td>Envelope::Product_ID</td>
1052
1055
 
1053
- <td class="ds">1:50</td>
1056
+ <td class="ds">1:50</td>
1054
1057
  </tr>
1058
+
1055
1059
  <tr>
1056
- <td>
1057
- Envelope::Envelope_Priority</td>
1060
+ <td>Envelope::Envelope_Priority</td>
1058
1061
 
1059
- <td class="ds">1:60</td>
1062
+ <td class="ds">1:60</td>
1060
1063
  </tr>
1064
+
1061
1065
  <tr>
1062
- <td>
1063
- Envelope::Date_Sent</td>
1066
+ <td>Envelope::Date_Sent</td>
1064
1067
 
1065
- <td class="ds">1:70</td>
1068
+ <td class="ds">1:70</td>
1066
1069
  </tr>
1070
+
1067
1071
  <tr>
1068
- <td>
1069
- Envelope::Time_Sent</td>
1072
+ <td>Envelope::Time_Sent</td>
1070
1073
 
1071
- <td class="ds">1:80</td>
1074
+ <td class="ds">1:80</td>
1072
1075
  </tr>
1076
+
1073
1077
  <tr>
1074
- <td>
1075
- Envelope::Coded_Character_Set</td>
1078
+ <td>Envelope::Coded_Character_Set</td>
1076
1079
 
1077
- <td class="ds">1:90</td>
1080
+ <td class="ds">1:90</td>
1078
1081
  </tr>
1082
+
1079
1083
  <tr>
1080
- <td>
1081
- Application::Object_Type_Reference</td>
1084
+ <td>Application::Object_Type_Reference</td>
1082
1085
 
1083
- <td class="ds">2:03</td>
1086
+ <td class="ds">2:03</td>
1084
1087
  </tr>
1088
+
1085
1089
  <tr>
1086
- <td>
1087
- Application::Object_Name</td>
1090
+ <td>Application::Object_Name</td>
1088
1091
 
1089
- <td class="ds">2:05</td>
1092
+ <td class="ds">2:05</td>
1090
1093
  </tr>
1094
+
1091
1095
  <tr>
1092
- <td>
1093
- Application::Title</td>
1096
+ <td>Application::Title</td>
1094
1097
 
1095
- <td class="ds">2:05</td>
1098
+ <td class="ds">2:05</td>
1096
1099
  </tr>
1100
+
1097
1101
  <tr>
1098
- <td>
1099
- Application::Edit_Status</td>
1102
+ <td>Application::Edit_Status</td>
1100
1103
 
1101
- <td class="ds">2:07</td>
1104
+ <td class="ds">2:07</td>
1102
1105
  </tr>
1106
+
1103
1107
  <tr>
1104
- <td>
1105
- Application::Editorial_Update</td>
1108
+ <td>Application::Editorial_Update</td>
1106
1109
 
1107
- <td class="ds">2:08</td>
1110
+ <td class="ds">2:08</td>
1108
1111
  </tr>
1112
+
1109
1113
  <tr>
1110
- <td>
1111
- Application::Urgency</td>
1114
+ <td>Application::Urgency</td>
1112
1115
 
1113
- <td class="ds">2:10</td>
1116
+ <td class="ds">2:10</td>
1114
1117
  </tr>
1118
+
1115
1119
  <tr>
1116
- <td>
1117
- Application::Country_Primary_Location_Code</td>
1120
+ <td>Application::Country_Primary_Location_Code</td>
1118
1121
 
1119
- <td class="ds">2:100</td>
1122
+ <td class="ds">2:100</td>
1120
1123
  </tr>
1124
+
1121
1125
  <tr>
1122
- <td>
1123
- Application::Country_Primary_Location_Name</td>
1126
+ <td>Application::Country_Primary_Location_Name</td>
1124
1127
 
1125
- <td class="ds">2:101</td>
1128
+ <td class="ds">2:101</td>
1126
1129
  </tr>
1130
+
1127
1131
  <tr>
1128
- <td>
1129
- Application::Original_Transmission_Reference</td>
1132
+ <td>Application::Original_Transmission_Reference</td>
1130
1133
 
1131
- <td class="ds">2:103</td>
1134
+ <td class="ds">2:103</td>
1132
1135
  </tr>
1136
+
1133
1137
  <tr>
1134
- <td>
1135
- Application::Headline</td>
1138
+ <td>Application::Headline</td>
1136
1139
 
1137
- <td class="ds">2:105</td>
1140
+ <td class="ds">2:105</td>
1138
1141
  </tr>
1142
+
1139
1143
  <tr>
1140
- <td>
1141
- Application::Credit</td>
1144
+ <td>Application::Credit</td>
1142
1145
 
1143
- <td class="ds">2:110</td>
1146
+ <td class="ds">2:110</td>
1144
1147
  </tr>
1148
+
1145
1149
  <tr>
1146
- <td>
1147
- Application::Source</td>
1150
+ <td>Application::Source</td>
1148
1151
 
1149
- <td class="ds">2:115</td>
1152
+ <td class="ds">2:115</td>
1150
1153
  </tr>
1154
+
1151
1155
  <tr>
1152
- <td>
1153
- Application::Copyright_Notice</td>
1156
+ <td>Application::Copyright_Notice</td>
1154
1157
 
1155
- <td class="ds">2:116</td>
1158
+ <td class="ds">2:116</td>
1156
1159
  </tr>
1160
+
1157
1161
  <tr>
1158
- <td>
1159
- Application::Contact</td>
1162
+ <td>Application::Contact</td>
1160
1163
 
1161
- <td class="ds">2:118</td>
1164
+ <td class="ds">2:118</td>
1162
1165
  </tr>
1166
+
1163
1167
  <tr>
1164
- <td>
1165
- Application::Subject_Reference</td>
1168
+ <td>Application::Subject_Reference</td>
1166
1169
 
1167
- <td class="ds">2:12</td>
1170
+ <td class="ds">2:12</td>
1168
1171
  </tr>
1172
+
1169
1173
  <tr>
1170
- <td>
1171
- Application::Abstract</td>
1174
+ <td>Application::Abstract</td>
1172
1175
 
1173
- <td class="ds">2:120</td>
1176
+ <td class="ds">2:120</td>
1174
1177
  </tr>
1178
+
1175
1179
  <tr>
1176
- <td>
1177
- Application::Caption</td>
1180
+ <td>Application::Caption</td>
1178
1181
 
1179
- <td class="ds">2:120</td>
1182
+ <td class="ds">2:120</td>
1180
1183
  </tr>
1184
+
1181
1185
  <tr>
1182
- <td>
1183
- Application::Caption_Writer</td>
1186
+ <td>Application::Caption_Writer</td>
1184
1187
 
1185
- <td class="ds">2:122</td>
1188
+ <td class="ds">2:122</td>
1186
1189
  </tr>
1190
+
1187
1191
  <tr>
1188
- <td>
1189
- Application::Editor</td>
1192
+ <td>Application::Editor</td>
1190
1193
 
1191
- <td class="ds">2:122</td>
1194
+ <td class="ds">2:122</td>
1192
1195
  </tr>
1196
+
1193
1197
  <tr>
1194
- <td>
1195
- Application::Rasterized_Caption</td>
1198
+ <td>Application::Rasterized_Caption</td>
1196
1199
 
1197
- <td class="ds">2:125</td>
1200
+ <td class="ds">2:125</td>
1198
1201
  </tr>
1202
+
1199
1203
  <tr>
1200
- <td>
1201
- Application::Image_Type</td>
1204
+ <td>Application::Image_Type</td>
1202
1205
 
1203
- <td class="ds">2:130</td>
1206
+ <td class="ds">2:130</td>
1204
1207
  </tr>
1208
+
1205
1209
  <tr>
1206
- <td>
1207
- Application::Image_Orientation</td>
1210
+ <td>Application::Image_Orientation</td>
1208
1211
 
1209
- <td class="ds">2:131</td>
1212
+ <td class="ds">2:131</td>
1210
1213
  </tr>
1214
+
1211
1215
  <tr>
1212
- <td>
1213
- Application::Language_Identifier</td>
1216
+ <td>Application::Language_Identifier</td>
1214
1217
 
1215
- <td class="ds">2:135</td>
1218
+ <td class="ds">2:135</td>
1216
1219
  </tr>
1220
+
1217
1221
  <tr>
1218
- <td>
1219
- Application::Category</td>
1222
+ <td>Application::Category</td>
1220
1223
 
1221
- <td class="ds">2:15</td>
1224
+ <td class="ds">2:15</td>
1222
1225
  </tr>
1226
+
1223
1227
  <tr>
1224
- <td>
1225
- Application::Audio_Type</td>
1228
+ <td>Application::Audio_Type</td>
1226
1229
 
1227
- <td class="ds">2:150</td>
1230
+ <td class="ds">2:150</td>
1228
1231
  </tr>
1232
+
1229
1233
  <tr>
1230
- <td>
1231
- Application::Audio_Sampling_Rate</td>
1234
+ <td>Application::Audio_Sampling_Rate</td>
1232
1235
 
1233
- <td class="ds">2:151</td>
1236
+ <td class="ds">2:151</td>
1234
1237
  </tr>
1238
+
1235
1239
  <tr>
1236
- <td>
1237
- Application::Audio_Sampling_Resolution</td>
1240
+ <td>Application::Audio_Sampling_Resolution</td>
1238
1241
 
1239
- <td class="ds">2:152</td>
1242
+ <td class="ds">2:152</td>
1240
1243
  </tr>
1244
+
1241
1245
  <tr>
1242
- <td>
1243
- Application::Audio_Duration</td>
1246
+ <td>Application::Audio_Duration</td>
1244
1247
 
1245
- <td class="ds">2:153</td>
1248
+ <td class="ds">2:153</td>
1246
1249
  </tr>
1250
+
1247
1251
  <tr>
1248
- <td>
1249
- Application::Audio_Outcue</td>
1252
+ <td>Application::Audio_Outcue</td>
1250
1253
 
1251
- <td class="ds">2:154</td>
1254
+ <td class="ds">2:154</td>
1252
1255
  </tr>
1256
+
1253
1257
  <tr>
1254
- <td>
1255
- Application::Supplemental_Category</td>
1258
+ <td>Application::Supplemental_Category</td>
1256
1259
 
1257
- <td class="ds">2:20</td>
1260
+ <td class="ds">2:20</td>
1258
1261
  </tr>
1262
+
1259
1263
  <tr>
1260
- <td>
1261
- Application::ObjectData_Preview_File_Format</td>
1264
+ <td>Application::ObjectData_Preview_File_Format</td>
1262
1265
 
1263
- <td class="ds">2:200</td>
1266
+ <td class="ds">2:200</td>
1264
1267
  </tr>
1268
+
1265
1269
  <tr>
1266
- <td>
1267
- Application::ObjectData_Preview_File_Format_Version</td>
1270
+ <td>
1271
+ Application::ObjectData_Preview_File_Format_Version</td>
1268
1272
 
1269
- <td class="ds">2:201</td>
1273
+ <td class="ds">2:201</td>
1270
1274
  </tr>
1275
+
1271
1276
  <tr>
1272
- <td>
1273
- Application::ObjectData_Preview_Data</td>
1277
+ <td>Application::ObjectData_Preview_Data</td>
1274
1278
 
1275
- <td class="ds">2:202</td>
1279
+ <td class="ds">2:202</td>
1276
1280
  </tr>
1281
+
1277
1282
  <tr>
1278
- <td>
1279
- Application::Fixture_Identifier</td>
1283
+ <td>Application::Fixture_Identifier</td>
1280
1284
 
1281
- <td class="ds">2:22</td>
1285
+ <td class="ds">2:22</td>
1282
1286
  </tr>
1287
+
1283
1288
  <tr>
1284
- <td>
1285
- Application::Keywords</td>
1289
+ <td>Application::Keywords</td>
1286
1290
 
1287
- <td class="ds">2:25</td>
1291
+ <td class="ds">2:25</td>
1288
1292
  </tr>
1293
+
1289
1294
  <tr>
1290
- <td>
1291
- Application::Content_Location_Code</td>
1295
+ <td>Application::Content_Location_Code</td>
1292
1296
 
1293
- <td class="ds">2:26</td>
1297
+ <td class="ds">2:26</td>
1294
1298
  </tr>
1299
+
1295
1300
  <tr>
1296
- <td>
1297
- Application::Content_Location_Name</td>
1301
+ <td>Application::Content_Location_Name</td>
1298
1302
 
1299
- <td class="ds">2:27</td>
1303
+ <td class="ds">2:27</td>
1300
1304
  </tr>
1305
+
1301
1306
  <tr>
1302
- <td>
1303
- Application::Release_Date</td>
1307
+ <td>Application::Release_Date</td>
1304
1308
 
1305
- <td class="ds">2:30</td>
1309
+ <td class="ds">2:30</td>
1306
1310
  </tr>
1311
+
1307
1312
  <tr>
1308
- <td>
1309
- Application::Release_Time</td>
1313
+ <td>Application::Release_Time</td>
1310
1314
 
1311
- <td class="ds">2:35</td>
1315
+ <td class="ds">2:35</td>
1312
1316
  </tr>
1317
+
1313
1318
  <tr>
1314
- <td>
1315
- Application::Expiration_Time</td>
1319
+ <td>Application::Expiration_Time</td>
1316
1320
 
1317
- <td class="ds">2:35</td>
1321
+ <td class="ds">2:35</td>
1318
1322
  </tr>
1323
+
1319
1324
  <tr>
1320
- <td>
1321
- Application::Expiration_Date</td>
1325
+ <td>Application::Expiration_Date</td>
1322
1326
 
1323
- <td class="ds">2:37</td>
1327
+ <td class="ds">2:37</td>
1324
1328
  </tr>
1329
+
1325
1330
  <tr>
1326
- <td>
1327
- Application::Special_Instructions</td>
1331
+ <td>Application::Special_Instructions</td>
1328
1332
 
1329
- <td class="ds">2:40</td>
1333
+ <td class="ds">2:40</td>
1330
1334
  </tr>
1335
+
1331
1336
  <tr>
1332
- <td>
1333
- Application::Action_Advised</td>
1337
+ <td>Application::Action_Advised</td>
1334
1338
 
1335
- <td class="ds">2:42</td>
1339
+ <td class="ds">2:42</td>
1336
1340
  </tr>
1341
+
1337
1342
  <tr>
1338
- <td>
1339
- Application::Reference_Service</td>
1343
+ <td>Application::Reference_Service</td>
1340
1344
 
1341
- <td class="ds">2:45</td>
1345
+ <td class="ds">2:45</td>
1342
1346
  </tr>
1347
+
1343
1348
  <tr>
1344
- <td>
1345
- Application::Reference_Date</td>
1349
+ <td>Application::Reference_Date</td>
1346
1350
 
1347
- <td class="ds">2:47</td>
1351
+ <td class="ds">2:47</td>
1348
1352
  </tr>
1353
+
1349
1354
  <tr>
1350
- <td>
1351
- Application::Reference_Number</td>
1355
+ <td>Application::Reference_Number</td>
1352
1356
 
1353
- <td class="ds">2:50</td>
1357
+ <td class="ds">2:50</td>
1354
1358
  </tr>
1359
+
1355
1360
  <tr>
1356
- <td>
1357
- Application::Date_Created</td>
1361
+ <td>Application::Date_Created</td>
1358
1362
 
1359
- <td class="ds">2:55</td>
1363
+ <td class="ds">2:55</td>
1360
1364
  </tr>
1365
+
1361
1366
  <tr>
1362
- <td>
1363
- Application::Time_Created</td>
1367
+ <td>Application::Time_Created</td>
1364
1368
 
1365
- <td class="ds">2:60</td>
1369
+ <td class="ds">2:60</td>
1366
1370
  </tr>
1371
+
1367
1372
  <tr>
1368
- <td>
1369
- Application::Digital_Creation_Date</td>
1373
+ <td>Application::Digital_Creation_Date</td>
1370
1374
 
1371
- <td class="ds">2:62</td>
1375
+ <td class="ds">2:62</td>
1372
1376
  </tr>
1377
+
1373
1378
  <tr>
1374
- <td>
1375
- Application::Digital_Creation_Time</td>
1379
+ <td>Application::Digital_Creation_Time</td>
1376
1380
 
1377
- <td class="ds">2:63</td>
1381
+ <td class="ds">2:63</td>
1378
1382
  </tr>
1383
+
1379
1384
  <tr>
1380
- <td>
1381
- Application::Originating_Program</td>
1385
+ <td>Application::Originating_Program</td>
1382
1386
 
1383
- <td class="ds">2:65</td>
1387
+ <td class="ds">2:65</td>
1384
1388
  </tr>
1389
+
1385
1390
  <tr>
1386
- <td>
1387
- Application::Program_Version</td>
1391
+ <td>Application::Program_Version</td>
1388
1392
 
1389
- <td class="ds">2:70</td>
1393
+ <td class="ds">2:70</td>
1390
1394
  </tr>
1395
+
1391
1396
  <tr>
1392
- <td>
1393
- Application::Object_Cycle</td>
1397
+ <td>Application::Object_Cycle</td>
1394
1398
 
1395
- <td class="ds">2:75</td>
1399
+ <td class="ds">2:75</td>
1396
1400
  </tr>
1401
+
1397
1402
  <tr>
1398
- <td>
1399
- Application::Author</td>
1403
+ <td>Application::Author</td>
1400
1404
 
1401
- <td class="ds">2:80</td>
1405
+ <td class="ds">2:80</td>
1402
1406
  </tr>
1407
+
1403
1408
  <tr>
1404
- <td>
1405
- Application::By_Line</td>
1409
+ <td>Application::By_Line</td>
1406
1410
 
1407
- <td class="ds">2:80</td>
1411
+ <td class="ds">2:80</td>
1408
1412
  </tr>
1413
+
1409
1414
  <tr>
1410
- <td>
1411
- Application::Author_Position</td>
1415
+ <td>Application::Author_Position</td>
1412
1416
 
1413
- <td class="ds">2:85</td>
1417
+ <td class="ds">2:85</td>
1414
1418
  </tr>
1419
+
1415
1420
  <tr>
1416
- <td>
1417
- Application::By_Line_Title</td>
1421
+ <td>Application::By_Line_Title</td>
1418
1422
 
1419
- <td class="ds">2:85</td>
1423
+ <td class="ds">2:85</td>
1420
1424
  </tr>
1425
+
1421
1426
  <tr>
1422
- <td>
1423
- Application::City</td>
1427
+ <td>Application::City</td>
1424
1428
 
1425
- <td class="ds">2:90</td>
1429
+ <td class="ds">2:90</td>
1426
1430
  </tr>
1431
+
1427
1432
  <tr>
1428
- <td>
1429
- Application::Sub_Location</td>
1433
+ <td>Application::Sub_Location</td>
1430
1434
 
1431
- <td class="ds">2:92</td>
1435
+ <td class="ds">2:92</td>
1432
1436
  </tr>
1437
+
1433
1438
  <tr>
1434
- <td>
1435
- Application::Province</td>
1439
+ <td>Application::Province</td>
1436
1440
 
1437
- <td class="ds">2:95</td>
1441
+ <td class="ds">2:95</td>
1438
1442
  </tr>
1443
+
1439
1444
  <tr>
1440
- <td>
1441
- Application::State</td>
1445
+ <td>Application::State</td>
1442
1446
 
1443
- <td class="ds">2:95</td>
1447
+ <td class="ds">2:95</td>
1444
1448
  </tr>
1449
+
1445
1450
  <tr>
1446
- <td>
1447
- Pre_ObjectData_Descriptor::Size_Mode</td>
1451
+ <td>Pre_ObjectData_Descriptor::Size_Mode</td>
1448
1452
 
1449
- <td class="ds">7:10</td>
1453
+ <td class="ds">7:10</td>
1450
1454
  </tr>
1455
+
1451
1456
  <tr>
1452
- <td>
1453
- Pre_ObjectData_Descriptor::Max_Subfile_Size</td>
1457
+ <td>Pre_ObjectData_Descriptor::Max_Subfile_Size</td>
1454
1458
 
1455
- <td class="ds">7:20</td>
1459
+ <td class="ds">7:20</td>
1456
1460
  </tr>
1461
+
1457
1462
  <tr>
1458
- <td>
1459
- Pre_ObjectData_Descriptor::ObjectData_Size_Announced</td>
1463
+ <td>
1464
+ Pre_ObjectData_Descriptor::ObjectData_Size_Announced</td>
1460
1465
 
1461
- <td class="ds">7:90</td>
1466
+ <td class="ds">7:90</td>
1462
1467
  </tr>
1468
+
1463
1469
  <tr>
1464
- <td>
1465
- Pre_ObjectData_Descriptor::Maximum_ObjectData_Size</td>
1470
+ <td>Pre_ObjectData_Descriptor::Maximum_ObjectData_Size</td>
1466
1471
 
1467
- <td class="ds">7:95</td>
1472
+ <td class="ds">7:95</td>
1468
1473
  </tr>
1474
+
1469
1475
  <tr>
1470
- <td>
1471
- ObjectData::Subfile</td>
1476
+ <td>ObjectData::Subfile</td>
1472
1477
 
1473
- <td class="ds">8:10</td>
1478
+ <td class="ds">8:10</td>
1474
1479
  </tr>
1480
+
1475
1481
  <tr>
1476
- <td>
1477
- Post_ObjectData_Descriptor::Confirmed_ObjectData_Size</td>
1482
+ <td>
1483
+ Post_ObjectData_Descriptor::Confirmed_ObjectData_Size</td>
1478
1484
 
1479
- <td class="ds">9:10</td>
1485
+ <td class="ds">9:10</td>
1480
1486
  </tr>
1481
-
1482
1487
  </table>
1483
1488
 
1484
1489
  <h4>Example</h4>
@@ -2011,6 +2016,46 @@ img.level(white_point, gamma, black_point) -&gt; anImage # wrong!
2011
2016
  <p>LevelImageChannel</p>
2012
2017
  </div>
2013
2018
 
2019
+ <div class="sig">
2020
+ <h3 id="linear_stretch">linear_stretch</h3>
2021
+
2022
+ <p><span class="arg">image</span>.linear_stretch(<span class=
2023
+ "arg">black_point</span>[, <span class=
2024
+ "arg">white_point</span>]) -&gt; <em>anImage</em></p>
2025
+ </div>
2026
+
2027
+ <div class="desc">
2028
+ <h4>Description</h4>
2029
+
2030
+ <p class="imquote">Linear with saturation stretch.</p>
2031
+
2032
+ <h4>Arguments</h4>
2033
+
2034
+ <dl>
2035
+ <dt>black_point</dt>
2036
+
2037
+ <dd>black out at most this many pixels. Specify an absolute
2038
+ number of pixels as a numeric value, or a percentage as a
2039
+ string in the form 'NN%'.</dd>
2040
+
2041
+ <dt>white_point</dt>
2042
+
2043
+ <dd>burn at most this many pixels. Specify an absolute number
2044
+ of pixels as a numeric value, or a percentage as a string in
2045
+ the form 'NN%'. This argument is optional. If not specified
2046
+ the default is <code>all pixels - black_point
2047
+ pixels</code>.</dd>
2048
+ </dl>
2049
+
2050
+ <h4>Returns</h4>
2051
+
2052
+ <p>A new image</p>
2053
+
2054
+ <h4>Magick API</h4>
2055
+
2056
+ <p>LinearStretchImage</p>
2057
+ </div>
2058
+
2014
2059
  <div class="sig">
2015
2060
  <h3 id="magnify">magnify</h3>
2016
2061
 
@@ -2338,9 +2383,11 @@ img.level(white_point, gamma, black_point) -&gt; anImage # wrong!
2338
2383
 
2339
2384
  <p>The left side of the image has been modified by <a href=
2340
2385
  "image1.html#add_noise">add_noise</a>. The right side has been
2341
- filtered by median_filter(0.05).</p><a href=
2342
- "javascript:popup('median_filter.rb.html')"><img src=
2343
- "ex/median_filter.jpg" alt="median_filter example" /></a>
2386
+ filtered by median_filter(0.05).</p>
2387
+
2388
+ <p><a href=
2389
+ "javascript:popup('median_filter.rb.html')"><img src="ex/median_filter.jpg"
2390
+ alt="median_filter example" /></a></p>
2344
2391
 
2345
2392
  <h4>See also</h4>
2346
2393
 
@@ -2809,24 +2856,30 @@ img = img.opaque('white', 'red')
2809
2856
  <h3 id="ordered_dither">ordered_dither</h3>
2810
2857
 
2811
2858
  <p><span class="arg">image</span>.ordered_dither(<span class=
2812
- "arg">order</span>=2) -&gt; <em>anImage</em></p>
2859
+ "arg">threshold_map</span>='2x2') -&gt; <em>anImage</em></p>
2813
2860
  </div>
2814
2861
 
2815
2862
  <div class="desc">
2816
2863
  <h4>Description</h4>
2817
2864
 
2818
- <p class="imquote">Uses the ordered dithering technique of
2819
- reducing color images to monochrome using positional
2820
- information to retain as much information as possible.</p>
2865
+ <p>DIthers the image to a predefined pattern. The <span class=
2866
+ "arg">threshold_map</span> argument defines the pattern to
2867
+ use.</p>
2821
2868
 
2822
2869
  <h4>Arguments</h4>
2823
2870
 
2824
- <dl>
2825
- <dt>order</dt>
2871
+ <p>The <span class="arg">threshold_map</span> argument can be
2872
+ any of the strings listed by this command:</p>
2873
+ <pre>
2874
+ convert -list Thresholds
2875
+ </pre>
2826
2876
 
2827
- <dd>The dither order. Must be one of the integers 2, 3, or
2828
- 4.</dd>
2829
- </dl>
2877
+ <p>GraphicsMagick and older releases of ImageMagick do not
2878
+ accept threshold map strings and will not respond to that
2879
+ command. In these cases <span class="arg">threshold_map</span>
2880
+ should be one of the numbers 2, 3, or 4. These numbers
2881
+ correspond to the threshold maps "o2x2", "o3x3", and "o4x4",
2882
+ respectively.</p>
2830
2883
 
2831
2884
  <h4>Returns</h4>
2832
2885
 
@@ -2850,7 +2903,7 @@ img = img.opaque('white', 'red')
2850
2903
 
2851
2904
  <h4>Magick API</h4>
2852
2905
 
2853
- <p>RandomThresholdImageChannel</p>
2906
+ <p>OrderedPosterizeImage</p>
2854
2907
  </div>
2855
2908
 
2856
2909
  <div class="sig">
@@ -2904,8 +2957,8 @@ img = img.opaque('white', 'red')
2904
2957
  <dt>new_color</dt>
2905
2958
 
2906
2959
  <dd>If specified, the pixel is set to this color. May be
2907
- either a color name or a <a href=
2908
- "struct.html#Pixel">Pixel</a>.</dd>
2960
+ either a <a href="imusage.html#color_names">color name</a> or
2961
+ a <a href="struct.html#Pixel">Pixel</a>.</dd>
2909
2962
  </dl>
2910
2963
 
2911
2964
  <h4>Returns</h4>A <a href="struct.html#Pixel">Pixel</a> having
@@ -2921,6 +2974,82 @@ old = image.pixel_color(20,40,"white")
2921
2974
  <p>AcquireImagePixels</p>
2922
2975
  </div>
2923
2976
 
2977
+ <div class="sig">
2978
+ <h3 id="polaroid">polaroid</h3>
2979
+
2980
+ <p>image.polaroid(angle=-5.0) [ <span class="arg">{ optional
2981
+ arguments }</span> ] -&gt; anImage</p>
2982
+ </div>
2983
+
2984
+ <div class="desc">
2985
+ <h4>Description</h4>
2986
+
2987
+ <p>Produce an image that looks like a Polaroid&reg; instant
2988
+ picture. If the image has a "Caption" <a href=
2989
+ "image1.html#aset">property</a>, the value is used as a
2990
+ caption.</p>
2991
+
2992
+ <p>Optional arguments may be specified in a block associated
2993
+ with the method. These arguments control the shadow color and
2994
+ how the label is rendered. By default the shadow color is
2995
+ gray75. To specify a different shadow color, use
2996
+ <code>self.shadow_color</code>. The argument can be either a
2997
+ <a href="imusage.html#color_names">color name</a> or a <a href=
2998
+ "struct.html#Pixel">Pixel</a>.</p>
2999
+
3000
+ <p>The following <a href="draw.html#annotate">annotate</a>
3001
+ attributes control the label rendering: <a href=
3002
+ "draw.html#align_eq">align</a>, <a href=
3003
+ "draw.html#decorate_eq">decorate</a>, <a href=
3004
+ "draw.html#density_eq">density</a>, <a href=
3005
+ "draw.html#encoding_eq">encoding</a>, <a href=
3006
+ "draw.html#fill_eq">fill</a>, <a href=
3007
+ "draw.html#font_eq">font</a>, <a href=
3008
+ "draw.html#font_family_eq">font_family</a>, <a href=
3009
+ "draw.html#font_stretch_eq">font_stretch</a>, <a href=
3010
+ "draw.html#font_style_eq">font_style</a>, <a href=
3011
+ "draw.html#font_weight_eq">font_weight</a>, <a href=
3012
+ "draw.html#gravity_eq">gravity</a>, <a href=
3013
+ "draw.html#pointsize_eq">pointsize</a>, <a href=
3014
+ "draw.html#stroke_eq">stroke</a>, <a href=
3015
+ "draw.html#stroke_width_eq">stroke_width</a>, <a href=
3016
+ "draw.html#text_antialias_eq">text_antialias</a>, <a href=
3017
+ "draw.html#undercolor_eq">undercolor</a>.</p>
3018
+ <pre>
3019
+ img.polaroid do
3020
+ self.shadow_color = "gray40"
3021
+ self.pointsize = 12
3022
+ end
3023
+ </pre>
3024
+
3025
+ <p>Polaroid is a registered trademark of the Polaroid
3026
+ Corporation.</p>
3027
+
3028
+ <h4>Arguments</h4>
3029
+
3030
+ <dl>
3031
+ <dt>angle</dt>
3032
+
3033
+ <dd>The resulting image is rotated by this amount, measured
3034
+ in degrees. The default is -5.0.</dd>
3035
+ </dl>
3036
+
3037
+ <h4>Example</h4>
3038
+
3039
+ <p><a href="javascript:popup('polaroid.rb.html')"><img src=
3040
+ "ex/polaroid.jpg" alt="polaroid example" /></a></p>
3041
+
3042
+ <h4>Magick API</h4>
3043
+
3044
+ <p>PolaroidImage (introduced in ImageMagick 6.3.1)</p>
3045
+
3046
+ <h4>See also</h4>
3047
+
3048
+ <p><a href=
3049
+ "http://rmagick.rubyforge.org/Polaroid/polaroid.html">The
3050
+ Polaroid Effect</a></p>
3051
+ </div>
3052
+
2924
3053
  <div class="sig">
2925
3054
  <h3 id="posterize">posterize</h3>
2926
3055