This issue is fixed in API version 24.3. Please use following code:
const string source = "sample.tiff";
using (var fs = new FileStream(source, FileMode.Open))
using (var converter = new Converter(() => fs))
{
var options = new PdfConvertOptions();
Action<string, FileType, Stream> convertedDocumentHandler = (sourceName, convertedType, converted) =>
{
using var result = new FileStream("converted.pdf", FileMode.Create);
converted.CopyTo(result);
};
converter.Convert(() => new MemoryStream(), convertedDocumentHandler, options);
}
The issues you have found earlier (filed as CONVERSIONNET-4802) have been fixed in this update. This message was posted using Bugs notification tool by nikola.yankov
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.