Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
File size too large |
Post Reply |
Author | |
ndemarchi
Beginner Joined: 20 Feb 20 Location: MILANO Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 20 Feb 20 at 9:38PM |
Ciao,
i use Extractfilepage for split a pdf file in singol page. The initial size is 490Kb for a file with 4 pages, the singol page after extraction are 498 Kb each. When i merge together my new page result a new pdf with size 2Mb! Make a mistake? Where? Thans for help Nicola
|
|
ndemarchi
Beginner Joined: 20 Feb 20 Location: MILANO Status: Offline Points: 3 |
Post Options
Thanks(0)
|
I use vb6 for programming and my source code is:
Call PDFL.LoadFromFile(filedati, "") DocID = PDFL.SelectedDocument() 'PDFL.RemoveDocument (docid) totalpages = PDFL.PageCount() Open fileguida For Input As #1 Do While Not EOF(1) Line Input #1, recin pippo = PDFL.ExtractFilePagesEx(filedati, “”, CurDir() & "\" & Trim((Mid(recin, 4))) & ".pdf", a & "-" & a + Mid(recin, 1, 3) - 1, 3) If pippo = 0 Then MsgBox "Errore creazione singolo pdf pagina: " & a a = a + Mid(recin, 1, 3) Loop Close Set PDFL = Nothing |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Nico,
you've made 4 pdf-files out of one. These one file has perhaps one backgound-image, one truetype font-ressource, one top image on each page. To make the look on now each single-page-pdf the same you have to multiply all ressources. This could be the reason for the new size multiplied by 4. An assembly later won't remove the additional ressources. So you don't should use the normal merge. You'll find different functions here: https://www.debenu.com/docs/pdf_library_reference/FunctionGroups.php https://www.debenu.com/products/development/debenu-pdf-library/help/developer-guide/ Cheers and welcome here, Ingo |
|
Cheers,
Ingo |
|
krishna27
Beginner Joined: 20 Aug 20 Location: USA Status: Offline Points: 1 |
Post Options
Thanks(0)
|
I am also facing the same issues like file size is 5 times more than the original file after extracting couple of pages from different documents and merging them back to single document.
But not able to find suitable function which will reduce the size after extract and merge. Any suggestions will be appreciated.
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Krishna,
try the forum search (top,right) and then option "enhanced search" with "too large" ... Then you'll get an idea what to do... what's possible and what's not possible. It doesn't make sense to have many threads with identical content ;-) Cheers and welcome here, Ingo |
|
Cheers,
Ingo |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store