Visualizing CMake Project Dependencies with Graphviz

Posted on

When working on a large-scale C++ project with multiple dependencies, it can be challenging to understand the relationships between different components and libraries. Thankfully, CMake provides a nifty feature to visualize these dependencies using Graphviz, a widely-used open-source graph visualization software. Using CMake’s –graphviz option and the dot command from Graphviz is a powerful way
Read more

Compress PNG Images on Linux

Posted on

PNG images already use DEFLATE data compression algorithm involving a combination of LZ77 and Huffman coding. But the PNG images can be further compressed by removing non-important metadata or using lossy compression to save storage space and/or data transfer bandwidth. In this post, we introduce 2 compression ways with tools available on Linux. Lossless compression
Read more

Good open-source and free scanner software for Windows?

Posted on

Any suggestions on good open-source and free scanner software for Windows? NAPS2 (Not Another PDF Scanner 2) is my favorite opensource scanner software on Windows: http://naps2.sourceforge.net/ Scan documents to PDF and other file types, as simply as possible. NAPS2 is a document scanning application with a focus on simplicity and ease of use. Scan your
Read more

How to convert .pptx slides to .jpg or .png images on Linux in command line?

Posted on

How to convert .pptx slides to .jpg or .png images on Linux in command line? This following method works best for me. First, convert .pptx file to .pdf using libreoffice: libreoffice –headless –convert-to pdf file.pptx –headless makes libreoffice run in batch mode and not start the GUI. The pdf file will be named file.pdf by
Read more

Customizing Fonts in Gnome 3

Posted on

Gnome 3 is great and I can understand that it emphasizes on simplicity. However, the configuration settings for Gnome 3 does not provide tools for certain functions that I need. One of them is customizing the fonts. This post will summarize the tools/tips that I adopted to customize the fonts in Gnome 3. Usually, the
Read more

An Online JPG to EPS Converter

Posted on

Converting the JPG images to EPS is frequently need especially when write documents in LaTeX. I introduced how to Convert JPG Images to EPS on Linux. However, not everyone have a Linux box available at any time. We set up an Online JPG to EPS Converter to help people convert JPG to EPS. Convert JPG
Read more

How to Take Screenshots in MPlayer

Posted on

Taking screenshots in mplayer is simple. mplayer can also take continuous snapshots. Enable screenshot filter When we want to take screenshots when playing video, first we need to set the “-vf screenshot” option: $ mplayer -vf screenshot video.file If we want to enable the screenshot filter by default, we may put the option by adding
Read more