The Definitive Guide to ImageMagick

This book starts by describing how to install ImageMagick on your system and then covers how to configure it. After that, I launch into covering the ImageMagick command-line tools. Complete coverage isn’t possible, however, because ImageMagick is so rich. After I’ve covered the command-line tools...

Mô tả đầy đủ

Đã lưu trong:
Chi tiết về thư mục
Tác giả chính: Still, Michael
Định dạng: Sách
Ngôn ngữ:English
Được phát hành: Apress 2013
Những chủ đề:
Truy cập trực tuyến:http://scholar.dlu.edu.vn/thuvienso/handle/DLU123456789/34880
Các nhãn: Thêm thẻ
Không có thẻ, Là người đầu tiên thẻ bản ghi này!
Thư viện lưu trữ: Thư viện Trường Đại học Đà Lạt
id oai:scholar.dlu.edu.vn:DLU123456789-34880
record_format dspace
institution Thư viện Trường Đại học Đà Lạt
collection Thư viện số
language English
topic Computer
Image
spellingShingle Computer
Image
Still, Michael
The Definitive Guide to ImageMagick
description This book starts by describing how to install ImageMagick on your system and then covers how to configure it. After that, I launch into covering the ImageMagick command-line tools. Complete coverage isn’t possible, however, because ImageMagick is so rich. After I’ve covered the command-line tools, I show working examples of four applications developed with some of the ImageMagick APIs. The chapter breakdown is as follows: Chapter 1, “Installing and Configuring ImageMagick”: Chapter 1 discusses how to install and configure ImageMagick on Microsoft Windows and Unix machines, including how to install binary versions, what those packages are likely to be called in your Linux distribution, and how to compile ImageMagick from source on both Unix and Microsoft Windows operating systems. Chapter 2, “Performing Basic Image Manipulation”: Chapter 2 covers simple image manipulations such as resizing, sample, cropping, scaling, thumbnailing, and so forth. This chapter contains information about all the ImageMagick transformations used to create smaller or larger versions of an image. To discuss these topics, the chapter also introduces the differences between raster and vector image formats and how raster formats are encoded. Chapter 3, “Introducing Compression and Other Metadata”: In Chapter 3, I discuss compression options for image files, show how to use ImageMagick to change the compression used for a file, and provide recommendations about which file format to use in various scenarios. I’ll also discuss file formats that can contain more than one image per file, show how to handle animations, and discuss the metadata you can associate with image files. Chapter 4,“Using Other ImageMagick Tools”: Chapter 4 covers the various other ImageMagick tools that aren’t covered extensively in the rest of the book. Five chapters in the book cover the convert command; this chapter covers the others: compare, composite (previously known as combine), conjure, identify, import, mogrify, montage, animate, and display. The rationale behind the focus on the convert command is that most of the functionality offered by these commands in this chapter can also be accessed via convert. Chapter 5, “Performing Artistic Transformations”: Chapter 5 is my chance to show off the more artistic transformations that ImageMagick can apply; these include blurring images, adding charcoal effects, imploding images, adding noise to images, making an image look like it was painted by hand, adding beveled edges, creating shadows, spreading pixels randomly, and so forth. Chapter 6, “Performing Other Image Transformations”: Finally for the command-line image transformations, there is Chapter 6. This chapter mops up all the command-line operations that haven’t been demonstrated in earlier chapters, apart from those used to draw or annotate images (which are covered in the next chapter). These operations are the more routine of those offered by ImageMagick, such as adding borders, rotating images, manipulating contrast in the image, dithering an image, and so on. Chapter 7,“Using the Drawing Commands”: Chapter 7 is the last chapter that documents the convert command. In this chapter, I discuss how to create and annotate images using the drawing commands that ImageMagick implements. Also, I discuss how to specify colors and then walk you through each of the drawing and annotation commands available. Chapter 8, “PerlMagick: ImageMagick Programming with Perl”: Chapter 8 is the first of the programming chapters, and it covers aWeb photo management system written in Perl using the PerlMagick ImageMagick interface. Chapter 9, “Implementing Your Own Delegate with C”: ImageMagick implements support for new image formats with delegates. This chapter demonstrates how to write a simple delegate to support your own image format using the C programming language. Chapter 10,“RMagick: ImageMagick Programming with Ruby”: Chapter 10 demonstrates a simple command-line interface to build batch conversion jobs written in Ruby. The code allows you to interactively apply ImageMagick operations to an image and then apply all the operations you used on that image to all the images in a specified directory with a specified filename filter. Chapter 11,“MagickWand: ImageMagick Programming with PHP”: Chapter 11 demonstrates a PHP implementation of an on-the-fly graph-generation page using ImageMagick. The graphs use image composition to provide nice-looking output. Chapter 12, “Where to Go from Here”: The final chapter of the book covers those final little issues that are always handy to know, such as where to find information about topics not covered in this book, how to join the ImageMagick community, and how to report bugs.
format Book
author Still, Michael
author_facet Still, Michael
author_sort Still, Michael
title The Definitive Guide to ImageMagick
title_short The Definitive Guide to ImageMagick
title_full The Definitive Guide to ImageMagick
title_fullStr The Definitive Guide to ImageMagick
title_full_unstemmed The Definitive Guide to ImageMagick
title_sort definitive guide to imagemagick
publisher Apress
publishDate 2013
url http://scholar.dlu.edu.vn/thuvienso/handle/DLU123456789/34880
_version_ 1757654010350796800
spelling oai:scholar.dlu.edu.vn:DLU123456789-348802014-01-20T01:34:25Z The Definitive Guide to ImageMagick Still, Michael Computer Image This book starts by describing how to install ImageMagick on your system and then covers how to configure it. After that, I launch into covering the ImageMagick command-line tools. Complete coverage isn’t possible, however, because ImageMagick is so rich. After I’ve covered the command-line tools, I show working examples of four applications developed with some of the ImageMagick APIs. The chapter breakdown is as follows: Chapter 1, “Installing and Configuring ImageMagick”: Chapter 1 discusses how to install and configure ImageMagick on Microsoft Windows and Unix machines, including how to install binary versions, what those packages are likely to be called in your Linux distribution, and how to compile ImageMagick from source on both Unix and Microsoft Windows operating systems. Chapter 2, “Performing Basic Image Manipulation”: Chapter 2 covers simple image manipulations such as resizing, sample, cropping, scaling, thumbnailing, and so forth. This chapter contains information about all the ImageMagick transformations used to create smaller or larger versions of an image. To discuss these topics, the chapter also introduces the differences between raster and vector image formats and how raster formats are encoded. Chapter 3, “Introducing Compression and Other Metadata”: In Chapter 3, I discuss compression options for image files, show how to use ImageMagick to change the compression used for a file, and provide recommendations about which file format to use in various scenarios. I’ll also discuss file formats that can contain more than one image per file, show how to handle animations, and discuss the metadata you can associate with image files. Chapter 4,“Using Other ImageMagick Tools”: Chapter 4 covers the various other ImageMagick tools that aren’t covered extensively in the rest of the book. Five chapters in the book cover the convert command; this chapter covers the others: compare, composite (previously known as combine), conjure, identify, import, mogrify, montage, animate, and display. The rationale behind the focus on the convert command is that most of the functionality offered by these commands in this chapter can also be accessed via convert. Chapter 5, “Performing Artistic Transformations”: Chapter 5 is my chance to show off the more artistic transformations that ImageMagick can apply; these include blurring images, adding charcoal effects, imploding images, adding noise to images, making an image look like it was painted by hand, adding beveled edges, creating shadows, spreading pixels randomly, and so forth. Chapter 6, “Performing Other Image Transformations”: Finally for the command-line image transformations, there is Chapter 6. This chapter mops up all the command-line operations that haven’t been demonstrated in earlier chapters, apart from those used to draw or annotate images (which are covered in the next chapter). These operations are the more routine of those offered by ImageMagick, such as adding borders, rotating images, manipulating contrast in the image, dithering an image, and so on. Chapter 7,“Using the Drawing Commands”: Chapter 7 is the last chapter that documents the convert command. In this chapter, I discuss how to create and annotate images using the drawing commands that ImageMagick implements. Also, I discuss how to specify colors and then walk you through each of the drawing and annotation commands available. Chapter 8, “PerlMagick: ImageMagick Programming with Perl”: Chapter 8 is the first of the programming chapters, and it covers aWeb photo management system written in Perl using the PerlMagick ImageMagick interface. Chapter 9, “Implementing Your Own Delegate with C”: ImageMagick implements support for new image formats with delegates. This chapter demonstrates how to write a simple delegate to support your own image format using the C programming language. Chapter 10,“RMagick: ImageMagick Programming with Ruby”: Chapter 10 demonstrates a simple command-line interface to build batch conversion jobs written in Ruby. The code allows you to interactively apply ImageMagick operations to an image and then apply all the operations you used on that image to all the images in a specified directory with a specified filename filter. Chapter 11,“MagickWand: ImageMagick Programming with PHP”: Chapter 11 demonstrates a PHP implementation of an on-the-fly graph-generation page using ImageMagick. The graphs use image composition to provide nice-looking output. Chapter 12, “Where to Go from Here”: The final chapter of the book covers those final little issues that are always handy to know, such as where to find information about topics not covered in this book, how to join the ImageMagick community, and how to report bugs. Foreword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii About the Author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv About the Technical Reviewer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi Chapter 1 Installing and Configuring ImageMagick. . . . . . . . . . . . . . . . . . . . . . . . . 1 Chapter 2 Performing Basic Image Manipulation . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Chapter 3 Introducing Compression and Other Metadata . . . . . . . . . . . . . . . . . . 51 Chapter 4 Using Other ImageMagick Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Chapter 5 Performing Artistic Transformations . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 Chapter 6 Performing Other Image Transformations . . . . . . . . . . . . . . . . . . . . . . 147 Chapter 7 Using the Drawing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185 Chapter 8 PerlMagick: ImageMagick Programming with Perl . . . . . . . . . . . . . 263 Chapter 9 Implementing Your Own Delegate with C . . . . . . . . . . . . . . . . . . . . . . 291 Chapter 10 RMagick: ImageMagick Programming with Ruby. . . . . . . . . . . . . . . 301 Chapter 11 MagickWand: ImageMagick Programming with PHP . . . . . . . . . . . 311 Chapter 12 Where to Go from Here. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321 v 2013-07-23T07:02:53Z 2013-07-23T07:02:53Z 2006 Book 1-59059-590-4 http://scholar.dlu.edu.vn/thuvienso/handle/DLU123456789/34880 en application/pdf Apress