Commit Graph

121 Commits

Author SHA1 Message Date
Paddy Xu 1ad78c9f4b Disable image detection from file contents (partially revert 3ef980bb17) 2021-06-27 11:34:50 +02:00
Frank Becker 3ef980bb17 Replace supported image extension list with image detection via MagickImageInfo. (#818)
* Replace supported image extension list with image detection via MagickImageInfo.

* Change ImageViewer priority to -4.
Change VideoViewer priority to -3 and detect audio/video via MediaInfo instead of file extensions.

* Make mediaInfo a class static and initialize once.
Add some notes about MediaInfo Open and Close.

* Remove try/catch from Prepare and let it be handled in caller.
If there was an exception due to MediaInfo it would have already occurred in CanHandle.

* Upgrade ImageMagick to latest

* Only check extension for well known image and animated image types.
For other image formats, let ImageMagick try to detect by file content.
Upgrade to latest Magick.NET

Co-authored-by: Frank Becker <frank.becker@thoughtexchange.com>
2021-05-14 19:07:32 +02:00
Paddy Xu b683ce0fd1 Fix config domain mismatch due to CLR optimisation 2021-03-07 19:48:40 +01:00
Paddy Xu a91261435a Fix #825 properly 2021-03-07 19:02:08 +01:00
Gary Wang 9f426326ba ImageViewer: add .jfif format support (#856) 2021-03-03 13:09:09 +01:00
Paddy Xu f5971373a2 Fix #825: do not use unescaped path string (again) 2021-02-02 19:55:03 +01:00
Paddy Xu cd2f4bb5e8 Fix #825: do not use unescaped path string 2021-01-24 18:10:00 +01:00
Paddy Xu 9ab3f2e4bc Fix #760, support CR3 2020-10-18 13:53:24 +02:00
Paddy Xu 2cda4606e3 Fix #759: fix thumbnail orientation for some camera models 2020-10-17 18:06:28 +02:00
Paddy Xu 03da30b59a Fix #477: Add JFIF files 2020-09-27 10:53:44 +02:00
Paddy Xu ed66ec7f48 Fix #734: add AVIF format 2020-09-20 13:48:45 +02:00
Paddy Xu eae1caa875 Add MXF to VideoViewer 2020-08-16 12:22:38 +02:00
Paddy Xu 41b42d81e9 Add EXR to ImageViewer 2020-08-16 12:13:39 +02:00
Paddy Xu 44f66cde4c Fix #669 again: stupid syntax mistake :( 2020-07-05 12:35:55 +02:00
Paddy Xu b26d00bac1 Upgrade Magick.NET packages 2020-07-05 12:33:06 +02:00
Paddy Xu fe44021590 Fix #669: convert image to sRGB only when the original ColorSpace is RGB, sRGB, or scRGB 2020-07-05 12:30:37 +02:00
Paddy Xu bd16583fa1 Fix #401: use the native image provider to render static GIFs 2020-05-31 18:14:55 +03:00
Paddy Xu 8faa152960 minor image colour tweaking 2020-05-15 00:02:47 +03:00
Paddy Xu 8881c1c774 Partially fix #385: EMF and WMF support. Leave EPS to a plugin 2020-05-07 22:06:07 +03:00
Paddy Xu 38cffa1874 Improve image scaling quality 2020-05-03 22:43:18 +03:00
Paddy Xu b98f8e5ec6 using modified exiv2-ql (QL-Win/exiv2@cf560437bb) to detect Exif; switch from NConvert to Magick.NET 2020-05-01 19:02:36 +03:00
Paddy Xu 6f0e7a6a2b Still use CTRL+Wheel for PdfViewer 2019-10-09 20:54:44 +03:00
Paddy Xu 1f198f1e5f Line feed I guess? 2019-10-09 20:43:01 +03:00
Jethro Alter 8d8f46cd36 Add reset zoom on double click for images 2019-09-30 20:01:54 +02:00
Jethro Alter 7fcbe8343c Remove dependency on control key when zooming images
Ref: #422
2019-09-30 19:59:29 +02:00
Paddy Xu 8e74040bb5 Close #387: update nconvert to v7.20 which fixes the Sony ARW bug; handle Apple HEIC 2018-11-07 21:22:26 +02:00
Paddy Xu 69c46620ad Fix #417: search acTL chunk by block, instead of byte-by-byte 2018-11-01 23:58:51 +02:00
Paddy Xu 89f1bb46b6 Fix #337: Exif rotation is broken in WPF 2018-09-04 21:21:49 +03:00
Paddy Xu fe14d53521 minor 2018-09-02 16:00:49 +03:00
Paddy Xu d9a024af37 we do not handle svg 2018-09-02 15:08:26 +03:00
Paddy Xu 187fe2649b better NConvert decoding 2018-09-02 14:09:01 +03:00
Paddy Xu 111861ec8b Merge pull request #335 from QL-Win/plugin-installer
Plugin installer
2018-09-01 23:43:03 +03:00
Paddy Xu 1f975d7dbd Fix #330: flexible scaling factor breaks pdf viewer 2018-08-30 23:47:20 +03:00
Paddy Xu 578c67ef0d Fix #312: scaling still wrong 2018-08-30 23:46:25 +03:00
Paddy Xu 4f496f5ab8 wip plugin installer 2018-08-28 23:49:35 +03:00
Paddy Xu 9832b0f99e done new image viewer 2018-08-28 22:48:10 +03:00
Paddy Xu 3bcb48a43c [WIP] apng provider 2018-08-28 00:16:25 +03:00
Paddy Xu ee6bca704d start working on NConvert 2018-08-12 15:26:03 +03:00
Paddy Xu 1ae40a0019 Fix #292: Handle possible exception when changing colour profile 2018-07-14 17:44:18 +03:00
Paddy Xu 4aa0d56503 Fix #261: ignore meaningless Exif data 2018-06-25 19:44:07 +03:00
Paddy Xu 2fc73a0c45 Update GifAnimationProvider.cs 2018-06-15 22:40:05 +03:00
Paddy Xu db31458ffe done new image viewer. RAW problem remaining. 2018-06-15 22:35:22 +03:00
Paddy Xu 395d4bbc86 Rename GIFAnimationProvider.cs to GifAnimationProvider.cs 2018-06-14 00:19:17 +03:00
Paddy Xu cc48d9427a done new Gif render 2018-06-14 00:02:52 +03:00
Paddy Xu c13839cb19 working on new Gif viewer 2018-06-13 18:43:33 +03:00
Paddy Xu d4feb2c867 update packages 2018-06-06 20:15:36 +03:00
Paddy Xu 3f1b943876 fix #70, #126: switch between Light and Dark background 2018-06-02 16:34:10 +03:00
Paddy Xu 8c4a37e3a6 Global dark theme 2018-04-18 22:23:28 +03:00
Paddy Xu 4133d2148c do not show info icon; do not retain window position (fix for #179); update NuGet packages 2018-02-12 19:30:38 +02:00
Paddy Xu 6bc990bbf9 move to Plugin namespace 2018-02-12 19:30:30 +02:00