Print Page | Close Window

Save as binary pdf file?

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3420
Printed Date: 04 Apr 26 at 5:22AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Save as binary pdf file?
Posted By: Dezhi
Subject: Save as binary pdf file?
Date 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



Replies:
Posted By: Ingo
Date 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



Posted By: mLipok
Date 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


Posted By: Ingo
Date 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




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk