Page 1 of 1
Window decorations missing randomly from displayed images
Posted: 2012-05-02T21:39:53-07:00
by chandra
I am using Kubuntu 12.04 with imagemagick 8:6.6.9.7-5ubuntu3.1 on an amd64 machine.
I generate PDFs processed by (xe|lua)latex and convert the generated PDF into PNG using convert. When I display the images, on occasion, the window borders are missing.
In one case, I just changed a single line in my source .tex file to alter the length of a line from 4 to 5 cm. Of the resulting images, the one with 5 cm displays with window decorations; the one with 4 cm does not.
The images are
and
If that does not show here are the URLs:
http://www.mediafire.com/i/?o7ena14d262ctl4
http://www.mediafire.com/?gdfdthc4grx6vzh
Can anyone shed light on this anomalous behaviour and advise:
(a) how to avoid it; and
(b) whether the images themselves ar OK regardless of how they appear.
Many thanks.
Re: Window decorations missing randomly from displayed image
Posted: 2012-05-02T21:50:54-07:00
by fmw42
This post, I believe, should be moved to the Bugs forum, not the Wizard's bug forum, which is something else from the general question asked here.
Nevertheless, lease post your exact command line and the input pdf image as well as the output images, so that we know exactly what you were doing and can try to replicate the problem.
Is this an intermittent problem that occurs on the same input PDF or does vary from PDF to PDF?
Re: Window decorations missing randomly from displayed image
Posted: 2012-05-02T22:25:42-07:00
by chandra
The exact command lines are
Code: Select all
lualatex cross-product-4.tex
convert cross-product-4.pdf cross-product-4.png
and
Code: Select all
lualatex cross-product-5.tex
convert cross-product-5.pdf cross-product-5.png
The difference between the .tex files is simply that one line length is changed from 4 cm to 5 cm in the code TikZ/PGF code below:
Code: Select all
\draw [->, color=DarkGreen] (0, 0) -- (90:4 cm) node [pos=0.85, left] {$\mathbf{w}$};
to
Code: Select all
\draw [->, color=DarkGreen] (0, 0) -- (90:5 cm) node [pos=0.85, left] {$\mathbf{w}$};
The source .tex files might not be as useful as the PDFs in tracking this problem down and I will post them if necessary.
The resulting PDFs are different as are the PNGs.
The problem occurs intermittently with PDFs converted to PNGs and I stumbled upon the length change as a factor while trying to figure out what was going on.
Please move this query to bugs if it is more appropriate and my apologies. It is many years since I posted to this group. Would I be kept informed of teh new link in the new forum?
Thanks.
Re: Window decorations missing randomly from displayed image
Posted: 2012-05-03T09:28:29-07:00
by chandra
Re: Window decorations missing randomly from displayed image
Posted: 2012-05-03T09:55:20-07:00
by fmw42
I downloaded both of your PDF files. Neither has any Windows decoration. They both convert to png looking just like the PDF.
Please check your downloads.
Re: Window decorations missing randomly from displayed image
Posted: 2012-05-03T12:42:04-07:00
by chandra
I am sorry for being unclear.
Once I convert the PDF to PNG using ImageMagick's convert function and then display the the PNG using ImageMagick's display function, one of the images appears without window decorations like title bar etc., while the other appears normally with title bar etc. on my system.
I have never had the IM display function ever losing its window decorations. I then lose the ability to move the window etc. It is this issue that I am referring to.
Why should two images that were produced by substantially the same toolchain be shown so differently by IM display?
Re: Window decorations missing randomly from displayed image
Posted: 2012-05-03T14:12:10-07:00
by fmw42
They display exactly the same on my IM 6.7.6.9beta Q16 Mac OSX Snow Leopard. Both have the x11 window title.
Re: Window decorations missing randomly from displayed image
Posted: 2012-05-03T19:12:35-07:00
by chandra
Thank you for that confirmation.
It appears that something on my machine needs to be fixed or changed.
I have already re-installed IM and am wondering what other packages need re-installation assuming that something got changed but is not being detected by the package managers.