From: cristy Date: Wed, 7 Aug 2013 20:58:30 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~3423 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bba9d96b21eafeb48c937e1167db4010340252f4;p=imagemagick --- diff --git a/www/api/colorspace.html b/www/api/colorspace.html index 4a2a0a936..8f8d3b5a3 100644 --- a/www/api/colorspace.html +++ b/www/api/colorspace.html @@ -1,9 +1,242 @@ - - - - + + + + + ImageMagick: MagickCore, C API for ImageMagick: Dealing with Image Colorspaces + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + +
+
+ + +
+ + ImageMagick Logo + + ImageMagick Sprite +
+ +
+ + + +
+ Unix +
+ +
+ iOS +
+
+ Windows +
+
+ + +
+ Options +
+
+ Usage +
+ + + + + +
+ +
+ Unix +
+
+ Windows +
+ + + +
+ +
+ +
+ Links +
+
+ +
+ +
+ +
+ + + +
+ +
+ +

Module colorspace Methods

+ + +

SetImageColorspace

+
+ +

SetImageColorspace() sets the colorspace member of the Image structure.

+ +

The format of the SetImageColorspace method is:

+ +
+  MagickBooleanType SetImageColorspace(Image *image,
+    const ColorspaceType colorspace)
+
+ +

A description of each parameter follows:

+ +
image
+

the image.

+ +
colorspace
+

the colorspace.

+ +
+

TransformImageColorspace

+
+ +

TransformImageColorspace() transforms an image colorspace.

+ +

The format of the TransformImageColorspace method is:

+ +
+  MagickBooleanType TransformImageColorspace(Image *image,
+    const ColorspaceType colorspace)
+
+ +

A description of each parameter follows:

+ +
image
+

the image.

+ +
colorspace
+

the colorspace.

+ +
+ +
+ + + +
diff --git a/www/escape.html b/www/escape.html index ce9538722..a83c83da2 100644 --- a/www/escape.html +++ b/www/escape.html @@ -278,7 +278,7 @@ filename, type, width, height.

%d directory component of path %e filename extension or suffix %f filename (including suffix) - %g layer canvas page geometry ( equiv to "%Wx%H%X%Y" ) + %g layer canvas page geometry (equivalent to "%Wx%H%X%Y") %h current image height in pixels %i image filename (note: becomes output filename for "info:") %k CALCULATED: number of unique colors @@ -299,7 +299,7 @@ filename, type, width, height.

%A image transparency channel enabled (true/false) %C image compression type %D image GIF dispose method - %G image size ( = %wx%h ) + %G original image size (%wx%h; before any resizes) %H page (canvas) height %M Magick filename (original file exactly as given, including read mods) %O page (canvas) offset ( = %X%Y ) diff --git a/www/history.html b/www/history.html index 4a2a0a936..778e5709d 100644 --- a/www/history.html +++ b/www/history.html @@ -1,9 +1,218 @@ - - - - + + + + + ImageMagick: History + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + +
+
+ + +
+ + ImageMagick Logo + + ImageMagick Sprite +
+ +
+ + + +
+ Unix +
+ +
+ iOS +
+
+ Windows +
+
+ + +
+ Options +
+
+ Usage +
+ + + + + +
+ +
+ Unix +
+
+ Windows +
+ + + +
+ +
+ +
+ Links +
+
+ +
+ +
+ +
+ + + +
+ +
+ +

ImageMagick History

+
+

+I swear by my life and my love of it that I will never live for the sake of another man, nor ask another man to live for mine.

-- John Galt in "Atlas Shrugged", by Ayn Rand

+ +

ImageMagick started with a request from my DuPont supervisor, Dr. David Pensak, to display computer-generated images on a monitor only capable of showing 256 unique colors simultaneously. In 1987, monitors that could display 24-bit true color images were rare and quite expensive. There were a plethora of chemists and biologists at DuPont, but very were few computer scientists to confer with. Instead, I turned to Usenet for help, and posted a request for an algorithm to reduce 24-bit images to 256 colors. Paul Raveling of the USC Information Sciences Institute responded, with not only a solution, but one that was already in source code and available from USC's FTP site. Over the course of the next few years, I had frequent opportunities to get help with other vexing computer science problems I encountered in the course of doing my job at DuPont. Eventually I felt compelled to give thanks for the help I received from the knowledgeable folks on Usenet. I decided to freely release the image processing tools I developed to the world so that others could benefit from my efforts.

+ +

In 1990 there were few freely available image processing tools so I expected an enthusiastic reception. Before a release was possible, Dr. Pensak had to convince upper management at DuPont to give away what they what they might perceive as valuable intellectual property. I suspect they agreed simply because ImageMagick was not chemically or biologically based, so they did not understand its value to the company. Either way, ImageMagick would not be available today without DuPont transferring the copyright to ImageMagick Studio LLC. ImageMagick was posted to Usenet's comp.archives group on August 1st, 1990.

+ +

After ImageMagick's release, I got the occasional request for an enhancement, a report of a bug, or a contribution to the source base. In the mid 90's, I released the culmination of these efforts, ImageMagick 4.2.9. At the time I thought ImageMagick was complete. It was utilized by thousands of users world-wide, and it was even showing up as part of a new operating system distributed freely, called "Linux".

+ +

The next generation of ImageMagick, version 5, started when Bob Friesenhahn contacted me and suggested I improve the application programming interface so users could leverage the image-processing algorithms from other languages or scripts. Bob also wrote a C++ wrapper for ImageMagick called Magick++, and began contributing enhancements such as the module loader facility, automatic file identification, and test suites. In the mean-time, the project picked up a few other notable contributors: Glenn Randers-Pehrson, William Radcliffe, and Leonard Rosenthol. By now, ImageMagick was utilized by tens of thousands of users, who reacted gruffly when a new release broke an existing API call or script. The other members of the group wanted to freeze the API and command line but I was not quite ready, since ImageMagick was not quite what I had envisioned it could be. Bob and the others created a fork of ImageMagick while I continued to develop ImageMagick.

+ +

I did not work alone for long. Anthony Thyssen contacted me about deficiencies in the ImageMagick command line programs. He pointed out that the command line was confusing when dealing with more than one image. He suggested an orderly, well-defined method for dealing with the command line, and this became ImageMagick version 6 (the current release). His efforts are detailed on his web pages, Examples of ImageMagick Usage. I highly recommend that you peruse his site. He has illustrated the power of ImageMagick in ways that even I did not know were possible.

+ +

Another notable contributer, Fred Weinhaus, makes available a plethora of command-line scripts that perform geometric transforms, blurs, sharpens, edging, noise removal, and color manipulations. Glenn Randers-Pehrson is our PNG guru and makes other valuable contributions.

+ +

It has been more than 20 years since ImageMagick was first conceived, and it looks likely that it will be here for another 20 and beyond. The command line and the application programming interface are stable, but there is still work to do. The design of ImageMagick is an evolutionary process, with the design and implementation efforts serving to influence and guide further progress in the other. We are currently working on ImageMagick version 7, where we aim to improve the design based on lessons learned from the version 6 implementation.

+ +

Cristy

Principal ImageMagick Architect

+
+ +
+ + + +
diff --git a/www/magick-core.html b/www/magick-core.html index 90133157c..2ec49b66c 100644 --- a/www/magick-core.html +++ b/www/magick-core.html @@ -188,6 +188,7 @@
  • Image Channel Methods
  • Count the Colors in an Image
  • Colormap Methods
  • +
  • Colorspace Methods
  • Image Distortions
  • Dealing with Image Layers
  • Dealing with Image Profiles
  • diff --git a/www/sitemap.html b/www/sitemap.html index 72c82fa73..0e68ee4b6 100644 --- a/www/sitemap.html +++ b/www/sitemap.html @@ -197,6 +197,7 @@
    License: the legally binding and authoritative terms and conditions for use, reproduction, and distribution of ImageMagick.
    Export classification: export control status of ImageMagick.
    ImageMagick Version 7: ImageMagick version 7 is in development, learn how it differs from previous versions.
    +
    History: how ImageMagick was conceived and developed.
    diff --git a/www/sponsors.html b/www/sponsors.html new file mode 100644 index 000000000..e69de29bb