Print Page | Close Window

Adding GIF images to pdf files

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=744
Printed Date: 17 May 24 at 10:22AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Adding GIF images to pdf files
Posted By: rogerad
Subject: Adding GIF images to pdf files
Date Posted: 17 Jun 07 at 9:41AM
i am trying to add gif images to a pdf file
i am using
  
 
                countr := QP.getimagepagecount(filetoadd);
             
 
  Lret := QP.AddImageFromFile(filetoadd, pagetoload);

                if lret <> 0 then begin
 
                   qp.SelectImage(lret);

                QP.NewPage;
 
 
my problem is Lret is always 0 when adding gif files
bmp and tiff files work correctly
 
can anyone help ???????????
 
 
roger


-------------
roger adams



Replies:
Posted By: Ingo
Date Posted: 17 Jun 07 at 3:28PM
Hi!
"pagetoload" should be always "0" if it's not a tif ...
Best regards,
Ingo




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk