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 8509643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:29:23+00:00 2026-06-11T03:29:23+00:00

As seen here: http://www.imagemagick.org/Usage/resize/#shrink the option: -resize 64×64> only resizes if width and height

  • 0

As seen here: http://www.imagemagick.org/Usage/resize/#shrink the option:

-resize 64x64>

only resizes if width and height exceeds 64 px. But how about to do something like that if works:

-resize 64>x

or

-resize 64x'ignores'>

in other words if only width exceeds this size.
Is this possible?

  • 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-11T03:29:25+00:00Added an answer on June 11, 2026 at 3:29 am

    You can easily achieve that by using an ‘unlikely large’ height value:

    convert  orig.png  -resize '64x10000>'  scaled.png
    

    This will resize the original PNG only if its width was larger than 64 pixels or if its height is larger than 10 000 pixels. But the chance that the command will ever encounter an input that’s higher than 10 000 pixels is very low. So it will (almost) only encounter input files where the width value matches.

    Original PNGs with widths lower than 64 pixels will remain untouched (unless their height is above 10 000 pixels…).

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

Sidebar

Related Questions

As seen here: http://www.evanmiller.org/how-not-to-sort-by-average-rating.html Here's the Ruby code itself, implemented in the Statistics2 library:
How can I make a plot in Gnuplot like those seen here: http://www.fftw.org/accuracy/G4-1.06GHz-gcc3.4/ ,
As seen here: http://www.tsqltutorials.com/pivot.php What if I don't have a column I can perform
Active site can be seen here: http://www.studioimbrue.com/index2.php There are currently two small problems with
Our Flash game development portfolio can be seen here: http://www.letsdesign.co.uk/index.html Here is the CSS
I have a pagination script, which can be seen here: http://www.automotori6282.tk/phpsandbox/ This is the
Im using the PredicateBuilder as seen here http://www.albahari.com/nutshell/predicatebuilder.aspx , everything works great, and now
I`ve seen the following notation here: http://www.php.net/manual/en/features.http-auth.php What is
problem can be seen here: http://www.studioimbrue.com/beta The code: $(document).ready(function(){ $('div.caption').hide(); $('.captions ul li img').hover(function(){
There is a special character which can be seen here http://www.fileformat.info/info/unicode/char/1f4a9/index.htm I have the

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.