Skip to main content
0 votes
0 answers
48 views

The Problem Statement My Rails 8 application uses MiniMagick to composite multiple color JPEG/PNG images onto a single blank page, draw bounding boxes, and output the result as a PDF. When running the ...
Ajit Dhanje's user avatar
0 votes
0 answers
66 views

We are migrating our codebase from paperclip to active storage Below is the example of how we use paperclip: has_attached_file :logo, styles: { small: "x36", medium: "x108", ...
Raza Lakhani's user avatar
0 votes
0 answers
66 views

I have recently upgraded from rails 5.2 to rails 7.0.8 and I am using mini_magick to create image variants. But somehow the image variants are not created. Gem used: 'image_processing', '~> 1.14' ...
chandanjha's user avatar
0 votes
1 answer
65 views

# frozen_string_literal: true class UserUploader < ApplicationUploader include CarrierWave::MiniMagick def generate_image(text) tmp_path = File.join(Dir.tmpdir, "#{SecureRandom.hex}....
user12763413's user avatar
  • 1,349
0 votes
1 answer
62 views

I am working on a Rails 7 application and I'm trying to implement a feature where I calculate and update the dominant color of an event image whenever it is uploaded or changed. I'm using MiniMagick ...
Tolase Adegbite's user avatar
0 votes
0 answers
85 views

Could you please help me with generating images that include emojis? Currently, I'm failing to load the font and getting the following error: MiniMagick::Error in HomeController#index `mogrify -...
Ball Feke's user avatar
1 vote
0 answers
82 views

After a recent security update to ImageMagick on our Ubuntu server, we started encountering an issue with our Ruby code. We upgraded the ImageMagick package from version 8:6.9.11.60+dfsg-1.3ubuntu0.22....
Niels Kristian's user avatar
0 votes
1 answer
203 views

in my rails Application I have the following code. class ProjectImage < ApplicationRecord belongs_to :project has_many_attached :images do |attachable| attachable.variant :...
John's user avatar
  • 1,333
0 votes
1 answer
248 views

I'm working on a Ruby on Rails project, and my goal is to add a resized image, specifically a signature, to an existing PDF. I want to emphasize that I'm looking to add a simple image, not a complex ...
mrcode's user avatar
  • 29
0 votes
1 answer
48 views

I want to remove black bars from the image and found that bash script that works well margin=$(convert input.jpg -fuzz 10% -set page "%[@]" -format "%[fx:h-page.height-page.y]" ...
Ivan's user avatar
  • 11
0 votes
1 answer
107 views

I'm using Rails with mini_magick and my code fails on call of image.size with such exception: `identify -format %m %w %h %b /tmp/RackMultipart20231025-217-shzlwd.png[0]` failed with error: > ...
kwaigon's user avatar
  • 835
0 votes
0 answers
53 views

I'm looking for your help regarding an issue i have with on Rails with Prawn(Gem for PDF) when adding an image from Active Storage. When using the image on the app there is no issue but when i add the ...
Maximilien Hawawini's user avatar
4 votes
1 answer
441 views

I am trying to automatically convert SVG images to PNG with Minimagick. I have a Rails application where I need to automatically convert uploaded SVG files. The app runs on Heroku. These SVGs ...
Irina Lindt's user avatar
0 votes
0 answers
162 views

I want to do an initial check for an image's dimensions. If it is greater than 1000, then I want to apply a resize. Is this the right way to approach the problem? I'm creating an image twice. 1st time ...
lost9123193's user avatar
  • 11.1k
0 votes
3 answers
709 views

I'm using MiniMagick with CarrierWave to process some images on a Rails 5.2 app. My goal is to convert the original image to jpg, and create two other versions (resized). My issue is that while the &...
benj-p's user avatar
  • 425

15 30 50 per page
1
2 3 4 5
24