doc/comtasks.html in rmagick-1.9.3 vs doc/comtasks.html in rmagick-1.10.0
- old
+ new
@@ -2,18 +2,18 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content=
- "HTML Tidy for Linux/x86 (vers 1st March 2005), see www.w3.org" />
+ "HTML Tidy for Linux/x86 (vers 1st December 2004), see www.w3.org" />
<title>RMagick: Common Tasks</title>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii" />
<meta name="GENERATOR" content="Quanta Plus" />
<meta name="Copyright" content=
- "Copyright (C) 2005 by Timothy P. Hunter" />
+ "Copyright (C) 2006 by Timothy P. Hunter" />
<link rel="stylesheet" type="text/css" href="css/doc.css" />
<script type="text/javascript" src="scripts/doc.js">
</script>
<style type="text/css">
/*<![CDATA[*/
@@ -192,10 +192,18 @@
viewer will be able to display it just as if you had written the
image directly to a file. Blobs are very useful in web
applications when you want to modify an image and then stream it
back to the client.</p>
+ <p>Use <a href=
+ "image2.html#import_pixels">Image#import_pixels</a> to load pixel
+ data from a string buffer into an image. The pixel data must be
+ in scanline order, right-to-left and top-to-bottom. The data can
+ be packed as 8-bit bytes, 16-bit halfwords, 32-bit fullwords, or
+ as C floats or doubles. The reciprocal method is <a href=
+ "image3.html#export_pixels_to_str">Image#export_pixels_to_str</a>.</p>
+
<h2 id="gray">Converting a color image to grayscale</h2>
<p>Use the <a href=
"image3.html#quantize"><code>quantize</code></a> method with the
<a href=
@@ -246,10 +254,10 @@
"ex/drop_shadow.gif" title="Click to see the example script"
alt="drop shadow example" /></a>
</div>
<hr />
- <p class="spacer"> </p>
+ <p class="spacer"> </p>
<div class="nav">
« <a href="imusage.html">Prev</a> | <a href=
"index.html">Contents</a> | <a href="magick.html">Next</a>
»