PDF Writer

coskunor

Member
Licensed User
Longtime User
Hi,

Still waiting any response...

Is it possible Now, to create a PDF document from one or more jpg file(s) ?

Regards,

Refik Coskun
 

Dman

Active Member
Licensed User
Longtime User
Here is the code that I use to insert an image into one of my pdf files using pdf writer. Hope it helps.

B4X:
ImageView1.Bitmap = LoadBitmapSample(File.DirDefaultExternal, "sig.jpg",150,60)
PDFWriter1.addImage(227,bb-90,ImageView1.Bitmap)
 
Upvote 0

coskunor

Member
Licensed User
Longtime User
insert jpg file into PDF using PDFWriter

Here is the code that I use to insert an image into one of my pdf files using pdf writer. Hope it helps.

B4X:
ImageView1.Bitmap = LoadBitmapSample(File.DirDefaultExternal, "sig.jpg",150,60)
PDFWriter1.addImage(227,bb-90,ImageView1.Bitmap)

Thank you very much will try ...
Refik
 
Upvote 0

coskunor

Member
Licensed User
Longtime User
Here is the code that I use to insert an image into one of my pdf files using pdf writer. Hope it helps.

B4X:
ImageView1.Bitmap = LoadBitmapSample(File.DirDefaultExternal, "sig.jpg",150,60)
PDFWriter1.addImage(227,bb-90,ImageView1.Bitmap)

Hi,

when i used below code;

ImageView1.Bitmap = LoadBitmapSample(fotodir,pname,300,460)
PDFWriter1.addImage(100,100,ImageView1.Bitmap)


i get pdf file with only one jpg, (size 724K) but if i go on with more than one jpg i get memory error,

would like to know if you have any suggestion ...

thank you very much

Refik
 
Upvote 0

Dman

Active Member
Licensed User
Longtime User
Don't know. Never tried more than one. You'll have to hope someone smarter than me can answer you. :)
 
Upvote 0

Harris

Expert
Licensed User
Longtime User
PDFWriter has size limitations when incorporating images.
Reduce the size and quality of the images if you wish to add more.

Search for PDFwriter and you may find other posts concerning this...
 
Upvote 0

coskunor

Member
Licensed User
Longtime User
PDFWriter has size limitations when incorporating images.
Reduce the size and quality of the images if you wish to add more.

Search for PDFwriter and you may find other posts concerning this...

Thank you very much for your interest...
 
Upvote 0
Top