~ubuntu-branches/ubuntu/intrepid/graphicsmagick/intrepid

« back to all changes in this revision

Viewing changes to www/Magick++/ImageDesign.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2006-05-06 16:28:08 UTC
  • Revision ID: james.westby@ubuntu.com-20060506162808-vt2ni3r5nytcszms
Tags: upstream-1.1.7
ImportĀ upstreamĀ versionĀ 1.1.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 
2
  "http://www.w3.org/TR/html4/loose.dtd">
 
3
<HTML>
 
4
<HEAD>
 
5
   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
 
6
   <META NAME="GENERATOR" CONTENT="Mozilla/4.07 [en] (X11; U; SunOS 5.6 sun4u) [Netscape]">
 
7
   <META NAME="Author" CONTENT="Bob Friesenhahn">
 
8
   <META NAME="Description" CONTENT="Description of Magick::Image object composition.">
 
9
   <TITLE>Magick::Image Data Structures</TITLE>
 
10
</HEAD>
 
11
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000">
 
12
 
 
13
<CENTER>
 
14
<H1>
 
15
Magick::Image Data Structures</H1></CENTER>
 
16
The class Magick::Image is a simple handle which points to a reference-counted
 
17
image representation. This allows multiple Magick::Image instances to share
 
18
the same image and attributes. At the point in time that the image data,
 
19
or image attributes are modified and the current reference count is greater
 
20
than one, the image data and attributes are copied to create a new image
 
21
with a reference count of one and the reference count on the old image
 
22
is decremented. If the reference count on the old image becomes zero, then
 
23
the associated reference and data are deleted. This strategy represents
 
24
a simple (but effective) form of garbage collection
 
25
<P><IMG SRC="Image.png" HEIGHT=490 WIDTH=910>
 
26
</BODY>
 
27
</HTML>