Tag Archives: tool

Using pdfimages – extracting images from pdf file

We can use the linux command tool pdfimages to extract the images from the pdf file pages.

To extract all image we can use this:

The your_input.pdf is your pdf file.

The images-out it’s the output name of the images.

The images will be save with the name image-out like :

We can select the images just from pages we want by using option:

This tell to extract just from starting page number: -f to ending page number -l.

If the pdf file is password locked than we can pass the password using the option -upw.

Posted in Commands, Linux. Tagged with , , , .

Record your desktop screen with ffmpeg .

This can be done with the next command:

Explanation of this command is shown below.

The frame rate in which you want to record, in this example 50 frames per seconds is used.

The screen resolution that you want to record.

Do not try to use a larger screen size than your desktop screen size.

This flag is used to tell ffmpeg to record the x11 window.

Here the special input file is a x11 screen buffer.

In this case we record the default window 0.

You can also record another active x11 server window like -i :1.0.

If x11 server window is active the screen will be black.

We prefer to use one of the encoder msmpeg4v2 ( Microsoft MPEG4-v2 codec).

This sets the quality of the file to highest (in this case is 1).

The file name for the output file.

Posted in Commands, Linux. Tagged with , , .

Testing your disks using dd utility and time.

You can execute copies a large block of data to and from disk.

This will minimize disk caching.

Next is one example if our test system has 1GB of RAM.

It is easy ( 1GB = 250,000 blocks ).

It’s very hard to argue with this dd test.

Posted in Commands, Linux. Tagged with , , .