Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I9eac30c7d4c1c89178f4930b215e523d6a6a6964
62 lines
1.7 KiB
TOML
62 lines
1.7 KiB
TOML
[plugin]
|
|
name = "heif-support"
|
|
version = "1.0.0"
|
|
api_version = "1.0"
|
|
author = "Pinakes Team"
|
|
description = "HEIF/HEIC image format support with metadata extraction and thumbnail generation"
|
|
homepage = "https://github.com/pinakes/pinakes"
|
|
license = "MIT OR Apache-2.0"
|
|
kind = ["media_type", "metadata_extractor", "thumbnail_generator"]
|
|
|
|
[plugin.binary]
|
|
wasm = "heif_support.wasm"
|
|
|
|
[capabilities]
|
|
max_memory_mb = 256
|
|
max_cpu_time_secs = 30
|
|
|
|
[capabilities.filesystem]
|
|
read = ["/tmp/pinakes-input"]
|
|
write = ["/tmp/pinakes-output"]
|
|
|
|
[config]
|
|
extract_exif = { type = "boolean", default = true, description = "Extract EXIF metadata from HEIF images" }
|
|
generate_thumbnails = { type = "boolean", default = true, description = "Generate thumbnails for HEIF images" }
|
|
thumbnail_quality = { type = "integer", default = 85, description = "JPEG quality for thumbnails (1-100)" }
|
|
[plugin]
|
|
name = "heif-support"
|
|
version = "1.0.0"
|
|
api_version = "1.0"
|
|
author = "Pinakes Contributors"
|
|
description = "HEIF/HEIC image format support for Pinakes"
|
|
homepage = "https://github.com/notashelf/pinakes"
|
|
license = "MIT"
|
|
kind = ["media_type", "metadata_extractor", "thumbnail_generator"]
|
|
|
|
[plugin.binary]
|
|
wasm = "heif_support.wasm"
|
|
|
|
[capabilities]
|
|
network = false
|
|
max_memory_mb = 256
|
|
max_cpu_time_secs = 30
|
|
|
|
[capabilities.filesystem]
|
|
# Read access for processing images (use specific paths in production)
|
|
read = ["/media"]
|
|
# Write access for thumbnail generation
|
|
write = ["/tmp/pinakes"]
|
|
|
|
# Plugin configuration
|
|
[config]
|
|
# Enable EXIF metadata extraction
|
|
extract_exif = true
|
|
# Enable thumbnail generation
|
|
generate_thumbnails = true
|
|
# Thumbnail quality (1-100)
|
|
thumbnail_quality = 85
|
|
# Thumbnail format (jpeg, png, webp)
|
|
thumbnail_format = "jpeg"
|
|
# Maximum image dimensions to process
|
|
max_width = 8192
|
|
max_height = 8192
|