I got this error with the latest gem update when I generated a thumbnail image for my pdf file.
This code does not work:
version :thumb do process :resize_to_fill => [260, 192] process :convert => :png process :set_content_type process :thumbnail_pdf end
I solved this by replacing the row order. The key was that before resizing the MiniMagic , you first need to convert the thumbnail to an image, and then try to resize it.
Here is a solution that worked for me. Maybe this will help someone.
process :convert => :png process :resize_to_fill => [260, 192]
wilgosz.pl
source share