• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to footer

GitopsCentral

  • Home
  • Courses
  • Roadmap
  • About
  • Log In
  • Sign Up

Simple image magick tricks

October 20, 2018 by shaik zillani

image magick logo

Image blurring

Let’s see how to blur images with image magick. Most of the linux distros comes with image magick by default, as a linux user this forced me to use it; working with linux is doing things the hard way & once you get used to it, you will not look for other options. If you learn image magick, you will know that it is the best tool for quick image edits.

Original Image

original_image

 

Consider the above image, let’s try to blur this using the command below.

convert original_image.jpg -blur 0x8 blured_image.jpg

Blurred Image

blured image

To add more blurriness you can increase the number; example, 0x10, 0x12 etc..

Image resize

This is super useful. One of the most commons things we do with images is to re-size them. Open image-magic from command-line using display command.


display flying-bat.gif

Let’s resize the image to 64×64 bit small image using convert command below,


convert flying-bat.gif -resize 64x64\! flying-bat-small.gif

 

 

 

That’s it. Please also checkout other blog posts on goacademy.

regular tools image edit,  image magick,  linux

Primary Sidebar

en English
ar Arabiczh-CN Chinese (Simplified)nl Dutchen Englishfr Frenchde Germanhi Hindiid Indonesianit Italianja Japanesems Malaypt Portugueseru Russianes Spanishte Telugu

Course Tags

concurrency free go golang

Recent Posts

  • Roadmap to Mastery
  • Increase SSH connection timeout
  • Check Certificate expiry in Kubernetes
  • space invaders in golang
  • creating kubernetes cluster using eksctl
  • Facebook
  • GitHub
  • YouTube

Contact

Navigation

  • goacademy pro

Footer

  • Facebook
  • GitHub
  • Instagram
  • LinkedIn
  • Twitter

info@gitopscentral.com


+91 8341443220

© Copyright 2016-2024 gitopscentral · All Rights Reserved ·