store original

This commit is contained in:
rubikscraft
2022-04-21 17:27:20 +02:00
parent f1188483ad
commit cd7c3b387c
4 changed files with 35 additions and 18 deletions

View File

@@ -9,7 +9,6 @@ import {
import { AsyncFailable, Fail } from 'picsur-shared/dist/types';
import { QOIColorSpace, QOIdecode, QOIencode } from 'qoi-img';
import sharp from 'sharp';
import { UsrPreferenceService } from '../../collections/preference-db/usr-preference-db.service';
interface ProcessResult {
image: Buffer;
@@ -18,8 +17,6 @@ interface ProcessResult {
@Injectable()
export class ImageProcessorService {
constructor(private readonly userPref: UsrPreferenceService) {}
public async process(
image: Buffer,
mime: FullMime,