Skip to content
This repository was archived by the owner on Oct 8, 2023. It is now read-only.

Commit 2b472e1

Browse files
committed
Add CImg usage in to the read me file.
1 parent 263b986 commit 2b472e1

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# ZipPicViewWx
22

33
![Imgur](http://i.imgur.com/4DRWcjM.png)
4+
45
![Imgur](http://i.imgur.com/tQ2UIEC.png)
56

67
ZipPicViewWx is an in-zip-archive image viewer. It is written in C++ and runs on Linux and Windows (OSX isn't tested yet). It has only a basic feature like image listing, view with zoom-in/out (up-to 200%), and does not aim to replace your day-to-day image viewer.
78

89
![Imgur](http://i.imgur.com/p3i5G5w.png)
10+
911
![Imgur](http://i.imgur.com/Xdjv6R0.png)
1012

1113
ZipPicViewWx has been tested on Windows 10 and Arch Linux.
@@ -19,10 +21,16 @@ The tested method is to use UNIX toolchain. ZipPicViewWx use CMake for build sys
1921
3. Change directory into the build directory. And then run `$ cmake ~/ZipPicViewWx`.
2022
4. Then run `$ make`. The program is now built.
2123

22-
On Windows, [MSYS2](https://msys2.github.io/) is the preferred method. Install MSYS2 and necessary toolchain, then follow the same instruction as the UNIX toolchain. The Generator has to be specified in step 3, by running `$ cmake -G "MSYS Makefiles ~/ZipPicViewWx"`.
24+
On Windows, [MSYS2](https://msys2.github.io/) is the preferred method. Install MSYS2 and necessary toolchain, then follow the same instruction as the UNIX toolchain. The Generator has to be specified in step 3, by running `$ cmake -G "MSYS Makefiles ~/ZipPicViewWx"`.
2325

2426
After the program is built, `cpack` (which is part of CMAKE distribution) can be used to created installer. `ZIP` and `WIX` generators have been tested and used. To create installer package with `cpack`, run the command `$ cpack -G WIX` or `$ cpack -G ZIP` inside the build directory.
2527

26-
To specify the version number into the build, pass `CPACK_PACKAGE_VERSION_MAJOR` and `CPACK_PACKAGE_VERSION_MAJOR` variable during step 3. For example `$ cmake -G "MSYS Makefiles" -DCPACK_PACKAGE_VERSION_MAJOR=0 -DCPACK_PACKAGE_VERSION_MINOR=7 ~/ZipPicViewWx`. By default the version is `DEV.0.0`
28+
To specify the version number into the build, pass `CPACK_PACKAGE_VERSION_MAJOR` and `CPACK_PACKAGE_VERSION_MAJOR` variable during step 3\. For example `$ cmake -G "MSYS Makefiles" -DCPACK_PACKAGE_VERSION_MAJOR=0 -DCPACK_PACKAGE_VERSION_MINOR=7 ~/ZipPicViewWx`. By default the version is `0.0.0`
2729

2830
ZipPicViewWX depends on [wxWidgets](https://www.wxwidgets.org/) and [libzip](http://www.nih.at/libzip/). It has been compiled on GCC and Clang.
31+
32+
### CImg Library
33+
34+
An experimental [CImg](http://cimg.eu/) libary usage has been added. This enhance the image quality in the preview panel when the scale is not 100%. As a trade-off, the performance is degraded significantly. This functionality is currently disabled by default.
35+
36+
To enable CImg usage, append the flag `-DUSE_CIMG=yes` as a cmake parameter.

0 commit comments

Comments
 (0)