[Gmsh] Print a Correct GIF Picture
Christophe Geuzaine
cag32 at case.edu
Fri Dec 9 14:02:17 CET 2005
Uwe Blechard wrote:
> Hi Gmsh group,
>
> I have a problem with the correct figure of a GIF file. Sometimes the
> picture has a wrong skaling or it shows only a part of the whole model
> (if you want, I can attache an example).
>
> The situation is:
>
> - I have a skript file to display the results of a FEM calculation
> in Gmsh
> - after that, I scale the size of the Gmsh window by
> General.GraphicsHeight
> General.GraphicsWidth
> - after that two last command, I started a print command to write a GIF
> picture
> - afterwards I scale the picture again with an other scale value and
> print it to an other GIF file
>
> Often I get a wrong GIF picture, which shows a part of the model or
> strips and pixel and so on. Unfortunately this problem is not
> reproducible. Sometimes all is right and sometimes not.
>
> I used some option in my batch file (f.e. Draw; BoundingBox;
> Sleep; General.FastRedraw = 0; General.DoubleBuffer = 0;)
> to solve this problem. Nothing solves the problem really.
>
> Question: Have you got some ideas, some proposal, some
> command parameter, which I can tested and solve the problem.
1) does it also happen with other image formats (png, jpeg)?
2) do you see the same problem when running e.g. tutorial/t8.geo?
>
> I tested this behavior on a UNIX HP and also on LINUX with
> 1.60.
>
> Thanx for your help.
>
> Best regards,
> Uwe Blechard
>
>
>
--
Christophe Geuzaine
Assistant Professor, Case Western Reserve University, Mathematics
http://www.case.edu/artsci/math/geuzaine