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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Save as binary pdf file?
  FAQ FAQ  Forum Search   Register Register  Login Login

Save as binary pdf file?

 Post Reply Post Reply
Author
Message
Dezhi View Drop Down
Beginner
Beginner


Joined: 25 Jan 16
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dezhi Quote  Post ReplyReply Direct Link To This Post Topic: Save as binary pdf file?
    Posted: 14 Dec 16 at 5:14PM
Hi,
 
does the library offer the option to save a pdf file as a binary file to reduce the file size?
 
Thanks,
Dezhi
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 14 Dec 16 at 9:17PM
Hi Dezhi,

what you can do is to save/write the complete pdf-content as binary data in a db-field for example.
You can read the content from this db-field later to show the pdf on the fly:
http://www.quickpdf.org/forum/open-pdf-from-ms-sql-binary-data_topic2879_post11651.html?KW=binary+file#11651

Cheers and welcome here,
Ingo

Cheers,
Ingo

Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 453
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 15 Dec 16 at 5:16AM
This is not so easy as @Dezhi is asking for reduce size method.

SaveToVariant - save data as BinaryVariant in SQL Terminology this si BLOB
Each Byte is stored as 2 characters which are Hexadecimal notation for this Byte.
So each BLOB in database uses twice as much data.
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 15 Dec 16 at 8:22PM
Dezhi is telling less about the sense of his question ...
It should be clear that a binary saved pdf-content can't be called by any reader.

Cheers,
Ingo

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store