Questions tagged [minimagick]

MiniMagick is a Ruby wrapper for ImageMagick command line.

MiniMagick is a Ruby wrapper for ImageMagick command line. It gives you access to all the commandline options ImageMagick has.

Official site: http://rubyforge.org/projects/mini-magick

342 questions
0
votes
1 answer

Resize image to original versions

I am using carrierwave and mini magick. In the uploader i have process resize_to_fit: [300,200] Now, all the uploaded images were processed, but I now i need the original version. Is there a way to write a migration and restore the image version?
vladCovaliov
  • 4,333
  • 2
  • 43
  • 58
0
votes
2 answers

CarrierWave - Set width and max height of images

I use CarrierWave and I want to resize the images to a width of 220px and a max-height of 220px. If I use process :resize_to_fit => [220,220] it could be that the width is not 220px. What can I do?
ijo
  • 55
  • 8
0
votes
1 answer

Can't upload photo, failed to manipulate minimagick

Using Ruby on Rails, I was trying to upload a photo on my localhost. However, it seems like I can't upload and gets an error: "Failed to manipulate with MiniMagick, maybe it is not an image? Original Error: Command ("identify -ping…
user1944672
  • 87
  • 2
  • 10
0
votes
1 answer

Unable to upload and process image with CarrierWave and MiniMagick

I am trying to implement image-upload with CarrierWave and MiniMagick. I was able to upload an image with carrierwave, but when I implemented MiniMagick to resize uploaded images, it returned this error: Errno::ENOENT in ItemsController#create No…
Daniel Friis
  • 444
  • 3
  • 23
0
votes
2 answers

CarrierWave MiniMagick resizing gives an error

I am using CarrierWave with MiniMagick to resize and uploaded file. I have the version directive in my uploader version :thumb do process :resize_to_limit => [100, 100] end But when I upload the file, the operation fails. The exception I am…
Dave Isaacs
  • 4,499
  • 6
  • 31
  • 44
0
votes
1 answer

Mini Magick, GraphicMagick and Carrierwave

I am trying to get my uploader file to resize images as they are uploaded using the following code: version :thumb do process :resize_to_limit => [230, 230] end I have installed Carrierwave to handle the upload along with GraphicMagick to…
Tom Pinchen
  • 2,467
  • 7
  • 33
  • 53
0
votes
1 answer

Unicode characters render with Rmagick but not with Minimagick

Due to the performance advantages of Minimagick of Rmagick (and the fact the Rmagik is on the way out) I would like to be able to able to perform the following operation in Minimagick. By default it seems that Minimagick does not handle unicode…
Jackson Henley
  • 1,531
  • 2
  • 15
  • 27
0
votes
1 answer

MiniMagick (+Rails): How to display number of scenes in an image

I have a Rails app that uploads images for image processing, and I want to be able to 1) See how many pages/frames/scenes there are in an image, and 2) split multi-page images into single-page jpegs. I'm having no trouble converting image types for…
rm -rf slash
  • 296
  • 3
  • 12
0
votes
1 answer

Insert subimage into another image with MiniMagick

I'm looking to write the Carrierwave process to add a subimage into another image with MiniMagick, any ideas ? This doc https://github.com/probablycorey/mini_magick say we can use all the mogrify commandline options of ImageMagick, but don't I need…
Sidhannowe
  • 465
  • 5
  • 11
-1
votes
1 answer

Identifying whether a jpg image is blank using RUBY programming

I have an input image known as test.jpg. I want to create a function in Ruby which will identify if the image is blank and return a boolean value true or false.
-1
votes
1 answer

How to mask two images using Imagemagick?

I have two images to be done. How to mask the first image to the second image as background? here's the illustration
Anon
  • 51
  • 4
-2
votes
2 answers

Rails - WIndows 7 carrierwave, minimagick resize not working

I tried to set up for uploading photos with my rails app. However, the carrierwave uploader does not resize the photos being uploaded. When I do not call the resize_to_fill function, the photos are uploaded perfectly. Any advice? When a photo is…
1 2 3
22
23