Questions tagged [imagemagick]

ImageMagick is an open source software suite for displaying, converting and editing raster image files.

The software mainly consists of libraries and a number of utilities for manipulating images.

File format conversion

One of the basic and thoroughly-implemented features of is its ability to efficiently and accurately convert images between different file formats. Over 100 different formats are supported.

Language Bindings

There are ImageMagick bindings for most popular programming languages including , , , , , , , , , , , and . There are also bindings for which only operate in Mac OS X and Linux, not iOS.

Distribution

is cross-platform, and runs on all recent versions of Microsoft Windows (except Windows 95), and Unix-like systems including Mac OS X, Linux, Solaris, and FreeBSD. The project's source code can be compiled for other systems, including AmigaOS 4.0 and MorphOS.

Resources

9193 questions
3
votes
1 answer

Undefined method has_attached_file after Paperclip installation?

Not sure if I've done everything right here. I added the Paperclip gem to my Gemfile and did bundle install. I followed along with the readme instructions on Paperclips Github page. I wasn't sure if I needed to install ImageMagick. But, I found a…
teecraft
  • 927
  • 2
  • 9
  • 10
3
votes
2 answers

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

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…
Peeyush
  • 4,728
  • 16
  • 64
  • 92
3
votes
1 answer

Converting PDF to PNG with same resolution - Imagemagick

I have 1000s of PDFs with multiple pages and each PDF has different resolution (based on scanners used to scan them). I want to convert each page of PDF to PNG to pass it to Tesseract for OCR. I used Imagemagick to convert to PNG but have to pass a…
pashah
  • 31
  • 1
  • 4
3
votes
3 answers

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?
Shizam
  • 9,627
  • 8
  • 51
  • 82
3
votes
1 answer

How use lot of parameters in ImageMagick via Java (JMagick)?

I'm coding an application using Java and I need to resize some images, so I've been learning about ImageMagick. The command I need to use for my purposes is: convert -resize 500x500\> -quality 85% -strip -interlace Plane -define…
Ommadawn
  • 2,450
  • 3
  • 24
  • 48
3
votes
1 answer

Using Stacks in ImageMagick to Selectively Blur Part of the Image

I'm trying to annotate some text onto a base image with a dropshadow. I don't like the results I get from using the -shadow option, so I'm putting down the text, blurring it, then putting down the text again in white, a few pixels offset from the…
Yardboy
  • 2,777
  • 1
  • 23
  • 29
3
votes
1 answer

Paperclip error - NotIdentifiedByImageMagickError using amazon S3

I've had Rails installed with Paperclip working just fine for a while until today. I don't know what cause this. I tried to learn about ImageMagick so I download it from the official website. After installed it I got an error about libpng15.15.dylib…
Anon
  • 51
  • 4
3
votes
0 answers

How to programmatically make a video from still images with sound and nice transitions in Linux

I have several folders with photos, each having 6-15 images. They are vacation photos or family gatherings etc. I would like to write a Linux script (in shell or Perl) that creates videos from these images, using nice transitions like "page flip" or…
3
votes
3 answers

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…
jblue
  • 4,390
  • 4
  • 46
  • 79
3
votes
2 answers

Rails Error on Windows: ImageMagick/GraphicsMagick is not installed

I get this error when i ran my rails app on my Windows Localhost when I tried to upload an image. I have a "product" model and I am using Mini_Magick with CarrierWave for uploading the product's image. Image Failed to manipulate with MiniMagick,…
Colleen Larsen
  • 693
  • 3
  • 12
  • 24
3
votes
3 answers

How to convert a PNG to 1-bit BMP

So, I'm trying to understand how PNG to BMP conversion actually takes place. I created the following 8x8 pixel PNG using a tool online: I then performed a conversion using the ImageMagik tool in OSX terminal: $ convert -monochrome pic.png…
JohnnyStarr
  • 619
  • 8
  • 21
3
votes
1 answer

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
dugla
  • 12,774
  • 26
  • 88
  • 136
3
votes
1 answer

Generate image with caption using Magick.NET

I am trying to generate an image file of a caption for scaling. Using the command prompt I have been able to achieve this goal: convert -background lightblue -fill black -font Arial -size 530x175 caption:"This is a test." caption_long_en.png I am…
markdozer
  • 121
  • 3
  • 8
3
votes
2 answers

Background removal/masking in Python using edge detection and scikit-image

I'd like to create two images from a source RAW image, a Canon CR2 in this case. I've got the RAW conversion sorted and some of the processing. My final images need to be a PNG with an alpha mask and a 95% quality JPG with the alpha area instead…
robeastham
  • 41
  • 1
  • 4
3
votes
1 answer

Memory Leak in C# when compress image

I try to compress ImageSource with MagickImage in memory. But it consumes too much memory. With VS performance tool, every call of this method with consume a lot of memory. It should take 0Mb once it exists, right? internal static…
Xiaokun
  • 814
  • 2
  • 10
  • 26
1 2 3
99
100