Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7887261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T05:31:59+00:00 2026-06-03T05:31:59+00:00

I am using mini_magick as the interface of utilizing ImageMagick to manipulate some image.

  • 0

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('200x800!')

It constantly prompts No such file

No such file or directory - /var/folders/c4/mqlwdx_d3kj6hqcnvbjr9mn80000gn/T/mini_magick20120504-11111-16kayc1.png
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T05:32:00+00:00Added an answer on June 3, 2026 at 5:32 am

    Ah, I was searching with wrong key phrase I guess. The right answer come to me when I search minimagick instead of mini_magick. Undefined Method crop! Using Carrierwave with MiniMagick on rails 3.1.3 especially this answer https://stackoverflow.com/a/9961434/179691

    I did know the stuff about mini_magick is just a wrapping of mogrify and so. The cause of my problem is that -crop accepts full formatted geometry only. so I changed the expression to:

    img.crop('200x800+0+0')
    

    and that works.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to manipulate JPEG images with C++ using the decoder Mini Jpeg Decoder
Using Browserlab, it appears that the background image is not centred in Firefox7 for
Hello I've been a Rails developer on Windows for quite some time now, but
I'm not sure what's going on here. Using MiniMagick 3.3, everything was working fine
I am starting an FTP session using: C:\Program Files\FTP Server\msftpsrvr.exe -start Now I want
I am using the mvc-mini-profiler to profile my MVC site. It runs fine on
I am trying to use image_magick gem to process image uploads, but rails can't
I made some tests using the spirit mini_c sample. Unfortunately it does not keep
I'm building a mini news CMS where the news added are sorted using a
I came up with a mini-framework which deals with multilingual websites without using Gettext

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.