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
Tag: png
Compress PNG Images on Linux
Posted onPNG 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
How to use encfs on Windows 10?
Posted onI am happy using encfs on Linux. But how to use encfs on Windows 10? I would suggest EncFS MP. It support Encfs on Windows. Features of EncFSMP: Mounts EncFS folders on Windows and OS X Can create, edit, export and change the password of EncFS folders Is 100% compatible with EncFS 1.7.4 on Linux
Read more
How to convert svg to png in Linux?
Posted onHow to convert a svg image file to a high-quality png file in Linux? inkscape works great with vector images (better than ImageMagikk’s convert). Try this command to convert in.svg to a 1000×1000 png image: inkscape -z -e out.png -w 1000 -h 1000 in.svg
Good open-source and free scanner software for Windows?
Posted onAny 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 onHow 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
How to capture camera photo/video using MPlayer on Linux?
Posted onHow to capture camera photo/video using MPlayer on Linux? You can watch the video from the camera by MPlayer: # mplayer tv:// Note that you need the root privilege to play the tv://. You can use mplayer to capture photos by: # mplayer -vo png -frames 3 tv:// If will store files 0000000{1..3}.png in the
Read more
Set the image size in markdown syntax
Posted onWhen I add an image in editor using the markdown syntax, I want to control the size of the image to display instead of its original size. How should I do this? As far as I know, the syntax of markdown currently does not support setting the size of image. If you want to set
Read more
Customizing Fonts in Gnome 3
Posted onGnome 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
How To Set Mobile Skin for MediaWiki
Posted onMore and more users are browsing the Internet using a mobile device. It is preferred to provide good experience for these users. One method to service a mobile version of the page to a user with a mobile device. This tutorial introduces how to add mobile skin support for MediaWiki. Skin for mobile devices I
Read more
An Online JPG to EPS Converter
Posted onConverting 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 Convert JPG Images to EPS
Posted onI write a lot latex documents and most of the documents have images in it. Latex deals EPS very well, while sometimes we need to add JPG / PNG images to it. I find converting the JPG images to EPS ones is the most convenient way to embed JPG images to latex documents. On Linux,
Read more
How to Take Screenshots in MPlayer
Posted onTaking 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