Stirling-PDF icon indicating copy to clipboard operation
Stirling-PDF copied to clipboard

[Feature Request]: I hope to support the conversion of ofd files to pdf files or jpg and png image files.

Open ilolita945 opened this issue 9 months ago • 8 comments

Feature Description

Below I provide some ofd file samples, request support ofd to jpg, png, pdf

https://drive.google.com/drive/folders/1weid-gdCS_36RkCiMCfXZunKtRbSdIqa?usp=drive_link

Currently, I am using the project from https://github.com/taurusxin/Ofd2Pdf for conversion. I hope Stirling PDF can also support it.

Why is this feature valuable?

No response

Suggested Implementation

No response

Additional Information

No response

No Duplicate of the Feature

  • [x] I have verified that there are no existing features requests similar to my request.

ilolita945 avatar Mar 15 '25 03:03 ilolita945

Hi, is this still available, I would like to work on it if possible

MrChatterjee98 avatar Mar 16 '25 21:03 MrChatterjee98

Hi, is this still available, I would like to work on it if possible

Currently, Windows can convert files without any issues using the project at https://github.com/taurusxin/Ofd2Pdf, and the results are completely consistent. It is hoped that this conversion can also be implemented in Stirling-PDF.

Google Drive, I also attached two converted PDFs.

ilolita945 avatar Mar 18 '25 04:03 ilolita945

Hi @ilolita945 , it seems there is already a ticket for this issue,

if @Frooodle can assign the same to me, I can start working on it

MrChatterjee98 avatar Mar 18 '25 14:03 MrChatterjee98

Hi @ilolita945 , it seems there is already a ticket for this issue,

if @Frooodle can assign the same to me, I can start working on it

look forward to

ilolita945 avatar Mar 18 '25 16:03 ilolita945

@MrChatterjee98 Sorry for being late, assigned! I would like you to add this as a additional option under file to PDF instead of a dedicated feature entry! Please be weary of docker file size, if adding a CLI tool greatly increasing the docker size we might not be able to take on the feature (And any tools added shouldn't have security issues raised with them)

Frooodle avatar Mar 21 '25 09:03 Frooodle

Hi @Frooodle , I did some analysis on this ticket, unfortunately I couldn't find anything suitable, soffice/unoconverter is not able to handle ofd file formats.

I could locate libraries such as Aspose.PDF / Spire.PDF and one cli tool called mupdf. please let me know whether I can proceed with the CLI tool or one of the libraries for this task

MrChatterjee98 avatar Mar 31 '25 13:03 MrChatterjee98

Spire costs money and mupdf isn't compatible with our license so neither would be possible sorry!

Frooodle avatar Mar 31 '25 13:03 Frooodle

Spire costs money and mupdf isn't compatible with our license so neither would be possible sorry!

if you wish then I can check whether by using openoffice CLI ( I got this suggested by chatGPT) we have any way of achieving the same.

Otherwise I'll look for another issue to work on. Please let me know

MrChatterjee98 avatar Mar 31 '25 13:03 MrChatterjee98