Skip to content

v2.2.5

Compare
Choose a tag to compare
@alin23 alin23 released this 18 Oct 17:59
· 157 commits to main since this release
ddf9923

Features

Upload with Dropshare

You can now upload optimised files to any cloud or server using the Dropshare app.

Hover over the floating Clop result and press Cmd-U (or right click and choose Upload with Dropshare) to send the file to Dropshare.

upload with dropshare option

Dropshare also integrates Clop directly, so if you use it to take screenshots, you can now have them optimised automatically before uploading.

the feature is now in the beta version of Dropshare at the moment of this update

dropshare integration with clop

Clop SDK

You can now optimise images, videos and PDFs in your own app using the Clop SDK.

Example code:

Swift

import ClopSDK

guard ClopSDK.shared.waitForClopToBeAvailable() else {
    print("Clop is not available")
    return
}

try ClopSDK.shared.optimise(path: "AppData/image.png")

Objective-C

@import ClopSDK;

ClopSDKObjC *clop = [ClopSDKObjC shared];
if (![clop waitForClopToBeAvailableFor:5]) {
    return;
}

[clop optimiseWithPath:@"AppData/img.png" error:nil];

This is not exactly a feature inside Clop, but I thought it might be a good idea to let people know in case someone is an app developer and wants to integrate Clop in their app.

Improvements

  • Add "Crop PDF" Shortcut
  • Add --output parameter for the CLI
  • ADd --aggressive parameter in the CLI commands where it was missing
  • ADd --page-layout parameter for the crop-pdf CLI command
  • Add Output path parameter for Shortcuts

Fixes

  • Fix --playback-speed-factor CLI option
  • Fix Ctrl-C not stopping optimisation
  • Fix CLI acting on the wrong file if it was backed up before