Hi Aspose Team,
In our project, we need to do the following conversion steps:
DOCX → PDF
or PPTX → PDF
- Then,
PDF → PPTX
using com.aspose.pdf.Document#save(java.io.OutputStream, int)
We see that generated PDF
stores shapes as vector paths on separate layers.
However, during the PDF → PPTX
conversion, each shape is rasterized and inserted as a cropped image based on its bounding box.
This means you can’t edit the shape’s fill, stroke, or other properties in the final PPTX
.
Is there any way to preserve the original shape details after conversion from PDF
?
If not, would it be possible to improve this at your end by either:
- Retaining the original shape types during conversion to
PPTX
?
- Or at least converting vector paths in the
PDF
to editable freeform shapes in PPTX
instead of raster images?
Example:
- PDF source:
image.png (15.9 KB)
- PPTX result:
image.png (36.6 KB)
@abykovsky
If possible, can you please share your sample PDF file and complete code sample for our reference? We need to investigate this feature. We will generate a ticket in our issue tracking system and share the ID with you.
Attaching the PDF for reference:
input.pdf (3.8 KB)
If there are limitations in fixing the issue completely, it would help to at least ensure that rasterized images aren’t being cropped — right now, it causes inconsistencies after the PDF → PPTX
conversion.
@abykovsky
Can you please share the code sample as well that you are using? It can be simple but looks like your are using streams. If you can please share it, we can log it in the ticket and will investigate from this perspective. We are sorry for the inconvenience.
Apologies for the significant delay in my response, as I missed your previous message.
Attaching an example that clearly illustrates the issue:
aspose-example.zip (11.4 KB)
@abykovsky
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): PDFJAVA-45283
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.