Meta tags:
Headings (most frequently used words):
imagemagick, examples, usage, images, of, and, on, version, introductory, notes, what, is, no, holds, barred, summary, about, these, command, line, environments, perlmagick, other, apis, downloading, input, results, external, image, sources, png, web, pages, displaying, your, screen, font, example, page, updates, special, thanks,
Text of the page (most frequently used words):
the (155), and (84), image (64), #images (60), examples (40), you (40), for (31), imagemagick (27), are (27), use (23), command (23), that (23), these (23), using (22), this (20), with (18), font (18), #example (17), web (17), not (17), also (16), can (16), pages (15), line (14), see (13), from (13), such (13), some (12), however (12), other (12), fonts (12), processing (11), handling (11), png (11), your (10), scripts (10), have (10), format (10), version (10), when (10), used (10), all (9), output (9), was (9), most (9), usage (9), commands (8), which (8), will (8), more (8), what (8), any (8), anthony (7), users (7), who (7), color (7), new (7), file (7), library (7), magick (7), gif (7), like (7), system (7), page (7), only (7), specific (7), should (7), display (7), formats (7), text (7), api (7), look (6), many (6), special (6), often (6), want (6), php (6), generally (6), first (6), has (6), vector (6), available (6), into (6), changes (6), transparent (6), input (6), operations (6), site (5), thank (5), problems (5), suggestions (5), later (5), but (5), test (5), information (5), semi (5), browsers (5), shell (5), results (5), because (5), source (5), apis (5), they (4), general (4), fred (4), questions (4), animation (4), just (4), bugs (4), may (4), shown (4), time (4), them (4), candice (4), perl (4), script (4), saved (4), need (4), still (4), recommend (4), pixels (4), about (4), background (4), download (4), index (4), possible (4), windows (4), effects (4), well (3), yadda (3), forums (3), goes (3), major (3), number (3), dithering (3), added (3), jpeg (3), making (3), advanced (3), especially (3), allow (3), come (3), built (3), release (3), before (3), something (3), find (3), type (3), xml (3), label (3), linux (3), generate (3), sub (3), directory (3), run (3), default (3), make (3), welcome (3), work (3), small (3), over (3), own (3), handle (3), way (3), displayed (3), screen (3), checkerboard (3), pattern (3), colors (3), generated (3), complex (3), contributed (3), actually (3), large (3), external (3), let (3), same (3), those (3), photo (3), try (3), multiple (3), converting (3), environments (3), scripting (3), were (3), designed (3), tips (3), raster (3), etc (3), video (3), basic (3), techniques (3), animations (3), thyssen (2), com (2), finally (2), had (2), share (2), distortion (2), weighted (2), resampling (2), thanks (2), people (2), answer (2), his (2), rubblewebs (2), solutions (2), now (2), forum (2), quantization (2), further (2), been (2), discussions (2), operators (2), graphics (2), done (2), program (2), while (2), show (2), sequence (2), provide (2), technique (2), result (2), whole (2), sections (2), being (2), discussion (2), become (2), beta (2), appear (2), given (2), get (2), much (2), older (2), old (2), correctly (2), stop (2), adding (2), things (2), listed (2), favorite (2), gets (2), montage (2), home (2), truetype (2), pointsize (2), simpler (2), list (2), warning (2), found (2), substitute (2), arial (2), times (2), does (2), one (2), following (2), appropriate (2), microsoft (2), even (2), systems (2), collection (2), under (2), copyright (2), above (2), directly (2), save (2), though (2), tile (2), displaying (2), highlight (2), transparency (2), generating (2), right (2), feature (2), course (2), convert (2), larger (2), authors (2), section (2), www (2), created (2), original (2), dragons (2), server (2), selecting (2), link (2), extra (2), placed (2), directories (2), fancy (2), commonly (2), previous (2), out (2), code (2), trying (2), improvements (2), then (2), situation (2), together (2), perform (2), permanent (2), languages (2), ruby (2), certain (2), batch (2), applied (2), mail (2), developed (2), around (2), notes (2), present (2), document (2), hints (2), places (2), options (2), via (2), dos (2), programming (2), tool (2), application (2), photographs (2), info (2), development (2), anti (2), aliasing (2), modifying (2), neighbourhoods (2), blurring (2), sharpening (2), lens (2), drawing (2), overlaying (2), merging (2), two (2), resizing (2), framing (2), modifications (2), basics (2), creating (2), canvas (2), creation (2), reference (2), links (2), comparing (2), arrays (2), common (2), reading (2), cli (2), how (2), author, gmail, enough, allowed, others, part, project, either, commended, willingness, openness, findings, nicolas, robidoux, expert, digital, reworking, vastly, improves, elliptical, average, researcher, early, days, help, initial, implementation, proof, concept, future, additions, operator, weinhaus, regularly, detailing, glitter, star, pete, el_supremo, moons, stars, scri8e, bonzo, huge, lurk, their, names, contributors, ideas, throughout, user, glenn, randers, pehrson, wrote, coder, module, interest, add, halftone, revised, extended, dithers, ordered, dither, configuration, gabe, schaffer, helpful, involving, affine, matrix, marvelous, job, best, appreciation, certainly, appreciate, effort, put, cristy, tirelessly, spent, months, upgrading, bug, fixing, putting, off, wall, regards, parenthesis, doing, anything, interesting, please, rest, community, biggest, advances, note, mailing, discussing, aspect, there, better, latest, allowing, each, released, produces, different, probably, installed, going, cycle, improvement, long, periods, interests, focused, updates, grab, 1001, free, personal, quite, bit, named, earlier, mgk, instead, lib, ttf, uses, contains, describes, setup, specify, name, full, path, updatedb, locate, imagick_type_gen, requested, silently, typically, beforehand, sure, currently, perhaps, size, bolditalic, years, cannot, publish, online, performs, automatically, seem, tables, causes, without, having, carefully, fully, opaque, displays, viewers, normally, would, onto, composite, compose, dst_over, occur, underneath, style, sheet, javascript, technically, problem, notably, internet, explorer, exact, needed, supports, few, very, understood, usable, today, programs, looking, similar, resize, purposes, careful, plan, commercially, google, search, bottom, predates, 1991, due, lack, good, clean, iconic, window, advent, changed, exists, remains, actively, growing, particularly, aside, offline, slowly, moves, clip, art, tiles, icon, sources, warned, understand, produced, copy, actual, almost, executed, modify, url, view, copies, img_photos, sometimes, provided, final, resulting, known, obvious, always, convenient, tend, usually, don, order, yourself, rose, logo, downloading, comment, equivalents, check, compare, against, lets, debug, across, made, core, heavily, basically, give, start, formulate, coding, where, harder, extensive, although, improved, enormously, really, deals, single, limitation, manipulate, sequences, separately, ability, makes, implement, removes, temporary, files, require, disk, adapt, until, perlmagick, alternative, contributions, characters, slight, adaptation, calls, written, unix, specifically, gnu, bash, consequence, loops, backslash, end, continue, next, longer, broken, separate, lines, steps, forward, expansions, grabbed, answers, various, continuation, started, 1993, fangled, world, wide, its, appearance, aspects, included, edification, vague, chaotic, learn, comments, concerns, itself, mainly, form, called, postscript, pdf, cost, loading, wrapper, saving, processed, badly, settings, improve, word, rectangular, array, speed, never, emphasis, quality, generates, say, transform, reasonable, amount, blindingly, fast, slow, attempting, compress, limited, capabilities, access, demonstrate, algorithms, converter, originally, tell, allows, combine, panorama, generator, gui, editor, holds, barred, summary, introductory, storage, warnings, hint, legend, symbols, within, proposals, building, bits, pieces, miscellaneous, frequency, domain, fourier, transforms, averaged, convolution, pixel, morphology, shapes, shadows, glass, ripple, mapping, drastic, transformations, carnival, house, mirrors, distorting, flipping, rotating, twisting, simple, warping, mvg, svg, compositing, controlling, filters, enlarging, shrinking, scaling, slicing, dicing, trimming, cutting, bordering, reducing, alpha, channel, masking, removal, low, level, channels, support, quick, repositories, random, backgrounds, manipulations, real, life, changing, smaller, optimization, study, combining, layers, indexes, correcting, distortions, correction, photos, thumbnails, labeling, annotating, styles, compound, writing, practical, main, snibgo, related, sites, srpm, centos, rpm, asked, again, network, hope, arise, presents, set, short, direct, analogs, legacy, illustrate, interface, after, terse, option, manuals,
Text of the page (random words):
ipts rubblewebs php using im cli snibgo s imagemagick pages main imagemagick web site practical examples basic usage basic command and image handling image file handling reading and writing images common image formats handling gif jpeg and png images text to image handling converting text into images compound font effects font drawing styles and techniques annotating images labeling and overlaying images thumbnails and framing small reference images of large photos photo handling modifying photographs lens correction correcting photo distortions montage arrays of images image indexes and arrays layers of multiple images combining multiple images together animation basics creation and study of animations animation optimization making gif animations smaller animation modifications changing and merging animations video handling handling real life video images image comparing comparing two or more images advanced techniques complex manipulations of images background examples examples of creating random backgrounds repositories links links to other im scripts and info reference index quick index for specific options support scripts shell scripts used by examples basic techniques canvas creation creating canvas and background images color basics and channels low level color handling color modifications general color changes masking and background removal alpha channel and transparency handling color quantization and dithering reducing the number of colors cutting and bordering slicing dicing framing trimming resizing or scaling enlarging and shrinking images resampling filters controlling image resizing compositing images overlaying and merging two images drawing on images vector graphics mvg and svg images simple image warping flipping rotating twisting distorting images carnival house of mirrors image transformations drastic changes to the look of an image image mapping effects lens glass and ripple effects blurring and sharpening images blurring sharpening and shadows morphology of shapes using pixel neighbourhoods convolution of images weighted averaged neighbourhoods fourier transforms modifying images in the frequency domain anti aliasing anti aliasing effects and problems miscellaneous bits and pieces apis scripting building usage in other environments usage under windows im on windows pc development and bugs development proposals and bugs new and old legend for symbols used within example pages hint tips or extra info for more advanced users older version warnings test image storage directories small images image display photographs fancy index imagemagick examples introductory notes what is imagemagick a no holds barred summary imagemagick is designed for batch processing of images that is it allows you to combine image processing operations in a script shell dos perl php etc so the operations can be applied to many images or as a sub system of some other tool such as a web application video processing tool panorama generator etc it is not a gui image editor imagemagick is first of all an image to image converter that is what it was originally designed to do that is it will convert an image in just about any image format tell us if it can t to any other image format but it is also a library of image processing algorithms these can be access via the command line and shell dos scripts which these example pages demonstrate or via a large number of programming languages such as c c perl ruby php etc see imagemagick apis speed was never a major feature of im which places more emphasis on the quality of the images it generates that is not to say that it can t transform images in a reasonable amount of time it s just not blindingly fast because of this im can be slow to perform certain processing operations especially when attempting to compress images into image formats that have limited capabilities imagemagick concerns itself mainly with images in the form of a rectangular array of pixels commonly called a raster it will handle vector image formats like postscript or pdf but at the cost of converting those images into a raster when loading them and generating a vector image wrapper around the raster when saving it as a result vector images are often processed badly when using the default settings however specific options can be used to improve this situation see a word about vector image formats about these examples of imagemagick usage these pages were developed from and are a continuation of my collection of imagemagick hints and tips page i first started in 1993 and placed on the new fangled world wide web making its appearance around the same time information on many aspects of im and notes not included in these pages are still present in that document however while the present pages were designed for you to look at the hints and tips document was only for my own edification so it may be vague or chaotic in places you are welcome to look at it learn and make comments on it other examples were grabbed or developed from answers to users questions on he im forums or contributed to me as solutions to various problems i look forward to suggestions and e mail from other im users such e mail generally results in improvements and expansions to these example pages command line environments all examples are written for use on unix and specifically gnu linux systems using bash scripting as a consequence some examples use shell for do loops most examples use a backslash at the end of a line to continue that command on the next line the longer commands are broken into separate lines to try to further highlight the steps being applied however you can still use these examples from pc windows batch scripts with some changes to the handling of certain characters with some slight adaptation the examples can also be run directly from system calls in php scripts see windows usage and apis and scripting for more information on using the imagemagick commands in these alternative environments contributions and test examples are welcome perlmagick and other apis it should also be possible to adapt any of these examples to use the im api from languages such as perl c c ruby php and so on i recommend trying things out on the command line first until you get them right and then converting the operations to the specific api you are using although the situation has improved enormously with im version 6 the command line really only deals with a single image sequence at any one time however apis do not have this limitation and allow you to manipulate multiple image sequences separately or together to perform more complex operations this ability makes it simpler to implement these examples using the im api and removes the need to save images as temporary files as many of the command line examples require when using an api only permanent and semi permanent images need be saved to disk basically let the example pages give you a start to let you see what is possible with imagemagick then formulate what you want to do on the command line before coding the operations in scripts and api code where it is harder to make extensive changes i also recommend that you comment your api code heavily adding the command line equivalents to what you are trying to do if possible that way you can check and compare the results against those using the command line this lets you debug problems that you may come across later especially as improvements are made to image processing in the core imagemagick library downloading input images and results as much as possible i try to use images built into im such as logo or rose as input images for im example commands or to generate input images using im commands i also often re use the output of previous commands in later examples because of this you usually don t need to download any test images in order to try out the examples yourself however such generated or built in images are not always convenient so when i do use an external image i tend to re use that input image or the results of previous examples for later examples in that section sometimes the original source image will be displayed or for larger images a link to the source image is provided more commonly only the final resulting image will be shown as the input is well known or obvious almost all the im example commands shown are executed in the same web directory in which they appear that is the command you see is the command that was actually used to generate the image because of this you can modify the page s url to download or view the input image s used by an example extra copies of the external source images have also been placed in the images and img_photos sub directories see also the example of a fancy photo index of those images if text output or image information is produced by an example it is saved to a text file and an image of it is generated for display on the web page selecting the text output image will link you to a copy of the actual text output by the command in all these examples selecting the output image should let you download the image which was actually created by the example command but be warned not all browsers understand all image formats used external image sources by the way most of the source images used in these examples come from anthony s icon library particularly the background tiles large clip art and dragons sections of the library i like dragons aside these pages may be offline as the web site slowly moves to a new server this library actually predates the www i created it in 1991 due to the lack of good clean iconic images for use on the x window system the advent of the www has of course changed this but my original library still exists and remains available as a source of images even though it is not actively growing some specific images and larger images are contributed by the authors of specific examples the authors of such examples are listed in the contributed section or at the bottom of the page if you are looking for a specific image i recommend using google image search or similar to find something appropriate you can of course convert or resize such images using im for your own purposes however you should be careful about copyright if you plan to use such images commercially png images on web pages in many examples i use an image in png format such as that shown to the right of this text the png image format supports images with semi transparent pixels a feature few other image formats provide it is also a very well understood image format and as such is usable by most of today s image programs and web browsers some web browsers however do not handle transparent png images correctly most notably microsoft internet explorer v6 because of this i generally use the jpeg and gif formats for images on the web and only use the png format when generating images with semi transparent pixels or when exact colors are needed for later examples to allow ie v6 browsers to display png images i use a special style sheet using complex javascript for information on this see png with transparency for ie technically this is only problem with ie not imagemagick displaying images on your screen display problems can also occur when displaying images on screen because of this i recommend using a command like the following to tile a checkerboard pattern underneath the image to highlight any transparent or semi transparent pixels in it magick composite compose dst_over tile pattern checkerboard image png x the image displayed in the above example is a special png format test image which was generated using a shell script normally the command would output the results to your display not onto a web page like this if you look carefully you can see the checkerboard pattern though the semi transparent colors however the image as a whole is fully opaque so this technique should work on all displays web browsers and image viewers as of im v6 0 2 the magick display program performs something like this automatically however it does not seem to handle images using color tables i e gif in this way using the x output image format as above causes an image to be displayed directly to the screen without having to save it see show output display for more information font usage the fonts i use in these examples are from a small collection of truetype fonts i have found over the years and saved for my own use some of these are under copyright so i cannot publish them online you are however welcome to substitute other fonts that you have available the examples should work perhaps with some changes to image size with any appropriate font you have available on your system microsoft arial font or even times bolditalic should work on most systems to see what fonts are currently available to your version of im run the following command magick list font warning if the font requested is not found imagemagick used to silently substitute a default font typically arial or times it still does this but a warning is now given so test the font beforehand to make sure that it is the one you want and not the default font on my linux system i use a special perl script imagick_type_gen to generate a file type xml saved in the magick sub directory of my home directory imagemagick uses that file which contains a font list in xml format to find fonts the script locate s run updatedb first if you have just added new fonts and describes all the fonts available on my system with this setup i only need to specify the name of the font i want to use and not the full path to a specific font file for example instead of using the command magick font home lib font truetype favorite candice ttf pointsize 72 label anthony anthony gif i can use the simpler font label magick font candice pointsize 72 label anthony anthony gif before im v6 1 2 3 the type xml file was named type mgk if you are using an earlier version of im the fonts used in these im examples are listed in a montage of example fonts example my personal favorite is candice so it gets used quite a bit if you also like the candice font or any of the other fonts i use grab them from free fonts or 1001 fonts com example page updates these example pages are in an on going cycle of improvement generally i find i stop adding to these pages for long periods of time when my interests become focused on other things often these examples are re built using the latest beta release of im allowing me to see changes and bugs that may appear in each version of im before it is generally released however the example images shown are what the given im command produces on my system if you get something different your im is probably a much older version with old bugs or is not correctly installed note that e mailing me or discussing some aspect of imagemagick on the discussions forum will generally result in new examples or whole new sections being added to these examples the more discussion there is the better the examples become if you are ...
|