From e3d6bf99a52a6a9ea0135c68b3492132ea210fff Mon Sep 17 00:00:00 2001 From: David Neon Date: Sun, 29 Jan 2023 21:30:08 +0800 Subject: [PATCH] Update README * Update notes on JPEGView's new need for Microsoft Visual C++ Redistributable for Visual Studio 2022. Also to serve as a nice point to tag this release. * After prior messy commits, the "minimal" set of VCRedist DLLs needed by JXL & AVIF has been determined, and baked into JPEGView.zip distro and JPEGView's MSI installer. Hopefully, it's now 'portable' once again, with just a little more bloat. --- README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6aef1573..2f36c08f 100644 --- a/README.md +++ b/README.md @@ -254,11 +254,17 @@ Roughly follow the steps in [aom's guide](https://aomedia.googlesource.com/aom) * Many project may fail to build (like owing to bad jpeg libs, etc), but they probably don't matter / aren't needed. * Desired output: `libavif_build/avif.lib` and `avif.dll`, which are needed by JPEGView =) -### JPEGView +### Building JPEGView The above `avif.lib` then goes into `src\JPEGView\libavif\lib64`. `avif.dll` goes to `src\JPEGView\bin\x64\Release` and/or Debug folder. These are added in `JPEGView.vcxproj`'s configuration. +Simply build using the VS solution file. + +## ICO Image Format +ICO file can contain multiple icons of various sizes. +WICLoader can read the 'frame' count, i.e. number of images. It has been modified to find the largest one amongst them and extract that image. + # Installation ## Official Releases @@ -281,7 +287,15 @@ Official releases will be made to [sylikc's GitHub Releases](https://github.com/ JPEGView _does not require installation_ to run. Just **unzip, and run** either the 64-bit version, or the 32-bit version depending on which platform you're on. It can save the settings to the extracted folder and run entirely portable. -With the addition of support for AVIF and especially JPEG XL, _additional installation of VC redistributables_ is needed. This is owing to their dependency on [Microsoft Visual C++ Redistributable for Visual Studio 2022](https://visualstudio.microsoft.com/downloads/#microsoft-visual-c-redistributable-for-visual-studio-2022)'s trio of vcruntime140.dll, vcruntime140_1.dll, and msvcp140.dll - which in turn requires many other VC DLLs! +### Mostly +With the addition of support for AVIF and especially JPEG XL, _additional VC redistributable DLLs_ are needed. This is owing to their dependency on [Microsoft Visual C++ Redistributable for Visual Studio 2022](https://visualstudio.microsoft.com/downloads/#microsoft-visual-c-redistributable-for-visual-studio-2022)'s trio of vcruntime140.dll, vcruntime140_1.dll, and msvcp140.dll - which in turn requires many other VC DLLs! + +These DLLs are now packed in the mod's +* `JPEGView.zip`'s `extras` folder in case you need them. + * Try running JPEGView without using them - you may already have the VCRedist installed for other apps. + * If fail, move the DLLs out from `extras` folder to the same folder as JPEGView.exe. It should then work. +* `JPEGView.Setup.msi` installer - this will by default install the DLLs in JPEGView's folder. + * If you already have a proper VCRedist installation, you may skip this set's installation by going into Advanced options and deselect "VCRedist for AVIF and JXL". ### Mod Update Portable Apps Version