nextcloud-preview 0.1.2

Nextcloud preview and thumbnail generation client
Documentation

nextcloud-preview

Nextcloud thumbnail and image preview generation client.

Part of the nextcloud-rust-sdk workspace.

Installation

[dependencies]
nextcloud-preview = "0.1.2"

Features

  • PreviewClient: Requests image previews from /index.php/core/preview.
  • PreviewOptions: Configures target dimensions (width/height), crop mode, and format.

Example

use nextcloud_preview::{PreviewClient, PreviewOptions};

// Requests scaled image previews and thumbnails by file ID

License

GNU General Public License v3.0 or later (GPL-3.0-or-later).