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!
![]() |
Problem with Tiff compression |
Post Reply ![]() |
Author | |
haka ![]() Beginner ![]() ![]() Joined: 16 Jun 11 Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() Posted: 02 Dec 20 at 8:25AM |
Hello. I have been using the following code for a long time and now I have a problem with version 18.11. The file size is 1 MB, if text is added. Without text the compression works and the file is about 13 KB small.
Greetings and thanks for suggestions, Harald
|
|
![]() |
|
Sopracenery ![]() Team Player ![]() ![]() Joined: 31 Aug 20 Location: Germany Status: Offline Points: 29 |
![]() ![]() ![]() ![]() ![]() |
Hi,
I can confirm this issue. It has probably to do with the PDF-A mode. You can bypass this by switching on PDF-A mode after TIF and text is drawn: LPDF.FitImage(0, LPDF.PageHeight, LPDF.PageWidth, LPDF.PageHeight, 1, 1, 0); //or LPDF.DrawScaledImage((... LPDF.DrawTextBox(5, LPDF.PageHeight-5, LPDF.PageWidth-10, LPDF.PageHeight-10, LOcrText, 1); LPDF.SetPDFAMode(2); Regards Martin
Edited by Sopracenery - 27 Dec 20 at 9:08AM |
|
![]() |
|
haka ![]() Beginner ![]() ![]() Joined: 16 Jun 11 Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() |
Good tip, it solves the poblem. Thank you.
|
|
![]() |
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