Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - Insert tiff in pdf
  FAQ FAQ  Forum Search   Register Register  Login Login


Hi, welcome to the Foxit Planet PDF Forum. If you have PDF or Adobe Acrobat questions then the right place to ask them is here, in this forum.

Insert tiff in pdf

 Post Reply Post Reply
Author
nicodemo60 View Drop Down
New Member
New Member


Joined: 13 Jun 2017
Location: settimo milanes
Points: 1
Post Options Post Options   Quote nicodemo60 Quote  Post ReplyReply Direct Link To This Post Topic: Insert tiff in pdf
    Posted: 20 Oct 2017 at 11:26am
Hi,
i have a problem with size of my pdf after the AddImageFromFile.
The tiff image have 29kb and my pdf after add has 140kb.
Below my source in vb:

nomefile = "c:\1072503.tif"
num = DPL.GetImagePageCount(nomefile)
For i = 1 To num
    xx = DPL.CompressImages(1)
    id1 = DPL.AddImageFromFile(nomefile, -i)
    xx = DPL.SelectImage(id1)
    xx = DPL.FitImage(0, 790, 650, 790, 1, 0, 0)
    If i = num Then Exit For
    'xx = DPL.NewPage
Next i
nomefileout = Left(nomefile, Len(nomefile) - 3)
xx = DPL.SaveToFile(nomefileout & "pdf")

Have nobody same problem?
Thanks for help
Nicola
Back to Top
Sponsored Links


Back to Top
Derico View Drop Down
Admin Group
Admin Group


Joined: 25 Oct 2017
Location: Spain
Points: 1
Post Options Post Options   Quote Derico Quote  Post ReplyReply Direct Link To This Post Posted: 25 Oct 2017 at 1:17pm
Hi Nicola,

Nicolas Derico from Debenu here. Your code looks good, so the size difference may have something to do with the TIFF file. Can you attach both files as well as the output file? I'll put our devs on the case.

Thank you.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.10
Copyright ©2001-2017 Web Wiz Ltd.

This page was generated in 0.031 seconds.