mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
preparing 0.59 without ocr/pdf, userguide, note ancillaries
This commit is contained in:
@@ -12,7 +12,6 @@ const sanitizeFilename = require('sanitize-filename');
|
||||
const isSvg = require('is-svg');
|
||||
const isAnimated = require('is-animated');
|
||||
const htmlSanitizer = require("./html_sanitizer");
|
||||
const textExtractingService = require("./text_extracting");
|
||||
|
||||
async function processImage(uploadBuffer, originalName, shrinkImageSwitch) {
|
||||
const compressImages = optionService.getOptionBool("compressImages");
|
||||
@@ -83,8 +82,6 @@ function updateImage(noteId, uploadBuffer, originalName) {
|
||||
|
||||
note.setContent(buffer);
|
||||
});
|
||||
|
||||
runOcr(note, buffer);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -126,8 +123,6 @@ function saveImage(parentNoteId, uploadBuffer, originalName, shrinkImageSwitch,
|
||||
|
||||
note.setContent(buffer);
|
||||
});
|
||||
|
||||
textExtractingService.runOcr(note, buffer);
|
||||
});
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user