<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Dear Anton Kokalj and xcrysden mailing list<br><br>I try to convert a
png file to jpg file and it works very well,,,,,and then I try to
convert some ppm file from xcrys_temp and it also works very well too
!!!!!!<br><br>Now I have the jpg file on my hand,,,,,so that means I
need to do it manually every time I want to print to jpg format,,,,is
that right???<br><br>Is there any other solution to convert the file automatically from xcrysden???<br><br>Thanks so much to Anton Kokalj for giving smart idea,,,,,<br><br>GBU<br><br>> From: tone.kokalj@ijs.si<br>> To: xcrysden@democritos.it<br>> Date: Fri, 19 Feb 2010 19:34:14 +0100<br>> Subject: Re: [xcrysden] Error printing to JPEG<br>> <br>> On Fri, 2010-02-19 at 11:08 +0100, Gabriele Sclauzero wrote:<br>> > Dear Fendy,<br>> > <br>> > Fendy Lovefaith wrote:<br>> > > Dear everyone<br>> > > <br>> > > I open a xsf structure file and I try to print it to JPEG file but some <br>> > > error occurred......This is the error message :<br>> > > <br>> > > ERROR : while executing exec /usr/bin/convert <br>> > > /home/revival/xcrys_temp/xc_5886/tmp.ppm /home/revival/File-file <br>> > > konversi/LOCPOT.jpg<br>> > > <br>> > > I'm sure I have installed ImageMagick-6.5.6-10 and I have the exec file <br>> > > in /usr/bin/convert,,,,,and I already change the <br>> > > ~/.xcrysden/|custom-definitions file and I add two line like below|<br>> > > <br>> > > set xcMisc(ImageMagick.convert) /usr/bin/convert<br>> > <br>> > In my custom-definitions file I have this line<br>> > set xcMisc(ImageMagick.converter) /usr/bin/convert<br>> > and it seems to work.<br>> <br>> This is wrong. The proper variable name is xcMisc(ImageMagick.convert) <br>> and not "converter". The reason it works is because the 1.5.* version<br>> finds the packages automatically, and the specification of<br>> xcMisc(ImageMagick.convert) is redundant (or optional).<br>> <br>> Fendy, did you check that your ImageMagick indeed works as expected?<br>> Find a given, say PNG, graphics file and try to convert it manually as:<br>> <br>> convert file.png file.jpg<br>> <br>> Does it work? If it does then you may try to convert some PPM file<br>> (i.e. take it from xcrysden scratch directory,<br>> e.g., /home/revival/xcrys_temp/xc_****/tmp.ppm)<br>> <br>> Regards, Tone<br>> -- <br>> Anton Kokalj<br>> J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia <br>> (tel: +386-1-477-3523 // fax:+386-1-477-3822)<br>> <br>> Please, if possible, avoid sending me Word or PowerPoint attachments.<br>> See: http://www.gnu.org/philosophy/no-word-attachments.html<br>> <br>> _______________________________________________<br>> XCrySDen mailing list<br>> XCrySDen@democritos.it<br>> http://www.democritos.it/mailman/listinfo/xcrysden<br>                                            <br /><hr />Chat online and in real-time with friends and family! <a href='http://get.live.com/messenger/overview' target='_new'>Windows Live Messenger</a></body>
</html>