Subject: mailing-list for TeXmacs Users
List archive
From : Nicola Mingotti <address@hidden>- To: address@hidden
- Cc: TeXmacs <address@hidden>
- Subject: Re: [TeXmacs] Strange behaviour with Insert->Image (pdf v.s. png)
- Date: Mon, 16 Mar 2015 22:41:30 +0100
Hi,
Pierre, I confirm what you say, "eps" dispalys well and On Mon, Mar 16, 2015 at 6:01 PM, <address@hidden> wrote:
Hello to everyone,
I agree with you. Personally I encountered also problems with margins in pdf(s).
So I'm using postscript as image format. It scales smooth and TexMacs knows well how to resize this sort of images.
Perhaps I'm happy with this solution because I draw essentially maths and I use linux ? .. !
However you can try it and let it don't if you don't find this convenient.
Bye
Pierre
----- Mail original -----
De: "Nicola Mingotti" <address@hidden>
À: "TeXmacs" <address@hidden>
Envoyé: Lundi 16 Mars 2015 01:41:55
Objet: [TeXmacs] Strange behaviour with Insert->Image (pdf v.s. png)
Hi guys,
I would like to signal a strange behaviour of Texmacs that happens
when i'm inserting images in a document.
(using Texmacs stable on Debian stable)
So, if I insert a "pdf" image I can see it well in the
Texmacs window but, on the other side every time
i scroll over the image the editor get stuck in computations
and eats 100% cpu for a bounch of seconds (4 to 10 sec).
So I changed all images to "png", now Texmacs works
a lot better and it does not hang in computations when
i scroll over images or in loading the document but,
on the other side, the preview (what i see in Texmacs)
is a very low quality image.
If I export to pdf i get good quality images in both cases,
pdf or png.
Finally I made a test, I had only one pdf image remaining,
the editor was getting stuck scrolling around it. I changed it to "png"
and all worked as described above, much better performace
but lower quality of the image preview.
The pdf was about 150KB the equivalent png about 50KB.
By the way, i think i saw this in a message already but,
"repetetita juvant", including an image as "pdf" the top part of it
is cutted out.
Bye
Nicola
<TeXmacs|1.99.2> <style|generic> <\body> <doc-data|<doc-title|Small experiment on images loading in TeXmacs >> <strong|test> <strong|environment>. TeXmacs stable. Debian Stable. Debian running as guest in VMware Fusion. I don't have GLX. The images are converted from PDF to other formats with Imagemagick convert. (a) : Image quality refers to the quality as I'm seeing in the TeXmacs buffer. (b) : To evaluate the speed in managing images I do as follows: <\enumerate-numeric> <item>Change the image in a .tm document<\footnote> my phd thesis, 100 pages approx by now. </footnote>, save and close TeXmacs. <item>Restart TeXmacs with the same document, wait until full load of the doc and then, scroll down in direction of the image of which I'm changing the format.\ <item>When I arrive at the image three things can happen: the scrolling gets stuck for a while, the scroll has a small glitch ( stops for less then one second ), the scroll goes on with fluidity.\ </enumerate-numeric> <big-table|<tabular|<tformat|<cwith|1|1|1|5|cell-bborder|0.01cm>|<cwith|1|-1|2|5|cell-halign|c>|<table|<row|<cell|>|<cell|PDF>|<cell|PS>|<cell|PNG>|<cell|EPS>|<cell|>>|<row|<cell|Image quality (a)>|<cell|good>|<cell|average>|<cell|average>|<cell|good>|<cell|>>|<row|<cell|Scroll speed (b)>|<cell|slow>|<cell|small glitch>|<cell|fluid>|<cell|small glitch>|<cell|>>|<row|<cell|Image file-size>|<cell|147K>|<cell|559K>|<cell|49K>|<cell|1.3M>|<cell|>>>>>|> <strong|Post Scriptum>. I get the following error messages in the terminal. But the image finally is correctly loaded in TeXmacs.\ <with|font-base-size|8|<\verbatim> TeXmacs] convert-error, Cannot read image file '/home/p/dropbox/thesis/pics/lasso-ridge-constraint.pdf' in qt_image_size TeXmacs] convert-error, Cannot read image file '/home/p/dropbox/thesis/pics/lasso-ridge-constraint.pdf' in qt_image_to_eps\ </verbatim>> \; </body> <\initial> <\collection> <associate|item-vsep|<macro|0.2fn>> <associate|page-type|letter> </collection> </initial> <\references> <\collection> <associate|auto-1|<tuple|1|?|../../.TeXmacs/texts/scratch/no_name_25.tm>> <associate|footnote-1|<tuple|1|?|../../.TeXmacs/texts/scratch/no_name_25.tm>> <associate|footnr-1|<tuple|1|?|../../.TeXmacs/texts/scratch/no_name_25.tm>> </collection> </references> <\auxiliary> <\collection> <\associate|table> <tuple|normal||<pageref|auto-1>> </associate> </collection> </auxiliary>
- [TeXmacs] Strange behaviour with Insert->Image (pdf v.s. png), Nicola Mingotti, 03/16/2015
- Re: [TeXmacs] Strange behaviour with Insert->Image (pdf v.s. png), pierre . wulveryck, 03/16/2015
- Re: [TeXmacs] Strange behaviour with Insert->Image (pdf v.s. png), Nicola Mingotti, 03/16/2015
- Re: [TeXmacs] Strange behaviour with Insert->Image (pdf v.s. png), pierre . wulveryck, 03/16/2015
Archive powered by MHonArc 2.6.19.