Horje
resize image linux command line Code Example
resize image linux command line
# first install imagemagick
#check image size
identify -format "%wx%h" image.jpg

# single image 
convert image.jpg -resize 600x400\> image.jpg
convert  -resize 20% source.png dest.jpg

# batch resize by percentage
for i in $( ls *.jpg); do convert -resize 50% $i re_$i; done

# batch resize and change format
for i in $( ls *.jpg); do convert -resize 50% $i $i.gif; done
Linux resize image
convert -resize 50% myfigure.png myfigure.jpg




Shell

Related
you have new mail terminal mac Code Example you have new mail terminal mac Code Example
get y.output file yacc remove shift reduce conflict Code Example get y.output file yacc remove shift reduce conflict Code Example
apache .htaccess Option ubuntu Code Example apache .htaccess Option ubuntu Code Example
beautifulsoup download python 3 Code Example beautifulsoup download python 3 Code Example
laravel: command not found Code Example laravel: command not found Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10