Sunday, August 09, 2026

Writing tools

Change image size during paper writing (overleaf time compilation affected)

sudo apt install pngquant

pngquant --quality=90-100 budget_map.png  

pngquant --quality=85-95 waste_stress_result.png  #more aggressive

sudo apt install oxipng #does not installed for me
 

Bonus

Cut video using ffmpeg

ffmpeg -ss 00:30:30 -i DAIA-Mat-Sec2-S15.mp4  -c copy DAIA-Mat-Sec2-S15_output.mp4



 

 

 

 

 




No comments:

Linux history issue

  echo "HISTSIZE=$HISTSIZE" echo "HISTFILESIZE=$HISTFILESIZE" #update the .bachrc file # Keep more commands in memory H...