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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:12:00+00:00 2026-06-14T03:12:00+00:00

I found this command Resize an image with improved quality: $ convert input.png -colorspace

  • 0

I found this command

Resize an image with improved quality:

$ convert input.png -colorspace RGB +sigmoidal-contrast 11.6933 \ 
-define filter:filter=Sinc -define filter:window=Jinc -define filter:lobes=3 \ 
-resize 400% -sigmoidal-contrast 11.6933 -colorspace sRGB output.png

But I need something else, I need a command to decrease the image quality.
For example if the input.png is 100pix x 100pix resolution and 100KB size
I want to make an output.png image with the same resolution but lower quality, let say 50KB

how can I do this ?

(My original problem is the limitation to 50KB images, and all I want to do is convert all my images below 50KB size).

I hope this is easy to solve but could not figured out on my own.

Thanks

  • 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-14T03:12:02+00:00Added an answer on June 14, 2026 at 3:12 am

    Simply convert the image to a lower sampling rate. ImageMagick has an article on Transformations that cover a few options.

    convert input.png -sample 25% -scale 400% output.png
    

    Results:

    input.png  PNG 640x480 640x480+0+0 8-bit sRGB 256c 27.4KB 0.000u 0:00.000
    output.png PNG 640x480 640x480+0+0 8-bit sRGB 225c 6.58KB 0.000u 0:00.000
    

    input.png input.png

    output.png output.png

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

Sidebar

Related Questions

I found this command line that uses ImageMagick to convert images into a video:
I found this command line search and replace example: find . -type f -print0
I have read this thread when I got the the git: command not found
I found this command on SO which is exactly what I wanted to know
I am new to linux crontab command and i found this explanation about the
I found this rm command in a Makefile. rm -f $(ODIR)/*.o *~ $(PROG) $(INCDIR)/*~
I found this command line in a tutorial: gcc -o Client1 Client1.o CodeSample1.dll -lgdi32
I have found this command few years ago and used it since then to
I found this neat command to merge multiple PDF into one, using Ghostscript: gs
I want to resize a image, for example: convert 1.jpg -resize 250x240> 1.jpg I

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.