Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » Installation Support

Post new topic   Reply to topic
Rotating images in Avantfax
View previous topic :: View next topic  
Author Message
gregpilot
Member


Joined: 20 Sep 2012
Posts: 28

PostPosted: Thu Feb 28, 2013 9:10 pm    Post subject: Rotating images in Avantfax Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Thu Mar 07, 2013 4:46 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
gregpilot
Member


Joined: 20 Sep 2012
Posts: 28

PostPosted: Thu May 23, 2013 11:51 pm    Post subject: Reply with quote

Perfect. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » Installation Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional