minimagick Questions

1

Solved

I'm getting this error on a Rails app on Heroku: NameError: uninitialized constant ActiveStorage::Analyzer::ImageAnalyzer::MiniMagick /app/vendor/bundle/ruby/3.0.0/gems/activestorage-6.1.3/lib/acti...

4

I try to use Active Storage with Amazon Web Services, instead of Carrierwave and Cloudinary. With Carrierwave I had some features that allow to resize images before uploading trough an UploaderCon...
Princely asked 17/12, 2018 at 8:50

2

In my Rails app, I just removed Rmagick and added Minimagick. Rmagick was too heavy. Things worked fine with Rmagick but in minimagick I get the following error : MiniMagick::Invalid: `identify /t...
Beryl asked 18/5, 2015 at 17:39

4

I'm using Imagemagick on a rails app with Minimagick and I generate some pictogram with it. When I launch my process I have this error and I don't find a solution: MiniMagick::Error (`convert -limi...
Kazukokb asked 14/7, 2015 at 12:46

2

Solved

I'm migrating my rails app from paperclip to ActiveStorage and it just won't accept the crop argument in a variant this line: @user.image.variant(crop: [180,135]) cause this error: Errno::ENOE...
Slain asked 26/5, 2018 at 21:47

7

Solved

I have an app that is using Imagemagick, but I had to rebuild my environment and now when I try and upload an avatar (which is why I am using Imagemagick), it keeps giving me the following error wh...
Telestich asked 2/7, 2015 at 19:52

1

Background I retrieved a pdf in binary form from an API call: base_64_binary_data = @response_label[:generate_label_response][:response_shipments][:response_shipment][:labels][:label][:content] ...
Carrollcarronade asked 29/8, 2017 at 11:4

3

I am upgrading my app to Rails 3.2 on Ruby 1.9. I had to drop attachment_fu. Carrierwave seemed the obvious replacement. At this stage I am uploading files to the file system (no cloud files, yet)....
Ology asked 30/5, 2012 at 5:17

1

In our Rails 4 app, the image is uploaded to server in a base64 string: uploaded_io = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2....." We would like to to retrieve the content type, s...
Topple asked 16/11, 2015 at 3:45

3

Solved

Using the Refile gem to handle file uploading in Rails, what is the best way to determine image height and width during / after it has been uploaded? There is no built in support for this AFAIK, an...
Trapezium asked 21/2, 2016 at 21:0

2

I am basically trying to write this command with mini_magick. gm composite -compose Copy -geometry +0+210 note-transparent1.png note-rugby.png note-rugby-e.png This is my code: image = MiniMag...
Mccormac asked 13/4, 2011 at 18:4

0

I'm using Rails 4.2, CarrierWave master branch, and MiniMagick 4.3.6 (also using the CarrierWave::MiniMagick module). According to the CarrierWave Docs it is possible to change the format of a fil...
Belligerency asked 22/12, 2015 at 20:14

7

Solved

On staging, I'm facing the following error on uploading and resizing an image through carrierwave and minimagick. On local everything works fine. carrierwave (0.9.0) mini_magick (3.7.0) irb(main)...
Brilliant asked 9/12, 2013 at 18:25

2

Solved

I am using mini_magick as the interface of utilizing ImageMagick to manipulate some image. The resize works fine. But when I want to crop some image: img = MiniMagick::Image.open(url) img.crop('20...
Peseta asked 4/5, 2012 at 11:34

1

In a rails application I'm developing (on OS-X), I'm finding running the test suite via rspec locking up increasingly frequently. It does not happen every time. I've tried adding --format documenta...
Normanormal asked 14/3, 2013 at 21:34

2

I'm using: - carrierwave 0.6.0 - rails 3.2.1 - mini_magick 3.4 - ruby 1.9.2p290 And during image uploading I want to resize uploading pic: (image_uploader.rb) process :resize_to_fit => [200,...
Blake asked 28/3, 2012 at 10:20

2

Solved

I need to transform a square image in circle image with MiniMagick. I know there is a way with ImageMagick: convert -size 300x300 xc:transparent -fill "image.png" -draw "circle 240,90 290,90" -cr...
Embayment asked 8/4, 2015 at 18:35

1

Solved

I get this error when i ran my rails app on my OSX and 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. When i cr...
Anchie asked 31/3, 2015 at 20:9

4

Solved

I use carrierwave and mini_magick to upload images. In development everything is fine, but in production it raises FloatDomainError (Infinity) when i try to upload an image. I have several projects...
Piccaninny asked 30/8, 2011 at 3:14

2

For some reason processing images (carrierwave + minimagick) stops working about a week after the service is started. There is no unusual increase in traffic or upload processes. Once the ENOMEM er...
Tugboat asked 19/12, 2011 at 19:52

1

Solved

my rails app was running smoothly before I had another person re-do my front-end UI. I've been trying to resolve this error for 3 days now. Here is the error: No such file or directory - identify ...
Weatherman asked 11/11, 2014 at 14:57

1

Solved

I want to create a padded thumbnail, like described here This command works: convert src.png -thumbnail '200x200>' -gravity center -extent '200x200' dst.png But this ruby code is not working...
Centrality asked 30/4, 2013 at 14:28

1

Solved

In my Carrerwave custom process method, I'm attempting to use the +repage option. Documentation was kind of hard to come across, but I found that I needed to run img.repage.+. However that didn't w...

2

Solved

Anyone know how to squash animated GIFs down to their first frame using Carrierwave + MiniMagick?
Tritheism asked 20/11, 2012 at 19:19

1

Solved

I have been trying to install the watir gem for ruby 2. I followed the watir books install instructions exactly but once the watir install get to the mini_magick gem it gives this error ERROR: Whi...
Vondavonni asked 21/5, 2013 at 19:7

© 2022 - 2024 — McMap. All rights reserved.