Horje
Linux resize image 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
how to check prime number in shell script Code Example how to check prime number in shell script Code Example
bash add text to file Code Example bash add text to file Code Example
install pyramid Code Example install pyramid Code Example
how to check laravel installer version Code Example how to check laravel installer version Code Example
powershell to string Code Example powershell to string Code Example

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