I made a small modification. The pages are saved in png file, not jpg. The png file has much smaller size in this case. Also the final size of the converted pdf is smaller.
[some minor changes again. Now it should work more reliable.]
PS: I forgot to mention that the script will call a viewer to display the page. Please change the varable VIEWER = 'kview' to whatever program which you can call from console.
Last edited by Hanselda; 08-08-2008 at 04:23 AM.
|