Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

PDF Compressor
Started by Antonio T at 09-01-2008 5:27. Topic has 3 replies.

Print Search « Previous Thread Next Thread »
  09-01-2008, 5:27
Antonio T is not online. Last active: 10/16/2008 12:11:11 PM Antonio T

Top 150 Posts
Joined on 08-19-2008
Posts 18
PDF Compressor
Reply Quote
I'm trying to figure out how to use the PDFCompressor object and reading through the documentation , I found your vb example.

I did a straight copy and paste of the code but it keeps telling me Feature not supported when it runs the following line

pdfCompressor.Write("C:\Program Files\LEAD Technologies\LEADTOOLS 15\Images\Image.pdf")

Is there something I am neglecting to do or that I need installed to access whatever feature it's saying isn't supported ? Because there's no specific missing feature mentioned.
   Report 
  09-01-2008, 7:35
Adnan Ismail is not online. Last active: 1/6/2009 4:12:02 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,367
Re: PDF Compressor
Reply Quote
Can you put your code in a small application (not your full application) so I can check it for you?
In most cases, "Feature not supported" error code is generated when your application misses one or more of the needed DLLs you need to include with it. For PDF in particular, you need the file Leadtools.Codecs.PDF.Dll.

If you want to send a project, please put it in a ZIP or RAR file.

Adnan Ismail
LEADTOOLS Technical Support

   Report 
  09-03-2008, 5:19
Antonio T is not online. Last active: 10/16/2008 12:11:11 PM Antonio T

Top 150 Posts
Joined on 08-19-2008
Posts 18
Re: PDF Compressor

Attachment: LeadPDFCompressor.zip
Reply Quote
Here is the project. There are assemblies included that while are not used in the demo , they are in my application . Like that you can be sure of what I am missing.


   Report 
  09-03-2008, 11:13
Adnan Ismail is not online. Last active: 1/6/2009 4:12:02 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,367
Re: PDF Compressor
Reply Quote
It seems that the PDF Compressor does not accept images from Twain source. I want to report this to our engineers. Please send a new email to support@leadtools.com from a valid email address and mention this post.

As a workaround for this, you can save the image from the twain source to a temporary image then using this image with the PDF Compressor.

Adnan Ismail
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Developer » PDF » PDF Compressor

Powered by Community Server, by Telligent Systems