Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, November 16, 2012 8:45:21 PM(UTC)
hariannadka

Groups: Registered
Posts: 13


Hi,
We are using Lead Tools APIs in our project to generate compressed ".pdf" file. Currently we are using Lead Tools 14.5 library.
We are using below API to compress 24 bit image.
L_SaveBitmap(szICTTempFile,&oSrcBmp,FILE_JP2,0,nQfact,NULL);
The generated ".pdf" file is displaying as blank in Windows Reader, but same file is opening properly in Adobe Reader and other readers.
So we are thinking the Windows Reader is unable to read the Compressd data stream. Is there any compression technique other than "FILE_JP2", which will work in Store App environmanet?
Is it realy an issue from image compression problem?
Could you please help regarding the above issue?
Regards,
Hari.
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, November 18, 2012 7:25:17 AM(UTC)

mohamed  
mohamed

Groups: Registered, Tech Support
Posts: 179


Hari,

The format FILE_JP2 is a JPEG2000 image and not PDF in itself, but you are probably taking the output from our toolkit and using it with some other software or library to generate the PDF. If that's the case, we cannot guarantee the correctness of PDF files not generated from our toolkit.

Mohamed Abedallah
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
#3 Posted : Sunday, November 18, 2012 9:23:27 PM(UTC)
hariannadka

Groups: Registered
Posts: 13


Hi,
Thank you for your information.
Yes, we are taking the output from Lead Tools API and creating the ".pdf" file. For ".pdf" file creation, we are using our own code to create ".pdf" body structure. According to our observation, this issue is not happening for Black & White Images. For Black & White images, we are using FILE_FAX_G4 compression technique. If there is a issue from ".pdf" body structure, the file will not read by Adobe and other redaers. But it is properly opening in Adobe and other readers. So we are thinking this is an issue because of compression problem. Please help regarding this query. Please find the attached file which is not opeing in Windows Reader.

Will it work, if we upgrade the Lead Tools library to 17.5?
Thaks in advance.
Regards,
Haro
File Attachment(s):
Sample_Issue_File.pdf (12kb) downloaded 28 time(s).
 
#4 Posted : Monday, November 19, 2012 4:56:39 AM(UTC)

mohamed  
mohamed

Groups: Registered, Tech Support
Posts: 179


I am not sure yet what is causing the problem on your side. Maybe Windows Reader doesn't support JP2 compression. Since the PDF file is not created using LEADTOOLS, I don't know if it is going to work.
However, you can download and try the evaluation of LEADTOOLS 17.5, and see if it works or not.

Mohamed Abedallah
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
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.

Powered by YAF.NET | YAF.NET © 2003-2019, Yet Another Forum.NET
This page was generated in 0.119 seconds.