Jon Beniston
23d7870102
Add context pointer to getsample callback
vor 3 Jahren
Jon Beniston
ce63316fb2
Support C++
vor 3 Jahren
Jon Beniston
fb6fb49929
Use static library for aptdec executable, to avoid having to set path to library
vor 3 Jahren
Jon Beniston
429e73a2b1
Fix palette exports
vor 3 Jahren
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.
vor 3 Jahren
Xerbo
86b8d618e0
Fix for compilation with gcc10
vor 3 Jahren
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.
vor 4 Jahren
Xerbo
7892869d39
Fix segfault when trying to do anything
Don't try to memcopy into a null pointer
vor 4 Jahren
Xerbo
eb61a550c1
Add release windows build
vor 4 Jahren
Xerbo
c757dc7614
Switch to argpase and move libaries into src/lib/
vor 4 Jahren
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
vor 4 Jahren
Xerbo
3b9a830ee2
Remove src/filtercoeff.h after forgetting in 7148947
vor 4 Jahren
Xerbo
71489470b6
Merge filtercoeff.h into filter.h
vor 4 Jahren
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.
vor 4 Jahren
Xerbo
c5ec69f48a
Headerise each file
vor 4 Jahren
Xerbo
ec8a1eb168
Remove distribution image generation
It didn't even work in the latest commit
vor 4 Jahren
Xerbo
2213e46ddf
Stack image types as much as you want
Create a copy of the image before modifying it for temperature calibration
vor 4 Jahren
Xerbo
8cfbc9d12b
Fix for small mistake in b96a2c6
vor 4 Jahren
Xerbo
b96a2c6f0b
Increase buffer size
vor 4 Jahren
Xerbo
bb37bf0628
Palette search directorie, basic packaging support
vor 4 Jahren
Xerbo
b8671a325f
Move source into src/
vor 4 Jahren