mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-09-12 21:58:58 -04:00
Every file the built-in converters cannot render goes to /unpack/thumbnail (Tika 4.1) and comes back with the image Tika marks as its thumbnail.
11 lines
541 B
Go
11 lines
541 B
Go
package preprocessor
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrNoImageFromAudioFile = errors.New("preprocessor: could not extract image from audio file")
|
|
ErrNoConverterForExtractedImageFromGgsFile = errors.New("preprocessor: could not find converter for image extracted from ggs file")
|
|
ErrNoConverterForExtractedImageFromAudioFile = errors.New("preprocessor: could not find converter for image extracted from audio file")
|
|
ErrNoThumbnail = errors.New("preprocessor: the document has no thumbnail")
|
|
)
|