Open fsicoli opened 4 years ago
That seems a nice feature! I considered a similar idea myself a while ago, but didn't go further. As far as I know, for some formats (like JPEG), subsampling is used when reading large files, so the displayed image is already limited. However, even for these formats, very large images are somewhat slow to read. Large PSDs and other formats (like HEIC) are particulary slow to open in the viewer, so they would be good candidates for having a preview image.
Just to note #174 aims to get rid of thousands of small preview files in "view" folder and store them in sqlite containers like image thumbs currently are. So I think this could be implemented using the new container approach, otherwise it will increase the effort needed by #174
Hi, I've noticed that HEIC images are not processed by FaceRecognitionTask(right @hauck-jvsh ?). Made this JPEG conversion can solve this also.
I suggest creating a feature that generates and stores previews of large image files.
For instance, PSD files greater than 10 MB would be processed by imagemagick to create a lower resolution JPEG preview, stored directly on "indexador\view\" or in a SQLlite database.
That way, those large image files would be displayed faster in the analyst's workstations thus requiring less computer resources. The original high resolution file would still be able to be opened externally by double-clicking it.