Is there anyway to disable file compression when adding an embedded file?
have logged it as PDFNEWNET-36319 in our issue tracking
system under New Features list. We will further look into the details of this problem and will keep you
updated on the status of correction. Please be patient and spare us little
time. We are sorry for this inconvenience.
Any updates on that issue?
Thanks for your patience.<o:p></o:p>
The development has further investigated the requirement but in order for us to implement the feature in appropriate manner, can you please please share some details regarding your requirement. i.e. your example for adding text files etc. Also please share the resource files so that we can further look into this matter. We are sorry for this delay and inconvenience.
the sake of correction, I have logged it in our issue tracking system as PDFNEWNET-37062. We will
investigate this issue in details and will keep you updated on the status of a
We apologize for your inconvenience.
vadimkuras:I just need a way to disable the compression of the embedded file.We embedded a pdf inside a wrapper pdf, and we require the file size to be at least the size as the embedded pdf.Embedded the pdf as a resource will require us to change our format of the file, which is a bit problematic, since it is already being used in production.
The issues you have found earlier (filed as PDFNEWNET-37062) have been fixed in Aspose.Pdf for .NET 9.5.0.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
What about PDFNEWNET-36319?
vadimkuras:What about PDFNEWNET-36319?
We are sorry for this delay and inconvenience.
Document pdfDocument = new Document(“input.pdf”);<o:p></o:p>
//setup new file to be added as attachment
FileSpecification fileSpecification = new FileSpecification("test.txt", "Sample text file");
//Specify Encoding proparty setting it to FileEncoding.None
fileSpecification.Encoding = FileSpecification.FileEncoding.None;
//add attachment to document's attachment collection
//save new output