~ubuntu-branches/ubuntu/oneiric/imagemagick/oneiric-updates

« back to all changes in this revision

Viewing changes to www/api/magick-deprecate.html

  • Committer: Bazaar Package Importer
  • Author(s): Nelson A. de Oliveira
  • Date: 2010-06-20 19:59:55 UTC
  • mfrom: (6.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100620195955-n3eq0yenhycw888i
Tags: 7:6.6.2.6-1
* New upstream release;
* Change Recommends on ufraw to ufraw-batch (Closes: #579775);
* Fix FTBFS when using dash to run the configure script, by setting
  CONFIG_SHELL=/bin/bash (Closes: #582073, #583024). Thank you, Niko Tyni!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
2
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
4
4
<head>
 
5
  <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
5
6
  <meta name="verify-v1" content="g222frIIxcQTrvDR3NBRUSKP3AnMNoqxOkIniCEkV7U=" />
6
7
  <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf" />
7
 
  <style type="text/css" media="screen,projection"><!--
 
8
  <style type="text/css" media="all">
8
9
    @import url("../../www/magick.css");
9
 
  --></style>
 
10
  </style>
10
11
  <link rel="shortcut icon" href="../../images/wand.ico"  type="images/vnd.microsoft.icon"/>
11
12
  <title>ImageMagick: MagickWand, C API for ImageMagick: Deprecated Methods</title>
12
13
  <meta http-equiv="Content-Language" content="en-US"/>
21
22
  <meta name="Author" content="ImageMagick Studio LLC"/>
22
23
  <meta name="Revisit-after" content="2 DAYS"/>
23
24
  <meta name="Resource-type" content="document"/>
24
 
  <meta name="Copyright" content="Copyright (c) 1999-2009 ImageMagick Studio LLC"/>
 
25
  <meta name="Copyright" content="Copyright (c) 1999-2010 ImageMagick Studio LLC"/>
25
26
  <meta name="Distribution" content="Global"/>
26
27
</head>
27
28
 
44
45
<div class="eastbar">
45
46
 
46
47
<div class="menu">
47
 
  <a href="../../index.html">About ImageMagick</a>
48
 
</div>
49
 
<div class="sep"></div>
50
 
<div class="menu">
51
 
  <a href="../../www/command-line-tools.html">Command-line Tools</a>
52
 
</div>
53
 
<div class="sub">
54
 
    <a href="../../www/command-line-processing.html">Processing</a>
55
 
</div>
56
 
<div class="sub">
57
 
    <a href="../../www/command-line-options.html">Options</a>
58
 
</div>
59
 
<div class="sub">
60
 
    <a href="http://www.imagemagick.org/Usage/">Usage</a>
61
 
</div>
62
 
<div class="menu">
63
 
  <a href="../../www/api.html">Program Interfaces</a>
64
 
</div>
65
 
<div class="sub">
66
 
    <a href="../../www/magick-wand.html">MagickWand</a>
67
 
</div>
68
 
<div class="sub">
69
 
    <a href="../../www/magick-core.html">MagickCore</a>
70
 
</div>
71
 
<div class="sub">
72
 
    <a href="../../www/perl-magick.html">PerlMagick</a>
73
 
</div>
74
 
<div class="sub">
75
 
    <a href="../../Magick++/">Magick++</a>
76
 
</div>
77
 
<div class="menu">
78
 
  <a href="../../www/architecture.html">Architecture</a>
 
48
  <a title="About ImageMagick" href="../../index.html">About ImageMagick</a>
 
49
</div>
 
50
<div class="sep"></div>
 
51
<div class="menu">
 
52
  <a title="Binary Releases" href="../../www/binary-releases.html">Binary Releases</a>
 
53
</div>
 
54
<div class="sub">
 
55
    <a title="Binary Release: Unix" href="../../www/binary-releases.html#unix">Unix</a>
 
56
</div>
 
57
<div class="sub">
 
58
    <a title="Binary Release: MacOS X" href="../../www/binary-releases.html#macosx">Mac OS X</a>
 
59
</div>
 
60
<div class="sub">
 
61
    <a title="Binary Release: Windows" href="../../www/binary-releases.html#windows">Windows</a>
 
62
</div>
 
63
<div class="sep"></div>
 
64
<div class="menu">
 
65
  <a title="Command-line Tools" href="../../www/command-line-tools.html">Command-line Tools</a>
 
66
</div>
 
67
<div class="sub">
 
68
    <a title="Command-line Tools: Processing" href="../../www/command-line-processing.html">Processing</a>
 
69
</div>
 
70
<div class="sub">
 
71
    <a title="Command-line Tools: Options" href="../../www/command-line-options.html">Options</a>
 
72
</div>
 
73
<div class="sub">
 
74
    <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
 
75
</div>
 
76
<div class="menu">
 
77
  <a title="Program Interfaces" href="../../www/api.html">Program Interfaces</a>
 
78
</div>
 
79
<div class="sub">
 
80
    <a title="Program Interface: MagickWand" href="../../www/magick-wand.html">MagickWand</a>
 
81
</div>
 
82
<div class="sub">
 
83
    <a title="Program Interface: MagickCore" href="../../www/magick-core.html">MagickCore</a>
 
84
</div>
 
85
<div class="sub">
 
86
    <a title="Program Interface: PerlMagick" href="../../www/perl-magick.html">PerlMagick</a>
 
87
</div>
 
88
<div class="sub">
 
89
    <a title="Program Interface: Magick++" href="../../Magick++/">Magick++</a>
79
90
</div>
80
91
<div class="sep"></div>
81
92
<div  class="menu">
82
 
   <a href="../../www/install-source.html">Install from Source</a>
83
 
</div>
84
 
<div class="sub">
85
 
    <a href="../../www/install-source.html#unix">Unix</a>
86
 
</div>
87
 
<div class="sub">
88
 
    <a href="../../www/install-source.html#windows">Windows</a>
 
93
   <a title="Install from Source" href="../../www/install-source.html">Install from Source</a>
 
94
</div>
 
95
<div class="sub">
 
96
    <a title="Install from Source: Unix" href="../../www/install-source.html#unix">Unix</a>
 
97
</div>
 
98
<div class="sub">
 
99
    <a title="Install from Source: Windows" href="../../www/install-source.html#windows">Windows</a>
89
100
 </div>
90
101
<div class="menu">
91
 
  <a href="../../www/binary-releases.html">Binary Releases</a>
92
 
</div>
93
 
<div class="sub">
94
 
    <a href="../../www/binary-releases.html#unix">Unix</a>
95
 
</div>
96
 
<div class="sub">
97
 
    <a href="../../www/binary-releases.html#macosx">Mac OS X</a>
98
 
</div>
99
 
<div class="sub">
100
 
    <a href="../../www/binary-releases.html#windows">Windows</a>
101
 
</div>
102
 
<div class="menu">
103
 
  <a href="../../www/resources.html">Resources</a>
104
 
</div>
105
 
<div class="sep"></div>
106
 
<div class="menu">
107
 
  <a href="../../www/download.html">Download</a>
108
 
</div>
109
 
<div class="sep"></div>
110
 
<div class="menu">
111
 
  <a href="../http://www.imagemagick.org/script/search.php">Search</a>
112
 
</div>
113
 
<div class="sep"></div>
114
 
<div class="menu">
115
 
  <a href="../../www/sitemap.html">Site Map</a>
 
102
  <a title="Resources" href="../../www/resources.html">Resources</a>
 
103
</div>
 
104
<div class="menu">
 
105
  <a title="Architecture" href="../../www/architecture.html">Architecture</a>
 
106
</div>
 
107
<div class="menu">
 
108
  <a title="Download" href="../../www/download.html">Download</a>
 
109
</div>
 
110
<div class="sep"></div>
 
111
<div class="menu">
 
112
  <a title="Search" href="../http://www.imagemagick.org/script/search.php">Search</a>
 
113
</div>
 
114
<div class="sep"></div>
 
115
<div class="menu">
 
116
  <a title="Site Map"href="../../www/sitemap.html">Site Map</a>
116
117
</div>
117
118
<div  class="sub">
118
 
    <a href="../../www/links.html">Links</a>
 
119
    <a title="Site Map: Links"href="../../www/links.html">Links</a>
119
120
</div>
120
121
<div class="sep"></div>
121
122
<div  class="menu">
122
 
  <a href="../../www/sponsors.html">Sponsors:</a>
 
123
  <a title="Sponsors" href="../../www/sponsors.html">Sponsors:</a>
123
124
 
124
125
<div class="sponsbox">
125
126
<div  class="sponsor">
126
 
  <a href="http://www.online-kredit-index.de">Kredit</a><!-- 201004010120 Buchhorn -->
127
 
</div>
128
 
<div  class="sponsor">
129
 
  <a href="http://www.blumenversender.com">Blumenversand</a><!-- 201005010120 -->
130
 
</div>
131
 
<div  class="sponsor">
132
 
  <a href="http://www.print24.de/">Druckerei</a><!-- 201009010720 -->
133
 
</div>
134
 
<div  class="sponsor">
135
 
   <a href="http://www.goyax.de">Börse</a><!-- 201001000240 Gewiese digital-finance.de -->
136
 
</div>
137
 
<div  class="sponsor">
138
 
   <a href="http://www.allesdruck.de">Druckerei Online</a><!-- 201012001200 allesdruck.de-->
139
 
</div>
140
 
<div  class="sponsor">
141
 
  <a href="http://www.who-sells-it.com/">Free Catalogs</a><!-- 201002010000 -->
 
127
  <a title="Sponsor: Webdesign Agentur" href="http://www.ventzke-partner.de">Webdesign Agentur</a><!-- 201101010480 invendio.de-->
 
128
</div>
 
129
<div  class="sponsor">
 
130
  <a title="Sponsor: LVM Versicherung" href="http://www.neu-reich.de">LVM Versicherung</a><!-- 201101010480 -->
 
131
</div>
 
132
<div  class="sponsor">
 
133
  <a title="Sponsor: Deko.net" href="http://www.deko.net">Deko.net</a><!-- 201101010600 Peterssen-->
 
134
</div>
 
135
<div  class="sponsor">
 
136
  <a title="Sponsor: Kredit" href="http://www.online-kredit-index.de">Kredit</a><!-- 201007010120 Buchhorn -->
 
137
</div>
 
138
<div  class="sponsor">
 
139
  <a title="Sponsor: Druckerei" href="http://www.print24.de/">Druckerei</a><!-- 201009010720 -->
 
140
</div>
 
141
<div  class="sponsor">
 
142
   <a title="Sponsor: Druckerei Online" href="http://www.allesdruck.de">Druckerei Online</a><!-- 201012011200 allesdruck.de-->
 
143
</div>
 
144
<div  class="sponsor">
 
145
   <a title="Sponsor: Webdesign" href="http://www.renehornig.com/" title="Webdesign">Webdesign</a><!-- 20110901000240 -->
142
146
</div>
143
147
</div>
144
148
</div>
148
152
 
149
153
<div class="main">
150
154
 
151
 
<p class="navigation-index">[<a href="#MagickClipPathImage">MagickClipPathImage</a> &bull; <a href="#DrawGetFillAlpha">DrawGetFillAlpha</a> &bull; <a href="#DrawGetStrokeAlpha">DrawGetStrokeAlpha</a> &bull; <a href="#DrawPeekGraphicWand">DrawPeekGraphicWand</a> &bull; <a href="#DrawPopGraphicContext">DrawPopGraphicContext</a> &bull; <a href="#DrawPushGraphicContext">DrawPushGraphicContext</a> &bull; <a href="#DrawSetFillAlpha">DrawSetFillAlpha</a> &bull; <a href="#DrawSetStrokeAlpha">DrawSetStrokeAlpha</a> &bull; <a href="#MagickColorFloodfillImage">MagickColorFloodfillImage</a> &bull; <a href="#MagickDescribeImage">MagickDescribeImage</a> &bull; <a href="#MagickFlattenImages">MagickFlattenImages</a> &bull; <a href="#MagickGetImageAttribute">MagickGetImageAttribute</a> &bull; <a href="#MagickGetImageMatte">MagickGetImageMatte</a> &bull; <a href="#MagickGetImagePixels">MagickGetImagePixels</a> &bull; <a href="#MagickGetImageSize">MagickGetImageSize</a> &bull; <a href="#MagickMapImage">MagickMapImage</a> &bull; <a href="#MagickMatteFloodfillImage">MagickMatteFloodfillImage</a> &bull; <a href="#MagickMosaicImages">MagickMosaicImages</a> &bull; <a href="#MagickOpaqueImage">MagickOpaqueImage</a> &bull; <a href="#MagickPaintFloodfillImage">MagickPaintFloodfillImage</a> &bull; <a href="#MagickPaintOpaqueImage">MagickPaintOpaqueImage</a> &bull; <a href="#MagickPaintTransparentImage">MagickPaintTransparentImage</a> &bull; <a href="#MagickSetImageAttribute">MagickSetImageAttribute</a> &bull; <a href="#MagickSetImageIndex">MagickSetImageIndex</a> &bull; <a href="#MagickTransparentImage">MagickTransparentImage</a> &bull; <a href="#MagickRegionOfInterestImage">MagickRegionOfInterestImage</a> &bull; <a href="#MagickSetImagePixels">MagickSetImagePixels</a> &bull; <a href="#MagickWriteImageBlob">MagickWriteImageBlob</a> &bull; <a href="#PixelGetNextRow">PixelGetNextRow</a> &bull; <a href="#PixelIteratorGetException">PixelIteratorGetException</a>]</p>
152
 
 
 
155
<p class="navigation-index">[<a href="#MagickAverageImages">MagickAverageImages</a> &bull; <a href="#MagickClipPathImage">MagickClipPathImage</a> &bull; <a href="#DrawGetFillAlpha">DrawGetFillAlpha</a> &bull; <a href="#DrawGetStrokeAlpha">DrawGetStrokeAlpha</a> &bull; <a href="#DrawPeekGraphicWand">DrawPeekGraphicWand</a> &bull; <a href="#DrawPopGraphicContext">DrawPopGraphicContext</a> &bull; <a href="#DrawPushGraphicContext">DrawPushGraphicContext</a> &bull; <a href="#DrawSetFillAlpha">DrawSetFillAlpha</a> &bull; <a href="#DrawSetStrokeAlpha">DrawSetStrokeAlpha</a> &bull; <a href="#MagickColorFloodfillImage">MagickColorFloodfillImage</a> &bull; <a href="#MagickDescribeImage">MagickDescribeImage</a> &bull; <a href="#MagickFlattenImages">MagickFlattenImages</a> &bull; <a href="#MagickGetImageAttribute">MagickGetImageAttribute</a> &bull; <a href="#MagickGetImageMatte">MagickGetImageMatte</a> &bull; <a href="#MagickGetImagePixels">MagickGetImagePixels</a> &bull; <a href="#MagickGetImageSize">MagickGetImageSize</a> &bull; <a href="#MagickMapImage">MagickMapImage</a> &bull; <a href="#MagickMatteFloodfillImage">MagickMatteFloodfillImage</a> &bull; <a href="#MagickMaximumImages">MagickMaximumImages</a> &bull; <a href="#MagickMinimumImages">MagickMinimumImages</a> &bull; <a href="#MagickMosaicImages">MagickMosaicImages</a> &bull; <a href="#MagickOpaqueImage">MagickOpaqueImage</a> &bull; <a href="#MagickPaintFloodfillImage">MagickPaintFloodfillImage</a> &bull; <a href="#MagickPaintOpaqueImage">MagickPaintOpaqueImage</a> &bull; <a href="#MagickPaintTransparentImage">MagickPaintTransparentImage</a> &bull; <a href="#MagickRecolorImage">MagickRecolorImage</a> &bull; <a href="#MagickSetImageAttribute">MagickSetImageAttribute</a> &bull; <a href="#MagickSetImageIndex">MagickSetImageIndex</a> &bull; <a href="#MagickTransparentImage">MagickTransparentImage</a> &bull; <a href="#MagickRegionOfInterestImage">MagickRegionOfInterestImage</a> &bull; <a href="#MagickSetImagePixels">MagickSetImagePixels</a> &bull; <a href="#MagickWriteImageBlob">MagickWriteImageBlob</a> &bull; <a href="#PixelGetNextRow">PixelGetNextRow</a> &bull; <a href="#PixelIteratorGetException">PixelIteratorGetException</a>]</p>
 
156
 
 
157
<h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
 
158
_8c.html" target="source" name="MagickAverageImages">MagickAverageImages</a></h2>
 
159
<div class="doc-section">
 
160
 
 
161
<p>MagickAverageImages() average a set of images.</p></ol>
 
162
 
 
163
<p>The format of the MagickAverageImages method is:</p>
 
164
 
 
165
<pre class="code">
 
166
  MagickWand *MagickAverageImages(MagickWand *wand)
 
167
</pre>
 
168
 
 
169
<p>A description of each parameter follows:</p></ol>
 
170
 
 
171
<h5>wand</h5>
 
172
<ol><p>the magick wand.</p></ol>
 
173
 
 
174
 </div>
153
175
<h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
154
176
_8c.html" target="source" name="MagickClipPathImage">MagickClipPathImage</a></h2>
155
177
<div class="doc-section">
317
339
<pre class="code">
318
340
  MagickBooleanType MagickColorFloodfillImage(MagickWand *wand,
319
341
    const PixelWand *fill,const double fuzz,const PixelWand *bordercolor,
320
 
    const long x,const long y)
 
342
    const ssize_t x,const ssize_t y)
321
343
</pre>
322
344
 
323
345
<p>A description of each parameter follows:</p></ol>
404
426
<p>The format of the MagickGetImageMatte method is:</p>
405
427
 
406
428
<pre class="code">
407
 
  unsigned long MagickGetImageMatte(MagickWand *wand)
 
429
  size_t MagickGetImageMatte(MagickWand *wand)
408
430
</pre>
409
431
 
410
432
<p>A description of each parameter follows:</p></ol>
417
439
_8c.html" target="source" name="MagickGetImagePixels">MagickGetImagePixels</a></h2>
418
440
<div class="doc-section">
419
441
 
420
 
<p>MagickGetImagePixels() extracts pixel data from an image and returns it to you.  The method returns MagickTrue on success otherwise MagickFalse if an error is encountered.  The data is returned as char, short int, int, long, float, or double in the order specified by map.</p></ol>
 
442
<p>MagickGetImagePixels() extracts pixel data from an image and returns it to you.  The method returns MagickTrue on success otherwise MagickFalse if an error is encountered.  The data is returned as char, short int, int, ssize_t, float, or double in the order specified by map.</p></ol>
421
443
 
422
444
<p>Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:</p>
423
445
 
429
451
 
430
452
<pre class="code">
431
453
  MagickBooleanType MagickGetImagePixels(MagickWand *wand,
432
 
    const long x,const long y,const unsigned long columns,
433
 
    const unsigned long rows,const char *map,const StorageType storage,
 
454
    const ssize_t x,const ssize_t y,const size_t columns,
 
455
    const size_t rows,const char *map,const StorageType storage,
434
456
    void *pixels)
435
457
</pre>
436
458
 
510
532
<pre class="code">
511
533
  MagickBooleanType MagickMatteFloodfillImage(MagickWand *wand,
512
534
    const double alpha,const double fuzz,const PixelWand *bordercolor,
513
 
    const long x,const long y)
 
535
    const ssize_t x,const ssize_t y)
514
536
</pre>
515
537
 
516
538
<p>A description of each parameter follows:</p></ol>
532
554
 
533
555
 </div>
534
556
<h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
 
557
_8c.html" target="source" name="MagickMaximumImages">MagickMaximumImages</a></h2>
 
558
<div class="doc-section">
 
559
 
 
560
<p>MagickMaximumImages() returns the maximum intensity of an image sequence.</p></ol>
 
561
 
 
562
<p>The format of the MagickMaximumImages method is:</p>
 
563
 
 
564
<pre class="code">
 
565
  MagickWand *MagickMaximumImages(MagickWand *wand)
 
566
</pre>
 
567
 
 
568
<p>A description of each parameter follows:</p></ol>
 
569
 
 
570
<h5>wand</h5>
 
571
<ol><p>the magick wand.</p></ol>
 
572
 
 
573
 </div>
 
574
<h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
 
575
_8c.html" target="source" name="MagickMinimumImages">MagickMinimumImages</a></h2>
 
576
<div class="doc-section">
 
577
 
 
578
<p>MagickMinimumImages() returns the minimum intensity of an image sequence.</p></ol>
 
579
 
 
580
<p>The format of the MagickMinimumImages method is:</p>
 
581
 
 
582
<pre class="code">
 
583
  MagickWand *MagickMinimumImages(MagickWand *wand)
 
584
</pre>
 
585
 
 
586
<p>A description of each parameter follows:</p></ol>
 
587
 
 
588
<h5>wand</h5>
 
589
<ol><p>the magick wand.</p></ol>
 
590
 
 
591
 </div>
 
592
<h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
535
593
_8c.html" target="source" name="MagickMosaicImages">MagickMosaicImages</a></h2>
536
594
<div class="doc-section">
537
595
 
591
649
<pre class="code">
592
650
  MagickBooleanType MagickPaintFloodfillImage(MagickWand *wand,
593
651
    const ChannelType channel,const PixelWand *fill,const double fuzz,
594
 
    const PixelWand *bordercolor,const long x,const long y)
 
652
    const PixelWand *bordercolor,const ssize_t x,const ssize_t y)
595
653
</pre>
596
654
 
597
655
<p>A description of each parameter follows:</p></ol>
678
736
 
679
737
 </div>
680
738
<h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
 
739
_8c.html" target="source" name="MagickRecolorImage">MagickRecolorImage</a></h2>
 
740
<div class="doc-section">
 
741
 
 
742
<p>MagickRecolorImage() apply color transformation to an image. The method permits saturation changes, hue rotation, luminance to alpha, and various other effects.  Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets).  The matrix is similar to those used by Adobe Flash except offsets are in column 6 rather than 5 (in support of CMYKA images) and offsets are normalized (divide Flash offset by 255).</p></ol>
 
743
 
 
744
<p>The format of the MagickRecolorImage method is:</p>
 
745
 
 
746
<pre class="code">
 
747
  MagickBooleanType MagickRecolorImage(MagickWand *wand,
 
748
    const size_t order,const double *color_matrix)
 
749
</pre>
 
750
 
 
751
<p>A description of each parameter follows:</p></ol>
 
752
 
 
753
<h5>wand</h5>
 
754
<ol><p>the magick wand.</p></ol>
 
755
 
 
756
<h5>order</h5>
 
757
<ol><p>the number of columns and rows in the color matrix.</p></ol>
 
758
 
 
759
<h5>color_matrix</h5>
 
760
<ol><p>An array of doubles representing the color matrix.</p></ol>
 
761
 
 
762
 </div>
 
763
<h2><a href="http://www.imagemagick.org/api/MagickWand/deprecate
681
764
_8c.html" target="source" name="MagickSetImageAttribute">MagickSetImageAttribute</a></h2>
682
765
<div class="doc-section">
683
766
 
711
794
<p>The format of the MagickSetImageIndex method is:</p>
712
795
 
713
796
<pre class="code">
714
 
  MagickBooleanType MagickSetImageIndex(MagickWand *wand,const long index)
 
797
  MagickBooleanType MagickSetImageIndex(MagickWand *wand,const ssize_t index)
715
798
</pre>
716
799
 
717
800
<p>A description of each parameter follows:</p></ol>
761
844
 
762
845
<pre class="code">
763
846
  MagickWand *MagickRegionOfInterestImage(MagickWand *wand,
764
 
    const unsigned long width,const unsigned long height,const long x,
765
 
    const long y)
 
847
    const size_t width,const size_t height,const ssize_t x,
 
848
    const ssize_t y)
766
849
</pre>
767
850
 
768
851
<p>A description of each parameter follows:</p></ol>
787
870
_8c.html" target="source" name="MagickSetImagePixels">MagickSetImagePixels</a></h2>
788
871
<div class="doc-section">
789
872
 
790
 
<p>MagickSetImagePixels() accepts pixel datand stores it in the image at the location you specify.  The method returns MagickFalse on success otherwise MagickTrue if an error is encountered.  The pixel data can be either char, short int, int, long, float, or double in the order specified by map.</p></ol>
 
873
<p>MagickSetImagePixels() accepts pixel datand stores it in the image at the location you specify.  The method returns MagickFalse on success otherwise MagickTrue if an error is encountered.  The pixel data can be either char, short int, int, ssize_t, float, or double in the order specified by map.</p></ol>
791
874
 
792
875
<p>Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:</p>
793
876
 
799
882
 
800
883
<pre class="code">
801
884
  MagickBooleanType MagickSetImagePixels(MagickWand *wand,
802
 
    const long x,const long y,const unsigned long columns,
803
 
    const unsigned long rows,const char *map,const StorageType storage,
 
885
    const ssize_t x,const ssize_t y,const size_t columns,
 
886
    const size_t rows,const char *map,const StorageType storage,
804
887
    const void *pixels)
805
888
</pre>
806
889
 
855
938
 
856
939
<pre class="code">
857
940
  PixelWand **PixelGetNextRow(PixelIterator *iterator,
858
 
    unsigned long *number_wands)
 
941
    size_t *number_wands)
859
942
</pre>
860
943
 
861
944
<p>A description of each parameter follows:</p></ol>
896
979
 <!--    <span id="linkbar-west">&nbsp;</span>  -->
897
980
    <span id="linkbar-center">
898
981
      <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> &bull;
899
 
      <a href="../../www/mailing-list.html">Mailing Lists</a> &bull;
900
982
    <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
901
983
    </span>
902
984
    <span id="linkbar-east">&nbsp;</span>
903
985
  </div>
904
986
  <div class="footer">
905
 
    <span id="footer-west">&copy; 1999-2009 ImageMagick Studio LLC</span>
 
987
    <span id="footer-west">&copy; 1999-2010 ImageMagick Studio LLC</span>
906
988
    <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
907
989
  </div>
908
990
  <div style="clear: both; margin: 0; width: 100%; "></div>