Jon Beniston
7d695a3edd
Add apt_temperature to API
2 lat temu
Jon Beniston
61c248b911
Add apt_temperature to API
2 lat temu
Liam
794d69c9a7
Merge pull request #14 from Xiretza/cmake-fixes
CMake improvements
3 lat temu
Xiretza
5a257ae0ce
cmake: use message(WARNING) when dependencies are missing
3 lat temu
Xiretza
73488dce96
cmake: install palettes to DATADIR
3 lat temu
Xiretza
0a888e6baf
cmake: install headers as part of shared library
3 lat temu
Xiretza
63efb43444
cmake: deduplicate install directives
3 lat temu
Xiretza
e82e51fd94
cmake: use GNUInstallDirs
3 lat temu
Liam
5f91799637
Merge pull request #13 from srcejon/libaptdec
Build shared library + MSVC build support
3 lat temu
Jon Beniston
72ce791a56
Fix error in release build
3 lat temu
Jon Beniston
b3dd3f8ce1
Add enum for channel ID. Fix channel 3A to be near-IR as per https://nssdc.gsfc.nasa.gov/nmc/experiment/display.action?id=1998-030A-01
3 lat temu
Jon Beniston
612dc0a977
Add macro for width of pixel rows
3 lat temu
Jon Beniston
328ea956f4
Export offsets as needed for image functions
3 lat temu
Jon Beniston
3141493ae6
Rename apt_getsample to apt_getsamples, as it gets more than one sample.
3 lat temu
Jon Beniston
23d7870102
Add context pointer to getsample callback
3 lat temu
Jon Beniston
ce63316fb2
Support C++
3 lat temu
Jon Beniston
17950dc47e
Rename library so lib isn't repeated on Linux
3 lat temu
Jon Beniston
8cdb314c0f
Return to src root
3 lat temu
Jon Beniston
42b6e36e47
Fix .bat file comments
3 lat temu
Jon Beniston
fb6fb49929
Use static library for aptdec executable, to avoid having to set path to library
3 lat temu
Jon Beniston
4aca94f20f
Use INCLUDE_DIRs for libraries. Simplify conditions
3 lat temu
Jon Beniston
429e73a2b1
Fix palette exports
3 lat temu
Jon Beniston
dc3c02c76d
Add support for building a shared library (libaptdec).
Exported functions and types prefixed with apt_
Callback added for getsample, instead of calling named function.
Allow library to be built without libpng or libsndfile.
Add support for building with MSVC on Windows.
Fix a few MSVC compiler warnings.
Fix nonlinear radiance correction for NOAA19.
3 lat temu
Xerbo
86b8d618e0
Fix for compilation with gcc10
3 lat temu
Xerbo
13d98107ac
Fix map alignment when using crop noise
The crop noise effect shifts the enetire image in memory, however when applying a map this shift did not get taken into account.
4 lat temu
Xerbo
7892869d39
Fix segfault when trying to do anything
Don't try to memcopy into a null pointer
4 lat temu
Xerbo
b5b50919ec
Add .. to CMake in quick start
4 lat temu
Xerbo
94f3bdbc24
Add CMake into the apt install command in quick start
4 lat temu
Xerbo
a9a3998da2
Add notice about deprecation of the makefile (and fix it)
4 lat temu
Xerbo
eb61a550c1
Add release windows build
4 lat temu
Xerbo
c3422dc634
Hopefully fix windows build
Run in debug now instead of release to ignore warnings and use a glob to find the DLL's instead of hard coding their paths
4 lat temu
Xerbo
c757dc7614
Switch to argpase and move libaries into src/lib/
4 lat temu
Xerbo
45d29136d6
Copy `sndfile.lib` into build path
4 lat temu
Xerbo
68c0360b29
Add action for windows debug
4 lat temu
Xerbo
f1979a74d9
Windows build now working properly
Was opening PNG files (which are binary...) with `r` instead of `rb` which caused problems on windows
Added `libsndfile-1` back into FindLibSndFile.cmake, since it's needed
Package `sndfile.dll` instead of `libsndfile-1.dll` since thats what the binary looks for
4 lat temu
Xerbo
ad3b9ed0ed
Rewrite the windows build script
4 lat temu
Xerbo
3b9a830ee2
Remove src/filtercoeff.h after forgetting in 7148947
4 lat temu
Xerbo
5324247187
Run debug build on the correct branch
4 lat temu
Xerbo
253f082f4c
Use correct URL's for badges
4 lat temu
Xerbo
71489470b6
Merge filtercoeff.h into filter.h
4 lat temu
Xerbo
be0aa786f7
Add debug badge to README
4 lat temu
Xerbo
042764505a
Add debug build and specify arch in name
4 lat temu
Xerbo
05f6ac2581
Fix naming in packaged builds and add full description
4 lat temu
Xerbo
cc5eb0f65b
Add improved N19 HRPT palette, remove the older bad ones
4 lat temu
Xerbo
466fe01a52
Add build status badge
4 lat temu
Xerbo
06571464fe
Make release builds work
Since release builds had -Werror on, every warning is counted as an error, and the #pragmas that supressed that warning caused a wrning them selfs.
4 lat temu
Liam
0cc69cbecd
Use sudo when running apt
4 lat temu
Liam
d494cf573d
Install dependencies in GitHub actions
4 lat temu
Liam
a04bc4a439
Add initial GitHub actions workflow
4 lat temu
Xerbo
c5ec69f48a
Headerise each file
4 lat temu