How to capture web page to image on Linux server

Yesterday, I was trying to add a new function to my bbs, I needed something help me capture web page to image on my Linux server. So I did some research, found out that CutyCapt can be used to solve this problem.

Install steps:

but I didn’t know why, it can’t be compiled, we need to modify CutyCapt.hpp, add the lines below to the top of the file.x

Now, everything is fine.

The oc.png will be your result file, but I found that, everything is ok, when you capture English sites. If you want to capture Chinese or Japanese, you will found the chinese or Japanese words will be show as some kind of little boxes. This is because your linux don’t contain TTF Chinese fonts.

I use Google noto-cjk, you can install it:

Now Chinese and Japanese sites are very clear and beautiful.

Even if you don’t believe forever, you need keep going forward, even you don’t have the future, you shouldn’t give up present

If you have never any fear, how can you talk about brave. If anything is as you wish, how can you talk about facing life.

From the perspective of probability, most people cannot find forever love, isn’t it means that we have to give up to pursue? I believe everybody has his answer.

The world is very imperfect, there are plenty of problems, we all are imperfect, we all have problems. But, so what?

If you depend on that you can easily solve every problem, you are more vulnerable.

The imperfectness of the world, just like a light house far away, and very bright, it gives you a direction, so you know you can never reach it, but you can keep going forward. Just like our imperfectness.

Start from accepting ourself and accepting present.