词条 | ImageMagick |
释义 |
| name = ImageMagick | logo = ImageMagick_logo.svg | logo caption = ImageMagick logo | logo size = 200px | logo alt = ImageMagick logo | screenshot = ImageMagick_screenshot.png | caption = Screenshot of display, with menu | screenshot size = | screenshot alt = ImageMagick 6.0.6 on Knoppix 4.0.2 | author = John Cristy | developer = ImageMagick Studio LLC | programming language = C | released = {{Start date and age|df=yes|1990|08|01}}[1] | latest release version = 7.0.8-28 | latest release date = {{Start date and age|df=yes|2019|02|22}}[2] | operating system = Cross-platform | genre = Image manipulation | license = ImageMagick License[3] | website = {{Official URL}} }}{{Infobox software license | name = ImageMagick License[3] | image = | caption = | author = ImageMagick Studio LLC | version = | publisher = | date = | OSI approved = | Debian approved = Yes | FSF approved = | GPL compatible = Yes | copyleft = | linking = Yes | website = }} ImageMagick is a free and open-source[3] software suite for displaying, converting, and editing raster image and vector image files. It can read and write over 200 image file formats. HistoryImageMagick was created in 1987 by John Cristy when working at DuPont, to convert 24-bit images (16 million color) to 8-bit images (256-color), so they could be displayed on most screens. It was freely released in 1990 when DuPont agreed to transfer copyright to ImageMagick Studio LLC, still currently the project maintainer organization.[4] In May 2016, it was reported that ImageMagick had a vulnerability through which an attacker can execute arbitrary code on servers that use the application to edit user-uploaded images.[5] Security experts including CloudFlare researchers observed actual use of the vulnerability in active hacking attempts.[6] The security flaw was due to ImageMagick calling backend tools without first properly checking to ensure path and file names are free of improper shell commands.[7] The vulnerability did not affect ImageMagick distributions that included a properly configured security policy. Features and capabilitiesThe software mainly consists of a number of command-line interface utilities for manipulating images. ImageMagick does not have a robust graphical user interface to edit images as do Adobe Photoshop and GIMP, but does include – for Unix-like operating systems – a basic native X Window GUI (called IMDisplay) for rendering and manipulating images and API libraries for many programming languages. Execute the following on Linux or UNIX to launch the GUI:[8]
Otherwise, images may be edited directly by various command-line parameters without launching a GUI at all. The program uses magic numbers to identify image file formats. For a full list of supported formats, execute, on Linux or UNIX:
A number of programs, such as Drupal, MediaWiki, phpBB, and vBulletin, can use ImageMagick to create image thumbnails if installed. ImageMagick is also used by other programs, such as LyX, for converting images. ImageMagick has a fully integrated Perl binding called PerlMagick,[9] as well as many others: G2F (Ada), MagickCore (C), MagickWand (C), ChMagick (Ch), ImageMagickObject (COM+), Magick++ (C++), JMagick (Java), L-Magick (Lisp), NMagick (Neko/Haxe), MagickNet (.NET), PascalMagick (Pascal), MagickWand for PHP (PHP), IMagick (PHP), PythonMagick (Python), RMagick (Ruby), or TclMagick (Tcl/TK). File format conversionOne of the basic and thoroughly-implemented features of ImageMagick is its ability to efficiently and accurately convert images between different file formats (it uses the command Color quantizationThe number of colors in an image can be reduced to an arbitrary number and this is done by weighing the most prominent color values present among the pixels of the image. A related capability is the posterization artistic effect, which also reduces the number of colors represented in an image. The difference between this and standard color quantization is that while in standard quantization the final palette is selected based upon a weighting of the prominence of existing colors in the image, posterization creates a palette of colors smoothly distributed across the spectrum represented in the image. Whereas with standard color quantization all of the final color values are ones that were in the original image, the color values in a posterized image may not have been present in the original image but are in between the original color values. DitheringA fine control is provided for the dithering that occurs during color and shading alterations, including the ability to generate halftone dithering. Liquid rescalingIn 2008, support for liquid rescaling was added.[10] This feature allows, for example, rescaling 4:3 images into 16:9 images without distorting the image. Artistic effectsImageMagick includes a variety of filters and features intended to create artistic effects:
OpenCLImageMagick can use OpenCL to use an accelerated graphics card (GPU) for processing.[11] Deep colorThe Q8 version supports up-to 8 bits-per-pixel component (8-bit grayscale, 24- or 32-bit RGB color). The Q16 version supports up-to 16 bits-per-pixel component (16-bit grayscale, up-to 48- or 64-bit RGB color). OtherBelow are some other features of ImageMagick:
DistributionImageMagick is cross-platform, and runs on Microsoft Windows and Unix-like systems including Linux, macOS, iOS, Android, Solaris, and FreeBSD. The project's source code can be compiled for other systems, including AmigaOS 4.0 and MorphOS. It has been run under IRIX.[12] Related softwareGraphicsMagick is a fork of ImageMagick 5.5.2 made in 2002, emphasizing the cross-release stability of the programming API and command-line options. GraphicsMagick emerged after irreconcilable differences emerged in the developers' group.[13]See also{{Portal|Free and open-source software}}
References1. ^[https://www.imagemagick.org/script/history.php History], ImageMagick, ...Dr. Pensak had to convince upper management at DuPont....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 1 August 1990. 2. ^{{cite web | url = https://imagemagick.org/script/changelog.php | title = Changelog @ ImageMagick | website = ImageMagick | accessdate = 12 January 2019}} 3. ^1 2 {{cite web | title = ImageMagick: License | url = https://imagemagick.org/script/license.php | website = ImageMagick | accessdate = 26 October 2016}} 4. ^{{cite web|title=ImageMagick: History|url=http://www.imagemagick.org/script/history.php |website=www.imagemagick.org |publisher=ImageMagick Studio |accessdate=18 October 2016}} 5. ^{{cite web|title=Exploits gone wild: Hackers target critical image-processing bug|publisher=Ars Technica|year=2016|url=https://arstechnica.com/security/2016/05/exploits-gone-wild-hackers-target-critical-image-processing-bug|accessdate=26 September 2016}} 6. ^{{cite web|title=Inside ImageTragick: The Real Payloads Being Used to Hack Websites|publisher=CloudFlare|year=2016|url=https://blog.cloudflare.com/inside-imagetragick-the-real-payloads-being-used-to-hack-websites-2|accessdate=26 September 2016}} 7. ^{{cite news | url=https://www.theregister.co.uk/2016/05/04/imagemagick_exploits_in_the_wild/ | title=Server-jacking exploits for ImageMagick are so trivial, you'll scream | first=Chris | last=Williams | work=The Register | date=4 May 2016 | accessdate=22 December 2017 }} 8. ^{{cite web|title=ImageMagick Native GUI|url=http://linux4hippos.blogspot.com/2006/10/imagemagick-native-gui.html|work=linux4hippos|publisher=blogspot.com|accessdate=3 June 2013|author=Подскачащия Хипопотам|date=1 October 2006}} 9. ^{{cite web|url=http://imagemagick.org/script/perl-magick.php|title=PerlMagick, Perl API @ ImageMagick|first=ImageMagick Studio|last=LLC|website=imagemagick.org|accessdate=22 May 2017}} 10. ^{{cite web|title=ImageMagick Changelog|url=http://imagemagick.org/script/changelog.php}} 11. ^{{cite web |url = http://imagemagick.org/script/architecture.php#distributed |accessdate = 6 January 2010 |title = ImageMagick: Architecture}} 12. ^{{cite web|url=http://imagemagick.org/Magick++/Install.html|title=Magick++ API: Install Magick++|website=imagemagick.org|accessdate=22 May 2017}} 13. ^{{cite web |url=http://marc.info/?l=imagemagick-developer&m=104777007831767&w=2 |publisher=ImageMagick-developer Mailing List |title=Introducing GraphicsMagick Project |date=15 March 2003}} Further reading
External links{{Commons category}}
10 : 1990 software|Command-line software|Free graphics software|Free raster graphics editors|Free software programmed in C|Graphics libraries|Graphics software|IRIX software|Java platform software|Screenshot software |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。