Hi.
I try convert pdf in to html with NO fixed layout,
but the image nodes (
) are not include in my html.
Can i get html with images from pdf, when i use a this config:
?
HtmlSaveOptions saveOptions = new HtmlSaveOptions
{
FixedLayout = false, // it is important for me
RasterImagesSavingMode = HtmlSaveOptions.RasterImagesSavingModes.AsPngImagesEmbeddedIntoSvg,
CustomResourceSavingStrategy = new HtmlSaveOptions.ResourceSavingStrategy(SavingTestStrategy)
};
private static string SavingTestStrategy(global::Aspose.Pdf.SaveOptions.ResourceSavingInfo resourceSavingInfo)
{
switch (resourceSavingInfo.ResourceType)
{
case SaveOptions.NodeLevelResourceType.Font:
{
resourceSavingInfo.CustomProcessingCancelled = true;
return "";
}
case SaveOptions.NodeLevelResourceType.Image:
{ // unreachable code
//DoSomething();
}
default:{ throw new NotImplementedException();}
}
}
?
Hi Alexander,
Thanks for contacting support.
Can you please share some PDF file for which you are facing this problem, so that we can test the scenario at our end. We are sorry for this inconvenience.
Hi. Thanks for your answer.
I attached a pdf file to this message.
If important: it contains a cyrillic national symbols.
Thanks, Nayyer.
I and my team are waiting for resolving this problem, because your Aspose.Total .Net Solution is used in large corporate system of our customer
Hi
Has this issue ever been resolved? I’m facing the same issue of converting a PDF to HTML without fixed format and am missing the images.
sgrimm_bis:
Has this issue ever been resolved? I'm facing the same issue of converting a PDF to HTML without fixed format and am missing the images.
Hi Stefan,
Thanks for contacting support.
The issue reported earlier by customer who initiated the thread is not yet resolved. However the issue depends upon the structure and complexity of input PDF file and it values from file to file. We request you to please share your input PDF file causing this issue so that we can test the scenario in our environment. We are sorry for your inconvenience.
Hello,
Is there any information about fix the issue? It is very critical for us. When does you plan to resolve it?
@webmike,
The linked ticket ID PDFNET-36434 is not resolved yet. We have logged an ETA request under the same ticket ID PDFNET-36434. We will let you know once a significant progress has been made in this regard.
Best Regards,
Imran Rafique