help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screenshots, frame shots straight from Emacs


From: Hongyi Zhao
Subject: Re: Screenshots, frame shots straight from Emacs
Date: Tue, 3 Aug 2021 08:56:04 +0800

On Tue, Aug 3, 2021 at 3:57 AM Tomas Hlavaty <tom@logand.com> wrote:
>
> On Mon 02 Aug 2021 at 21:57, Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
> > It sounds wonderful. I try to clone you repo, but failed:
> >
> > $ git clone https://logand.com/sw/emacs-framebuffer.git
> > Cloning into 'emacs-framebuffer'...
> > fatal: repository 'https://logand.com/sw/emacs-framebuffer.git/' not found
>
> you are using wrong url, try
>
> git clone https://logand.com/git/emacs-framebuffer.git

Thank you, it does the trick.

> I did write it correctly in id:87wnp62hhe.fsf@logand.com and it is also
> correct in the sources.
>
> Where did you find the wrong url?

I am based on the following post by you:

;;;
> On Tue 20 Jul 2021 at 22:50, Tomas Hlavaty <tom@logand.com> wrote:
> > I'll push the fixes at the end of this week when I have better
> > internet connection.

> done
>
> see https://logand.com/sw/emacs-framebuffer/
;;;


> > Why not put it on GitHub
>
> because I do not want Microsoft Github

I understand. BTW, though Github is acquired by Microsoft, it's still
free and the top 1 free open source software development and version
control platform in the world.

> > and also give some use cases?
>
> Agree that the documentation is rather sparse but it does say:
>
>    Show images and documents in console using Linux framebuffer.
>
> When you open an image or a document, it will simply display it.

In the source, you says the following:

;;; - imagemagick to modify images and svg support

According to my experience, imagemagick will rasterize the vector
image. If you want to obtain a lossless vectorized image conversion
support, I suggest to use rsvg-convert and inkscape for svg support
[1]:

$ rsvg-convert -f pdf -o chemical_potential.pdf chemical_potential.svg
$ inkscape chemical_potential.svg --export-pdf=chemical_potential.pdf

> What do you think I should write about?

Thank you for your explanation. Let me give it a try and then
comment/feedback further.

[1] 
https://superuser.com/questions/381125/how-do-i-convert-an-svg-to-a-pdf-on-linux

Best
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province



reply via email to

[Prev in Thread] Current Thread [Next in Thread]