Questions about PDF Compressor. Is there a way to compresses/convert color PDF files to black and white PDF files?

We are looking at PDF Compressor and trying to figure out whether we need the command line version or the SDK version.

1) Do you have any documentation regarding the SDK and how it works?
2) Is the SDK compatible with VBA (MS Access)?

Any information you can provide regarding the SDK version would be helpful.

Also, we have tested the command line version with fairly good results. However, I do have two questions:

1. Is there a way to compresses/convert color PDF to B/W ?

2. Is there a way to skip already compressed files. When we try to compress a PDF that is already compressed using JPX, it comes out unreadable.

Thanks,
Customer
-----------------------------------------------------------------------------

image
>>1) Do you have any documentation regarding the SDK and how it works?

The SDK package contains the examples, you can compile and run these examples easily, you may download the trial version of PDF Compressor SDK from this web page to try,

https://www.verydoc.com/pdfcompressor.html
https://www.verydoc.com/dl2.php/pdfcompressor_sdk.zip

>>2) Is the SDK compatible with VBA (MS Access) ?

Yes, the SDK does compatible with VBA (MS Access).

>>Any information you can provide regarding the SDK version would be helpful.

You can call PDFCompressCom.exe COM component from your VB, VC, C#, VB.NET, ASP.NET, Delphi, etc. source code easily.

In order to use PDFCompressCom.exe COM component, you need register it into your system first. You can launch a CMD window by administrator privilege, and run following command line to register PDFCompressCom.exe COM into your system,

PDFCompressCom.exe /regserver

then you can compile and run VB, VC, C#, VB.NET, ASP.NET, etc. projects to test PDF Compression function, please refer to a VB.NET example at below,

----------------------------------
Public Class Form1

Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim strFolderDir As String = Application.StartupPath()
Dim strInFile As String = strFolderDir & "\sample\test-color-image.pdf"
Dim strOutFile As String = strFolderDir & "\sample\test-color-image_out.pdf"
Dim strLicenseKey As String = "-$ XXXX-XXXX-XXXX-XXXX"
Dim strCmd As String = "-ci jpx -cidown -cidownres 150 -gi jpx -gidown -gidownres 150 -mi jbig2 -midown -midownres 150 " & strLicenseKey & " """ & strInFile & """ """ & strOutFile & """"

Dim VeryPDFCom As Object = CreateObject("VeryPDF.PDFCompressCom")
Dim strReturn As String = VeryPDFCom.PDFCompressor(strCmd)
MsgBox(strReturn)
End Sub
End Class
----------------------------------

The more command line options can be found on this web page,

https://www.verydoc.com/pdfcompressor-cmd.html

>>Also, we have tested the command line version with fairly good results. However, I do have two questions:
>>1. Is there a way to compresses/convert color PDF to B/W ?

Sorry, PDF Compressor Command Line and SDK can't convert from color PDF files to B/W PDF files, it will keep the same color depth from source PDF files to compressed PDF files.

However, if you wish to converted from color PDF files to B/W PDF files, we can add this function to you at additional development cost, if you are interest in this function, please feel free to let us know.

>>2. Is there a way to skip already compressed files. When we try to compress a PDF that is already compressed using JPX, it comes out unreadable.

Sorry, PDF Compressor Command Line and SDK can't skip already compressed files yet, however, if this function is important to you, we can add this function to you at additional development cost, if you are interest in this function, please feel free to let us know.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!