Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > b6c0c45acc40abafd9e92cef662b1736 > files > 48

graphicsmagick-doc-1.3.12-1mdv2010.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
   <META NAME="GENERATOR" CONTENT="Mozilla/4.07 [en] (X11; U; SunOS 5.6 sun4u) [Netscape]">
   <META NAME="Author" CONTENT="Bob Friesenhahn">
   <META NAME="Description" CONTENT="Description of Magick::Image object composition.">
   <TITLE>Magick::Image Data Structures</TITLE>
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000">

<CENTER>
<H1>
Magick::Image Data Structures</H1></CENTER>
The class Magick::Image is a simple handle which points to a reference-counted
image representation. This allows multiple Magick::Image instances to share
the same image and attributes. At the point in time that the image data,
or image attributes are modified and the current reference count is greater
than one, the image data and attributes are copied to create a new image
with a reference count of one and the reference count on the old image
is decremented. If the reference count on the old image becomes zero, then
the associated reference and data are deleted. This strategy represents
a simple (but effective) form of garbage collection
<P><IMG SRC="Image.png" HEIGHT=490 WIDTH=910>
</BODY>
</HTML>