Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleUpdate a Download Format / Output Format

Update a Download Format / Output Format

You cannot update static format attributes (e.g. resizing). You can however update attributes like:  

  • XMP Writeback (enableXmpWriteback; boolean)

  • Filename pattern used when the file is downloaded (downloadFileNamePatterns; string translated)

  • Permission to access output formats even if the source is not accessible (viewForAll; boolean)

You can update output formats using the API: https://demo.picturepark.com/Docs/Rest/index.html#operation/OutputFormat_Update

Apply Resize Action

PUT: {{apiHost}}/v1/outputformats/{id}

Code Block
languagejson
{
    "id": "MyFirstFormat",    
    "names": {
        "en": "My first format"
    },
    "sourceOutputFormats": {
        "image": "Original",
        "video": "VideoPreview",
        "document": "DocumentPreview",
        "audio": "AudioPreview",
        "vector": "VectorPreview"
    },
    "format": {
        "kind": "JpegFormat",
        "resizeAction":{
        	"width":50,
        	"height":50,
        	"resizeMode":"fit"
        }
    }
}
Expand
titleMedia Optimization (IO)

Media Optimization (IO)

Include Page
Media Optimization (IO)
Media Optimization (IO)