imagemagick

ImageMagick conflict on Ubuntu running webbrick

Hi all I am trying to install refinerycms, a Ruby on Rails CMS on Ubuntu 10.04 LTS. I run rails server and I get the following exception: carcher@carcher-laptop:~/Code/tgc$ rails server => Booting WEBrick => Rails 3.0.0 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Ex...

Most Efficient Way to Create Thumbnails?

I have a huge volume of thumbnailing to do. Currently, I am using ImageMagick, but it's proving too inefficient (it's too slow, uses too much CPU/memory, etc.). I have started to evaluate GraphicsMagick, which I expected to get "wow" results from. I didn't get them. Can someone take a quick look at my benchmark script (does simple speed...

ImageMagick. What is the correct way to dice an image into sub-tiles.

What is the correct way to an dice an image into N x N sub-tile images? Thanks, Doug ...

Image created programmatically?

This is a beautiful image. I'm wondering how it can be generated programmatically with an image-processing library like imagemagick or gd? http://robertbasic.com/img/sign-letters.gif My general idea is that the frame itself could be defined separately, but is there way to fill that frame with letters in the same way they're doing it...

creating a box with an image

I'd like to take an image and turn the corners over to make a box (like a canvas painting) i have gd library, imagemagick installed on the server and imagick php extension installed. is it possible? any help appreciated ...

imagemagick from php issue

I'm issuing the following command convert /path/to/image.jpg +repage "/path/output.jpg" it works perfectly fine from the command line, but i'm running it from php and its just not working, no output whatsoever. ...

How are people accomplishing photo filters in iPhoneOS?

What are people using/doing to create photo filters or photoshop like effects on iPhone OS? Things like B&W, sepia, cross-processing, 'vintage' etc. I see ImageMagick can probably do this with a lot of futzing around, any other options? ...

PDF: How to Optimize Filesize & Convert to PNG (embedded fonts problem)

I have a PDF with embedded fonts that I can't seem to work with. Right now, I'm using GhostScript and trying to do 2 things: Minimize filesize of PDF: gswin32c -dSAFER -dBATCH -dNOPAUSE -dQUIET -sDEVICE=pdfwrite -sOutputFile=output.pdf input.pdf Convert PDF to PNG (super sample, to be used for creating other thumbnails): gswin32c -dS...

Imagick Wrong JPEG library version

I'm trying to resize some images using PHP and Imagick, however when I do so I get this error: ImagickException: Wrong JPEG library version: library is 80, caller expects 62 There's very little on internet about the problem, although there are a few questions on stackoverflow about it. I can't see any solutions posted to any though. D...

Which is the best third party library for Image manipulation in .Net?

Which is the best third party library for Image manipulation in .Net? I have tried ImageMagick.Net (http://imagemagick.codeplex.com/releases/view/30302). But it does not have all the wrappers available like transformations and Overlaying with blending. ...

Old image fileformat

I need some suggestion on how to convert Leadtools CMP image format to something abit more modern... ...

Unable to get ImageMagick .Net working with Asp.Net 4.0.

I have downloaded the ImageMagick.Net source code from Codeplex and compiled using Visual Studio 2010. It builds but when I use the generated ImageMagickNET.dll into my Asp.Net 4.0 application I get the following error. External component has thrown an exception. Description: An unhandled exception occurred during the execution of the ...

Why does "convert x.png y.png" creates an image with a different size (KB)?

Hi there, I have a few images I'm trying to normalize to a certain scale by resizing them. When I started resizing the images, I noticed that their volume (KB) became much larger than the original image. I checked it out further by simply doing: convert x.png y.png And got some difference. E.g. in one case x.png is 143KB and y.png is 20...

Using ImageMagick from Command line in .Net?

I am using ImageMagick from Commandline in .Net? Although a .Net wrapper (ImageMagick.Net in codeplex) is available but it is still in alpha and does not have implementation for all the command line options e.g Distort, Montage. Therefore I am using System.Diagnostics.Process class to invoke the ImageMagick command line. What are the P...

Image Magick - Converting text to image - is there a way to center the text to the middle of the image?

I have a simple text file that reads something like "It is 28 degrees today" I am trying to use imagemagick to center it to the middle of the image. The command i am using is this right now convert -background lightblue -fill blue -size 165x70 filename.txt image.png I tried using gravity but it always put the text outside of the image...

How to convert specific no. of pages from a .pdf file to .png image using imagemagick

Hello i am using Imagemagick for converting my .pdf file to .png images but when i issue the command $convert sample.pdf image.png then it will convert all the pages of sample.pdf file to .png images but exactly i want to convert a specific no. of pages(e.g. first 10 pages or page no.22 or 12 etc.) then pleases suggest me a way ...

How to convert .PDF file to .PNG using Imagemagick PHP api

Hello i want to convert .pdf file to .png file using Imagemagick php API. we can do this from shell using this: $convert sample.pdf sample_image.png we can issue this command using php exec() function but due to some reason(security) i disabled the execution of shell commands using php. so now tell me the solution that how can i c...

LAMP and memory/swap space problem

My LAMP application seems to eventually use up all of my server's memory and swap space. My gut feeling is that it has something to do with the external processes I have to call (as that is the only time the problem manifests). I need to call GhostScript, ImageMagick's "convert", PDFTK, etc. constantly. When those processes are running,...

Commands for ImageMagick to create thumbnails

Given an photograph uploaded by a user, what is best approach to creating a number various sized thumbnails Using ImageMagick (or GraphicsMagick)? My guess to the steps: Create a super sample of the image, maintaining original aspect ratio Apply watermark to super sample Create the various sized thumbnails using the watermarked super s...

create aqua style buttons using php

Hi all! is it possible to create an image like this one using php with the help of GD/ImageMagick? This image was generated by Web Button Maker Delux, which is a .NET App. So i think, may be there is an way for me to generate one using PHP. So any help on that please? Thanks, Anjan ** in case image is broken here is another url of ...