Jump to content

Recommended Posts

so... we only know that you have some kind of scanned documents  and you seems to want to merge them to produce an unique pdf file... 

 

- What type are your scanned documents?... pdf's, images, what?... if they are pdf's, merging them manually in an unique document is fairly simple using adobe or other tools.

- Do you want to merge them automatically  using php, based in some criteria to select the files to merge?

 

I personally use a solution based on php and ghostscript (http://www.ghostscript.com) to merge multiple pdf's documents in an unique pdf file... fairly straight forward and simple to implement ... ghostscript came with several well documented examples.

Hello, the scanned documents are jpegs.

 

I would like the user to select the images, and then, produce a pdf with all the images (imagine, I scanned 3 pages (I now have 3 jpegs), I select the 3 jpegs, and the output will be a pdf with the 3 images (one in each page of the pdf).

Edited by Rita_Ruah

Can you help me? 

 

EDIT: how do I change my profile picture?

 

Thanks in advance!

 

Help you with what?.... if you are looking for pre-made code for your objectives I doubt you can find something... the suggested libraries (classes) in my previous post are for you to explore/investigate/study pick the one that will help you to fulfill your objectives, and write your own code... in general, this forum objective is help you to solve issues with "your code" not to provide you full solutions... if you need a full solution you should then post in the freelance forum and probably paid for that.

 

Check the tutotials in the FPDF website  www.fpdf.org  in particular the tutorial # 2 include a way to manage images

Edited by mikosiko

Ok, thank you!

 

My doubt is where to start, I don't know how to work with classes (where can I study them?).

 

I am thinking about something like this:

 

1 - Select images...
2 - For each image, the script would print the selected image on the pdf, then, a pagebreak would happen.

3 - ???

4 - PROFIT.

Edited by Rita_Ruah

Ok, thank you!

 

My doubt is where to start, I don't know how to work with classes (where can I study them?).

 

I am thinking about something like this:

 

1 - Select images...

2 - For each image, the script would print the selected image on the pdf, then, a pagebreak would happen.

3 - ???

4 - PROFIT.

 

Just look the indicated tutorial in the website that I provided for you early... there are several examples of how to use the FPDF class

Edited by mikosiko

Just look the indicated tutorial in the website that I provided for you early... there are several examples of how to use the FPDF class

I managed to do it in just fifteen minutes... I feel so ashamed right now... Silly me...

Thank you for guiding me in the right direction!

 

just one final question... can you tell me how to change my profile picture? 

 

Thanks.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.