This commit is contained in:
Manav Rathi
2025-04-07 13:01:24 +05:30
parent d4199790bb
commit a0049f4e78
3 changed files with 4 additions and 7 deletions

View File

@@ -4,8 +4,8 @@ import { workerBridge } from "ente-base/worker/worker-bridge";
import { FileType } from "ente-media/file-type";
import { isHEICExtension, needsJPEGConversion } from "ente-media/formats";
import { heicToJPEG } from "ente-media/heic-convert";
import { convertToMP4 } from "../services/ffmpeg";
import { detectFileTypeInfo } from "./detect-type";
import { convertToMP4 } from "./ffmpeg";
import { detectFileTypeInfo } from "../utils/detect-type";
/**
* Return a new {@link Blob} containing an image's data in a format that the

View File

@@ -15,13 +15,10 @@ import {
import { ensureAuthToken } from "ente-base/local-user";
import log from "ente-base/log";
import { customAPIOrigin } from "ente-base/origins";
import {
playableVideoURL,
renderableImageBlob,
} from "ente-gallery/utils/convert";
import type { EnteFile } from "ente-media/file";
import { FileType } from "ente-media/file-type";
import { decodeLivePhoto } from "ente-media/live-photo";
import { playableVideoURL, renderableImageBlob } from "./convert";
/**
* URL(s) for the original image or video, alongwith with potential conversions

View File

@@ -1,8 +1,8 @@
import { basename } from "ente-base/file-name";
import type { ElectronMLWorker } from "ente-base/types/ipc";
import { renderableImageBlob } from "ente-gallery/services/convert";
import { downloadManager } from "ente-gallery/services/download";
import type { UploadItem } from "ente-gallery/services/upload";
import { renderableImageBlob } from "ente-gallery/utils/convert";
import { readStream } from "ente-gallery/utils/native-stream";
import type { EnteFile } from "ente-media/file";
import { FileType } from "ente-media/file-type";