Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce alternative converter parameter in conversion method #10

Closed
tomasr78 opened this issue May 29, 2020 · 1 comment
Closed

Introduce alternative converter parameter in conversion method #10

tomasr78 opened this issue May 29, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@tomasr78
Copy link

tomasr78 commented May 29, 2020

Some formats have several converters, for example, docx to pdf has three of them listed below.
It should be a possibility to set up an alternative converter from the library in the Convert method.

https://v2.convertapi.com/convert/docx/to/pdf
https://v2.convertapi.com/convert/docx/to/pdf/converter/openoffice
https://v2.convertapi.com/convert/docx/to/pdf/converter/printer

This is only an example of a convert method on how it could implement alternative converters.

Default method

ConvertApi.convert('pdf', File: '/path/to/my_file.docx')

with alternative converter

ConvertApi.convert('pdf', File: '/path/to/my_file.docx', converter: 'openoffice')

@laurynas-convertapi
Copy link
Collaborator

Already implemented by @jonas-jasas in v1.2.0: c0acbeb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants