|
[SMS] - Superb Mini Server Project Support Forum |
![](templates/iCGstation/images/banner.jpg) |
|
![Reply to topic](templates/iCGstation/images/lang_english/reply.gif) |
View previous topic :: View next topic |
Author |
Message |
gregpilot Member
Joined: 20 Sep 2012 Posts: 28
|
Posted: Thu Feb 28, 2013 9:10 pm Post subject: Rotating images in Avantfax |
|
|
Has anyone else had a problem with rotating images in Avantfax? I can click on the "rotate" button which fixes the thumbnail and viewer within the web browser, but does not affect the PDF output and emailed versions of the fax. I am wondering if it is possible for the rotate button to affect the pdf output as well.
Thanks! |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Thu Mar 07, 2013 4:46 pm Post subject: |
|
|
Hi,
sorry for the late respond, been caught in new release...
It seems this is quite old from back in 2009
http://sourceforge.net/tracker/?func=detail&aid=2769489&group_id=160107&atid=814525
Here is the patch
Code: | --- includes/ArchiveIn.php.orig 2013-03-07 16:41:38.000000000 +0200
+++ includes/ArchiveIn.php 2013-03-07 16:40:56.000000000 +0200
@@ -139,6 +139,8 @@ class ArchiveIn extends FaxPDFArchive
system("$CONVERT $file_list $faxfile");
// system("$CONVERT -rotate 180 $faxfile $tmpfile-orig.tif"); // super slow
+ $pdf_file=substr($faxfile,0,-4);
+ tiff2pdf($faxfile, $pdf_file.".pdf");
$time_end = microtime(true);
$time = $time_end - $time_start;
avantfaxlog("ArchiveIn> Rotated $faxfile ($pages pages) in $time secs at $DPI dpi"); |
I 'll upload the updated version along with other packages, you can apply the patch or edit yourself...
Thanks
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
gregpilot Member
Joined: 20 Sep 2012 Posts: 28
|
Posted: Thu May 23, 2013 11:51 pm Post subject: |
|
|
Perfect. Thanks! |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
![](templates/iCGstation/images/top.gif) |
![](templates/iCGstation/images/bt_left.gif) |
SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional
|
![](templates/iCGstation/images/bt_right.gif) |
|
|