Commit Graph

41 Commits

Author SHA1 Message Date
Paddy
22c08f62fa Fix #329: respect monitor ICC 2022-02-13 15:01:32 +01:00
Paddy
b39a58f1b9 rename 2022-02-13 12:21:06 +01:00
Paddy Xu
ef51c459ab Fix #1055: do not apply white background in ImageMagick 2021-12-02 18:04:28 +01: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
a91261435a Fix #825 properly 2021-03-07 19:02:08 +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
2cda4606e3 Fix #759: fix thumbnail orientation for some camera models 2020-10-17 18:06:28 +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
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
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
187fe2649b better NConvert decoding 2018-09-02 14:09:01 +03:00
Paddy Xu
578c67ef0d Fix #312: scaling still wrong 2018-08-30 23:46:25 +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
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
56af2311b9 abstract plugin interface 2018-02-12 19:30:28 +02:00
Paddy Xu
c78fbb009a Fix #153: determine imagetype by signature 2017-12-28 22:37:10 +02:00
Paddy Xu
b1e5ce0172 Fix #150: make use of color space assigned with image 2017-12-09 14:37:53 +02:00
Paddy Xu
734b0e36e3 Fix #128: the "previous state" of a "DisposeOpPrevious" frame is its previous frame - for example,
1: APNGDisposeOpNone
2: APNGDisposeOpNone        // should use rendered frame 1
3: APNGDisposeOpPrevious    // should use rendered frame 1
4: APNGDisposeOpPrevious    // should use rendered frame 1, NOT frame 2
5: APNGDisposeOpNone        // should use rendered frame 4
2017-11-16 18:53:12 +02:00
Paddy Xu
24fafc5746 Fix #106: display thumbnails 2017-11-05 02:15:00 +02:00
Paddy Xu
6e5e7cb891 Fix #92: Make sure the handle is closed 2017-10-15 16:10:29 +03:00
Paddy Xu
59c4216bca Fix #93: Ignore image resolutions 2017-10-14 22:32:05 +03:00
Paddy Xu
333857ff81 Fix #78: Use Gif Disposal flag in the correct way 2017-10-05 20:54:57 +03:00
Paddy Xu
dbee403b59 Merge branch 'master' into fluent 2017-08-12 20:55:33 +03:00
Paddy Xu
5b97e7ef60 wip 2 2017-08-06 17:27:30 +03:00
Paddy Xu
e79de6c36d use native rotate method suggested by @dlemstra 2017-08-04 22:07:02 +03:00
Paddy Xu
94a18707dd let WPF do the decoding 2017-08-01 23:28:58 +03:00
Paddy Xu
4acac51a8d do not rotate unless nessessary 2017-08-01 22:05:25 +03:00
Paddy Xu
2f12127cc9 Use my home-made GIF and APNG animator. It's really save CPU compared to previous one! 2017-07-31 00:14:21 +03:00