Discover available options

Take the following example: We want to convert an image to png, but in addition to that, it should be monochrome.

How can you find out if this is available and what other options you have to edit your file?

There is a list of all conversions and conversion options available here: http://api2.online-convert.com/conversions The list can also be filtered target: http://api2.online-convert.com/conversions?target=png

The information you get looks similar to this:

{
   "id":"59",
   "target":"png",
   "category":"image",
   "options":{
      ... many options here ...
      "color":{
         "type":"string",
         "enum":[
            "colored",
            "gray",
            "monochrome",
            "negate",
            "1980",
            "1900"
         ],
         "default":"colored",
         "description":"Color to apply the image"
      },
      ... many more options here ...
   }
}

There you see that the monochromeoption we were looking for is available.

Now we can proceed to create a job with the options that we need.


results matching ""

    No results matching ""