How can one add more delegates to ImageMagick? I’m on gentoo (so, emerge), and while I see a plethora of links to different issues, I’ve not found any general how-to’s: This points to the source of the delegate libraries here This points to the need to install underlying image libraries (e.g…
Tag: imagemagick
Which jpeg delegate to install, and what are the installation steps in CentOS?
I am trying to install imagemagick and jpeg delegate to a CentOS machine that I do not have sudo access to. The first thing I tried was to install imagemagick by doing In the resulting installation jpeg delegate was missing. Through old forum posts I was directed to http://www.imagemagick.org/download/delegat…
What is text syntax in ImageMagick
I use following code convert text to image what is x, y means in text x, y ‘string’? Answer Method 1 label: You can either use label: which provides a canvas large enough to hold your text – notice I didn’t provide a canvas size: Method 2 -annotate Or, you can use -annotate to write on…
How do I find imagemagick temp folder in linux?
I am new to Imagemagick and linux. How do I find temp folder of in linux. I am using Imagemagick with liferay. Answer The easiest way, is to look for any environment variables that you have set, e.g.: MAGICK_TEMPORARY_PATH MAGICK_TMPDIR by running: Else, if you haven’t set any environment variable, do s…
Add cut/crop marks to pdf with imagemagick
I have a pdf file which is getting generated with Inkscape from SVG and processed with ImageMagick. Now the PDF is a perfect DINA4 @300 DPI How can I add some marks around it? My marks should look like this: http://cl.ly/033g3t2h0U0f/A4_crop.png And I need to place this over the pdf with 3mm to overlap so it&…
Bash – Insert number variables into command
I’ve been wanting to have a count-up timer overlaying a video but all I could find online for doing so was using Adobe After Effects which isn’t really an option as I’m on Linux and am unwilling to pay for it. So, if I could get a series of images or a video, then it could be imported into O…
Use terminal to display image without losing focus
I have a bash-script in which I want to display an image to the user. This is possible using ImageMagick’s display. But now the focus of the terminal window is lost, and is placed to the image. To continue my bash-script I have to ask the user to click on the terminal before continuing. This is unwanted…
How to count the number of black and white pixels (linux, imagemagik, etc)
I have black and white images (see below). How count white and black pixels (as example 30% black and 70% white, or 123456 black pixels and 39393 white pixels)? p.s. I work in linux, what i must use? imagemagick? i prefer a command line interface program. Answer You can use ImageMagick’s histogram funct…
ImageMagick using convert and rename output
I a directory I have several files name like 13992.jpg 13993.jpg 13994.jpg 13995.jpg … How do I rename these files using convert? I have tried but it is not working… Any suggestions? Answer you probably want to run convert in a loop, like consider also this little “trick” for renaming:
How to convert large SVG file to tiled PNGs?
I have a large SVG file (approx. 60 MB, 10000×10000 pixels but with the potential to get much larger), and I’m wanting to create, say, many tiled 256×256 PNG images from it (in that example there would be 1600 images; round(10000/256)^2). Does anyone have any idea of how to do this on a web se…