Skip to content

Introduce alternative converter parameter in conversion method #10

Closed

Description

@tomasr78

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')

Activity

  1. laurynas-convertapi commented on Jul 4, 2020

    @laurynas-convertapi
    Contributor

    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

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions