RubyPDF Blog iText,iText in Action,Java,My Software,PDF,Softwares,Windows Pdftk.dll-Dynamic link library Version pdftk

Pdftk.dll-Dynamic link library Version pdftk

After some modification, I compiled pdftk to Dynamic link library Version, pdftk.dll, and wote a delphi example to show how to use this DLL, here is the delphi example,

program pas;

{$APPTYPE CONSOLE}

//uses
// SysUtils;
function Convert(argc : integer; argv : Array of string): Integer; stdcall; external 'pdftk.dll' name '_Z7ConvertiPPc@8';

var s: Array of string;
i,size:Integer;
begin
size :=System.ParamCount;

SetLength(s,size);
for i:=0 to size-1 do
s[i]:= ParamStr(i+1);
Convert(size,s);
end.

the point of this example is Convert function, and the usage of Convert function is as same as the main method of pdftk.cc, so we can easily implement some new methods, such as encrypt40, encrypt128, decrypt, compress, uncompress, flatten, cat(merge), attach_files, unpack_files, burst/split, fill_form Add_background, Add_stamp, generate_fdf, dump_data, dump_data_fields, update_info, and so on.
so the pdftk.dll has the following features,

      Encrypt PDF with 48-bit and 128-bit support, of course, I can also implement AES support.
      Decrypt PDF
      Compress PDF
      UnCompress PDF
      Flatten PDF
      Cat PDF/Merge PDF, AKA, PDF Cat/PDF Merge
      Attach file to PDF
      Extract attachment from PDF
      Burst/Split PDF, AKA, PDF Split
      Fill PDF Form
      Add background to PDF
      Add stamp to PDF
      Generate FDF from PDF
      Dump data
      Dump data fields
      Update PDF Info
      Get PDF Info
      Repair PDF
      Rotate PDF

and if needed, I can also write a VB module to show how to use the pdftk.dll.
Any way, I still have no plan to release the pdftk.dll, because of some issues.

9 thoughts on “Pdftk.dll-Dynamic link library Version pdftk”

  1. I’m interested in the testing your DLL version of PDFTK, and the VB wrapper/module also interests me. Do you have any plans on a release yet? Thanks in advance for any information.

  2. Hello, excuse me for disturbing, but would you please be so kind to write down where pdftk.dll file can be found (downloaded) as I need to use it in VB or send it by mail (if possible, please – galustik@list.ru).

  3. Hello, could you please send me pdftk.dll and the sample application? I’m using pdftk to split PDF files, but want to use function calls instead of calling external programs. Many tks!

    my email is iloveyoutaiwanmb@

  4. Hello, could you please send me pdftk.dll and the VB6 sample code? I’m using pdftk, but want to use function calls instead of calling external programs.
    Many tks!

    My email is bobokaminsky@libero.it

  5. Hello, I have the same wish,
    could you please send me pdftk.dll and same vb.net sample code? I’m using pdftk, but .net apps dont want to call a exe (pdftk.exe) from my own exe…

    Thanks a lot.

    My E-Mail: old_386@yahoo.de

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.