Xiretza
73488dce96
cmake: install palettes to DATADIR
3 jaren geleden
Xiretza
0a888e6baf
cmake: install headers as part of shared library
3 jaren geleden
Xiretza
63efb43444
cmake: deduplicate install directives
3 jaren geleden
Xiretza
e82e51fd94
cmake: use GNUInstallDirs
3 jaren geleden
Liam
5f91799637
Merge pull request #13 from srcejon/libaptdec
Build shared library + MSVC build support
3 jaren geleden
Jon Beniston
72ce791a56
Fix error in release build
3 jaren geleden
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 jaren geleden
Jon Beniston
612dc0a977
Add macro for width of pixel rows
3 jaren geleden
Jon Beniston
328ea956f4
Export offsets as needed for image functions
3 jaren geleden
Jon Beniston
3141493ae6
Rename apt_getsample to apt_getsamples, as it gets more than one sample.
3 jaren geleden
Jon Beniston
23d7870102
Add context pointer to getsample callback
3 jaren geleden
Jon Beniston
ce63316fb2
Support C++
3 jaren geleden
Jon Beniston
17950dc47e
Rename library so lib isn't repeated on Linux
3 jaren geleden
Jon Beniston
8cdb314c0f
Return to src root
3 jaren geleden
Jon Beniston
42b6e36e47
Fix .bat file comments
3 jaren geleden
Jon Beniston
fb6fb49929
Use static library for aptdec executable, to avoid having to set path to library
3 jaren geleden
Jon Beniston
4aca94f20f
Use INCLUDE_DIRs for libraries. Simplify conditions
3 jaren geleden
Jon Beniston
429e73a2b1
Fix palette exports
3 jaren geleden
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 jaren geleden
Xerbo
86b8d618e0
Fix for compilation with gcc10
3 jaren geleden
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 jaren geleden
Xerbo
7892869d39
Fix segfault when trying to do anything
Don't try to memcopy into a null pointer
4 jaren geleden
Xerbo
b5b50919ec
Add .. to CMake in quick start
4 jaren geleden
Xerbo
94f3bdbc24
Add CMake into the apt install command in quick start
4 jaren geleden
Xerbo
a9a3998da2
Add notice about deprecation of the makefile (and fix it)
4 jaren geleden
Xerbo
eb61a550c1
Add release windows build
4 jaren geleden
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 jaren geleden
Xerbo
c757dc7614
Switch to argpase and move libaries into src/lib/
4 jaren geleden
Xerbo
45d29136d6
Copy `sndfile.lib` into build path
4 jaren geleden
Xerbo
68c0360b29
Add action for windows debug
4 jaren geleden
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 jaren geleden
Xerbo
ad3b9ed0ed
Rewrite the windows build script
4 jaren geleden
Xerbo
3b9a830ee2
Remove src/filtercoeff.h after forgetting in 7148947
4 jaren geleden
Xerbo
5324247187
Run debug build on the correct branch
4 jaren geleden
Xerbo
253f082f4c
Use correct URL's for badges
4 jaren geleden
Xerbo
71489470b6
Merge filtercoeff.h into filter.h
4 jaren geleden
Xerbo
be0aa786f7
Add debug badge to README
4 jaren geleden
Xerbo
042764505a
Add debug build and specify arch in name
4 jaren geleden
Xerbo
05f6ac2581
Fix naming in packaged builds and add full description
4 jaren geleden
Xerbo
cc5eb0f65b
Add improved N19 HRPT palette, remove the older bad ones
4 jaren geleden
Xerbo
466fe01a52
Add build status badge
4 jaren geleden
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 jaren geleden
Liam
0cc69cbecd
Use sudo when running apt
4 jaren geleden
Liam
d494cf573d
Install dependencies in GitHub actions
4 jaren geleden
Liam
a04bc4a439
Add initial GitHub actions workflow
4 jaren geleden
Xerbo
c5ec69f48a
Headerise each file
4 jaren geleden
Xerbo
7763148aea
More verbose output when building with CMake
4 jaren geleden
Xerbo
ec8a1eb168
Remove distribution image generation
It didn't even work in the latest commit
4 jaren geleden
Xerbo
2213e46ddf
Stack image types as much as you want
Create a copy of the image before modifying it for temperature calibration
4 jaren geleden
Xerbo
8cfbc9d12b
Fix for small mistake in b96a2c6
4 jaren geleden