Amberflip
v1.0.1Convert, compress and edit pictures, video, audio and PDFs offline.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_operations List operations
What Amberflip can do with all of the given files together, each with the tool that does it (and the extension for `convert`). Without files, every operation and the kinds of file it takes.
| Parameter | Type | Description |
|---|---|---|
files | array | Absolute paths. |
inspect Inspect files
What is known about each file without changing it: kind, size in bytes, a PDF's page count and page sizes in points, a picture's or video's width and height in pixels, a video's or sound's length in seconds, and its metadata fields by the names `metadata` takes.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
convert Convert
Convert each file to another format by its extension: png, jpg, webp, avif, mp4, webm, gif, mp3, wav, pdf, docx, xlsx, srt... `list_operations` says which a file can go to. Returns the paths of the new files.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
to * | string | The extension to convert to, e.g. `jpg`. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
run_operation Run operation
Run an operation of `list_operations` by its id, for those without a tool of their own: `tool.rotate_cw`, `tool.denoise`, `tool.pdf_grayscale`, `tool.split_pdf`, the conversions.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
operation * | string | The operation id, e.g. `tool.rotate_cw`. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
pdf_pages Organize pages
Reorder, remove, duplicate or turn the pages of one PDF. Takes pdf files.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
pages | string | The pages of the result, in order, e.g. `3,1-2,5-` or `1,2@90,2`. Empty: every page as it is. |
remove | string | Pages of the input to leave out, e.g. `4,7-9`. Applied after `pages`. |
rotate | string | Turn pages of the input clockwise, e.g. `2:90,5:180`: every copy of that page. |
same_width | boolean | Scale pages wider than the narrowest down to its width. |
pdf_split Split into parts
Cut one PDF into several, one per range. Takes pdf files.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
every | integer | null | Instead of `ranges`: a part every this many pages. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
ranges | string | One part per entry, e.g. `1-3,4-9,10-`. Empty (and no `every`): one part per page. |
pdf_merge Merge
Join PDFs into one, in the order given; named after the first. Takes pdf files. One result from all the files, in the order given.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
same_width | boolean | Scale pages wider than the narrowest down to its width. |
pdf_redact Redact
Remove areas of pages for good. A page with an area becomes a picture of itself with the areas painted over, so its text can no longer be selected or searched; the other pages stay as they are. The bookmarks, attachments, form list and document information go too. Takes pdf files. Needs Ghostscript.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
areas | array | The areas to remove. |
color | string | The paint, `#rrggbb`. |
dpi | integer | How sharp the pages that become pictures are, 72 to 600 dots per inch. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
video_trim Trim
Keep one section of a video. Takes video files. Needs FFmpeg.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
exact | boolean | Re-encode for a cut on the exact frame (MP4). `false` copies the streams: fast, but cut at the nearest key frame, in the input's own format. |
from | number | Start, in seconds. |
keep_audio | boolean | Keep the sound (`false` leaves it out). |
output_dir | string | Absolute folder for the results; default: the user's setting. |
to | number | null | End, in seconds; the end of the video when left out. |
video_crop Crop
Crop a video to an area, then turn it, then optionally scale it to an exact size. Takes video files. Needs FFmpeg.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
area | The part to keep, in pixels; rounded down to even numbers, as H.264 needs. | |
output_dir | string | Absolute folder for the results; default: the user's setting. |
size | Scale the result to this size at the end, e.g. 1080 × 1350 for an Instagram portrait post; rounded down to even numbers, as H.264 needs. | |
turn | integer | Clockwise turn after cropping: 0, 90, 180 or 270. |
video_speed Change the speed
Play faster or slower. Takes video files. Needs FFmpeg.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
factor | number | 0.25 to 4: 2 is twice as fast. |
keep_pitch | boolean | Keep the voices' pitch (`false`: they get higher or lower with the speed). |
output_dir | string | Absolute folder for the results; default: the user's setting. |
video_split Split into clips
Cut a video into clips. Takes video files. Needs FFmpeg.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
at | array | Where to cut, in seconds. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
parts | integer | null | Instead of `at`: this many clips of equal length (2 to 50). |
video_frames Save frames
Save frames of a video as PNG pictures. Takes video files. Needs FFmpeg.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
at | array | The moments, in seconds. |
every | number | null | Instead of `at`: one frame every this many seconds, from the start. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
video_join Join
Join videos one after another, in the order given; each is fitted to the first one's size. Takes video files. One result from all the files, in the order given. Needs FFmpeg.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
video_redact Redact
Cover areas of a video, each for a stretch of time. Takes video files. Needs FFmpeg.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
areas | array | The areas to cover, each with its stretch of time. |
blur | boolean | Blur the areas instead of filling them with `color`. |
color | string | The fill, `#rrggbb`. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
video_resize Resize
Change a video's size, keeping its proportions; the numbers are rounded to even ones, as H.264 needs. Takes video files. Needs FFmpeg.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
height | integer | null | The height in pixels (1080, 720, 480...). |
output_dir | string | Absolute folder for the results; default: the user's setting. |
width | integer | null | The width in pixels. With `height` too: the result fits inside both. |
video_mute Remove the sound
A copy of a video without its sound; the picture is copied as it is, not encoded again. Takes video files. Needs FFmpeg.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
video_subtitles Draw subtitles
Draw subtitles into the picture, so they show in every player. Needs an `FFmpeg` with the `subtitles` filter (libass). Takes video files. Needs FFmpeg.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
file | string | The subtitles: an SRT, VTT, ASS or SSA file in UTF-8. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
size | integer | null | The size of the letters, 1 to 200 (of a picture 288 lines high, whatever its real size). An ASS file's own size when left out. |
audio_trim Trim
Keep one section of a sound file. Takes audio files. Needs FFmpeg.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
auto | boolean | Instead of `from` and `to`: cut the silence at both ends (below -50 dB). |
from | number | Start, in seconds. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
shorten_pauses | boolean | Shorten pauses inside to half a second. |
to | number | null | End, in seconds; the end of the file when left out. |
audio_normalize Even out the loudness
Even out the loudness, to a target in LUFS. Takes audio files. Needs FFmpeg.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
lra | number | Loudness range allowed, 1 to 20 LU. |
lufs | number | Target loudness, -30 to -5 LUFS (-16: podcasts and online video; -14: music services). |
output_dir | string | Absolute folder for the results; default: the user's setting. |
peak | number | Highest true peak, -9 to 0 dBTP. |
audio_bleep Bleep
Replace sections with a beep. Takes audio files. Needs FFmpeg.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
at | array | The sections to replace with a beep. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
audio_channels Channels
Make a sound file mono or stereo, with a volume for each side. Takes audio files. Needs FFmpeg.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
left | number | Volume of the left channel, 0 to 2 (1: as it is). |
mono | boolean | One channel (`true`) or two. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
right | number | Volume of the right channel, 0 to 2. |
audio_visualize Sound to video
The sound's waveform as bars: a video that lights them up as it plays, or a still picture. Takes audio files. Needs FFmpeg.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
color | string | The bars' colour, `#rrggbb`. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
shape | ||
still | boolean | A PNG instead of an MP4 with the sound. |
audio_fade Fade in and out
Fade the sound in at the start, out at the end, or both. Takes audio files. Needs FFmpeg.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
fade_in | number | How long the fade in lasts, in seconds. |
fade_out | number | How long the fade out lasts, in seconds. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
audio_bitrate Change the bitrate
Encode the sound again at a bitrate, in the same format. WAV, FLAC and AIFF have no bitrate. Takes audio files. Needs FFmpeg.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
kbps | integer | Kilobits per second, 8 to 512 (64: speech; 128: music online; 320: the most MP3 holds). |
output_dir | string | Absolute folder for the results; default: the user's setting. |
image_crop Crop
Turn, mirror, then crop a picture; optionally resize the result exactly. Takes image files.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
area | The part to keep, in pixels of the picture after `turn` and the flips. | |
flip_h | boolean | Mirror left to right (after the turn). |
flip_v | boolean | Mirror top to bottom (after the turn). |
output_dir | string | Absolute folder for the results; default: the user's setting. |
size | Resize the result to exactly this size, e.g. 1080 × 1350 for an Instagram portrait post. | |
turn | integer | Clockwise turn first: 0, 90, 180 or 270. |
image_adjust Adjust the photo
Light, colour and detail, as the Photo window's sliders. All 0 is the picture as it is. Takes image files.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
blacks | number | -100 to 100. |
brightness | number | -100 to 100. |
clarity | number | -100 to 100. |
contrast | number | -100 to 100. |
dehaze | number | -100 to 100. |
exposure | number | Stops, -3 to 3. |
gamma | number | -100 to 100. |
grain | number | 0 to 100. |
highlights | number | -100 to 100. |
hue | number | Degrees, -180 to 180. |
noise_reduction | number | 0 to 100. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
saturation | number | -100 to 100. |
shadows | number | -100 to 100. |
sharpness | number | 0 to 100. |
temperature | number | -100 to 100. |
tint | number | -100 to 100. |
vibrance | number | -100 to 100. |
whites | number | -100 to 100. |
image_frame Put on a background
The picture on a new canvas: a gradient, a colour or another picture behind it. Takes image files.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
blur | number | How much that picture is blurred, in percent of the longer side of the photo. |
color | string | null | A plain colour instead, `#rrggbb`. |
corners | number | Corner radius, in percent of the longer side. |
gradient | integer | null | One of the nine gradients, 1 to 9 (the default fill is gradient 1). |
image | string | null | Another picture instead, scaled to cover the canvas. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
padding | number | Space around the photo, in percent of its longer side. |
ratio | string | null | The canvas shape, width:height such as `4:5`; the photo plus padding when left out. |
shadow | number | Shadow softness, in percent of the longer side (0: none). |
image_collage Collage
Several pictures in one, in the order given (a JPEG named after the first). Takes image files. One result from all the files, in the order given.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
background | string | `#rrggbb`. |
columns | integer | null | Columns of the grid; 2, or 3 for more than four pictures, when left out. |
corners | integer | Corner radius of each picture, in pixels. |
layout | How the pictures are laid out. | |
output_dir | string | Absolute folder for the results; default: the user's setting. |
ratio | string | The canvas shape, width:height: `1:1`, `4:5`, `3:2`, `16:9`, `9:16`... |
spacing | integer | Space between and around the pictures, in pixels. |
whole | boolean | Show each picture whole, with background around it, instead of filling its cell. |
width | integer | Width of the result in pixels. |
image_redact Redact
Cover areas of a picture, filled with a colour or blurred. Takes image files.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
areas | array | The areas to cover. |
blur | boolean | Blur instead of filling with `color`. |
color | string | `#rrggbb` or `#rrggbbaa`. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
image_annotate Annotate
Draw marks on a picture: arrows, boxes, freehand lines, text, numbers, a magnifier, pictures. Takes image files.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
marks | array | The marks, drawn in this order. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
image_resize Resize
Change a picture's size, keeping its proportions. Takes image files.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
height | integer | null | The height in pixels. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
percent | number | null | Instead of `width` and `height`: a share of the size, 1 to 1000 percent. |
width | integer | null | The width in pixels. With `height` too: the result fits inside both. |
metadata Change the metadata
Change the metadata of a picture, video, sound file or PDF. Fields are named `group/key`, as `inspect` lists them (`exif/Model`, `gps/GPSLatitude`, `file/Title`); `group/key#2` is the second field of that name. Takes image, video, audio, pdf files.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
remove | array | Fields to remove. |
remove_all | boolean | Remove everything that can be removed (a photo keeps its orientation). |
remove_camera | boolean | Remove the camera and its settings, the GPS position and the dates. |
set | object | Fields to set, `{"file/Title": "Holiday"}`; only text fields can be set. |
compress Compress
Make a file smaller: a preset, optionally a target size, optionally smaller pictures or video. A result that misses its target is still written and listed in `over_target` in the answer. Takes image, video, audio, pdf files.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
half | boolean | Pictures: half the width and height. |
max_side | integer | null | Pictures: the longest side at most this many pixels. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
strong | boolean | Smaller files, lower quality (the default is balanced). |
target_mb | number | null | Or as a size in megabytes. |
target_percent | number | null | What each result must fit, as a share of the original, 5 to 95 percent. |
video_height | integer | null | Video: at most this many pixels high (1080, 720, 480...). |
strip_metadata Remove the metadata
No parameters: everything that can be removed is (a photo keeps its orientation). Takes image, video, audio, pdf files.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
zip Zip
Pack files and folders into one ZIP, named after the first.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
extract Extract
Unpack ZIP, TAR or TAR.GZ archives, each into a new folder.
| Parameter | Type | Description |
|---|---|---|
files * | array | Absolute paths. |
output_dir | string | Absolute folder for the results; default: the user's setting. |
license_status Licence status
Whether Amberflip may work on this computer: the licence, or the free trial and how long it has left, and where to buy a licence.