nomacs is a free, open source image viewer, which supports multiple platforms. You can use it for viewing all common image formats including RAW and psd images. nomacs is licensed under the GNU General Public License v3 and available for Windows, Linux, FreeBSD, Mac, and OS/2. This repository contains all officially supported nomacs plugins.
Qt
SDK or the compiled sources (>= 5.4.0)Exiv2
(>= 0.25)OpenCV
(>= 2.4.6) optionalLibRaw
(>= 0.17) optional
only needed if ENABLE_RAW is checked
- open LibRaw-0.xx.0/LibRaw-nomacs-2015.sln
- build LibRaw (Debug & Release)
- Open CMake GUI
- set your ImageLounge folder to
where is the source code
- choose a build folder
- Set
QT_QMAKE_EXECUTABLE
by locating the qmake.exe - Set
OpenCV_DIR
to your OpenCV build folder - Hit
Configure
thenGenerate
- Open the
nomacs.sln
which is in your new build directory - Right-click the nomacs project and choose
Set as StartUp Project
- Compile the Solution
- check if you have setup opencv (otherwise uncheck ENABLE_RAW)
- check if your Qt is set correctly (otherwise set the path to
qt_install_dir/qtbase/bin/qmake.exe
) - check if your builds proceeded correctly
- Open CMake GUI
- set the plugin repository's root folder containing CMakeLists.txt to
where is the source code
- choose a build folder
- Set OpenCV_DIR, QT_MAKE_EXECUTABLE, and nomacs_DIR
- Hit
Configure
thenGenerate
- You will find a nomacs-plugins.sln which builds all plugins and dedicated plugin projects in the respective folders (e.g. PaintPlugin/paintPlugin.sln)
- Tipp: Go to Plugin > Properties > Configuration Properties > Debugging and set the Command to your nomacs path (e.g. C:/nomacs/build2015-x64/Debug/nomacs.exe) to better debug your plugin
Get the required packages:
sudo apt-get install debhelper cdbs qt5-qmake qttools5-dev-tools qt5-default qttools5-dev libqt5svg5-dev qt5-image-formats-plugins libexiv2-dev libraw-dev libopencv-dev cmake libtiff-dev libquazip-dev libwebp-dev git build-essential
Get the nomacs sources from github:
git clone https://github.com/nomacs/nomacs.git
This will by default place the source into ~/nomacs
Go to the nomacs/ImageLounge directory and run cmake
to get the Makefiles:
cmake .
Compile nomacs:
make
You will now have a binary (~/nomacs/nomacs), which you can test (or use directly). To install it to /usr/local/bin, use:
sudo make install