Commit Graph

67 Commits

Author SHA1 Message Date
Frank Dana
8bde07682c Merge branch 'develop' into std-prefixes 2019-10-22 21:00:27 -04:00
FeRD (Frank Dana)
291719ff05 Effects: No "" file_path args to exceptions 2019-08-27 15:48:46 -04:00
FeRD (Frank Dana)
45cfda413d (include/src)/effects/: std::prefixes 2019-08-05 01:08:03 -04:00
Jonathan Thomas
5f331e24df Merge pull request #265 from ferdnyc/catch-by-reference
Exceptions: catch-by-reference and other cleanup
2019-07-29 16:27:40 -05:00
FeRD (Frank Dana)
35eb6adc55 Clean up allocated memory in JSON code 2019-07-11 05:00:47 -04:00
FeRD (Frank Dana)
cb6ac21219 src/effects: Catch-by-reference 2019-07-03 06:29:32 -04:00
Jonathan Thomas
967f23b8a4 Merge pull request #245 from ferdnyc/license-block
Upgrade Doxygen documentation formatting/content
2019-06-21 00:24:54 -05:00
Frank Dana
a47d5b58fd Add backwards-compatible Imagemagick 7 support (#252)
* Add ImageMagick 7 compatibility

A new header, `imclude/MagickUtilities.h`, is created to hold the
compatibility `#define`s.

The image-conversion code in `src/Frame.cpp` received the only
major changes — instead of doing the export by hand (and having
to account for changes in the underlying API), it uses the
`MagickCore::ExportImagePixels()` function which does basically
the same work, but accounts for all of the API changes for us.
The API of that function is _unchanged_ from IM6 to IM7.

TODO: `MagickCore::ExportImagePixels()` will return an `exception`
struct if it encounters any problems. Currently the code ignores
that, which it should not.

* Add ImageMagick 7 compatibility

A new header, `imclude/MagickUtilities.h`, is created to hold the
compatibility `#define`s.

The image-conversion code in `src/Frame.cpp` received the only
major changes — instead of doing the export by hand (and having
to account for changes in the underlying API), it uses the
`MagickCore::ExportImagePixels()` function which does basically
the same work, but accounts for all of the API changes for us.
The API of that function is _unchanged_ from IM6 to IM7.

TODO: `MagickCore::ExportImagePixels()` will return an `exception`
struct if it encounters any problems. Currently the code ignores
that, which it should not.

Thanks @ferdnyc
2019-06-21 00:07:49 -05:00
FeRD (Frank Dana)
744a4f3ec1 Remove Json:Reader
`Json::Reader` has been deprecated for some time, so we replace it with
`Json::CharReader` generated by a `Json::CharReaderBuilder`, or (in the
one instance where we have a stream as input) `Json::parseFromStream();`
2019-06-19 21:20:04 -04:00
FeRD (Frank Dana)
f170fdd009 Update copyright range to current year 2019-06-11 06:48:32 -04:00
FeRD (Frank Dana)
0327c2ab5c Remove license block from documentation comment 2019-06-09 08:31:04 -04:00
Jonathan Thomas
da01a2c4cb Adding "reader" property for Mask effect, to allow the user to adjust the image or video used by the mask effect. 2018-08-02 00:42:14 -05:00
Richard Alloway
9ae61e50b0 Fix logic for 3 of the 4 blur parameters (#118) 2018-06-21 23:41:36 -05:00
Jonathan Thomas
ace89efa59 Move critical sections to prevent crash on Windows 2018-06-06 06:31:46 -05:00
Rich Alloway
0b759f494b Fix Blur.cpp by copying blur_<chan> values back to <chan> so horizontal *and* vertical blurs can be applied in one effect and blur accumulates with increased iterations 2018-05-09 11:52:20 -04:00
Jonathan Thomas
244fac4df8 Adding new crop effect, which can also be animated for some very cool effects. 2018-03-05 02:12:37 -06:00
Jonathan Thomas
df2b59cf24 Optimize and improve speed of Mask effect (used by transitions). This is way faster than before now! 2018-03-03 23:16:47 -06:00
Jonathan Thomas
7609f7fbfe Fix default values on ColorShift effect 2018-03-03 18:09:42 -06:00
Jonathan Thomas
7f9fc30203 Adding new Color Shift effect, which can shift any color (RGBA) with infinite wrapping (and full supports animation). 2018-03-03 18:02:14 -06:00
Jonathan Thomas
3034bbe273 Adding new Pixelate video effect, which pixelates a portion (or all) of a frame's image, and is fully animatable. 2018-02-09 16:43:43 -06:00
Jonathan Thomas
8c1da9798b Adding new video effect: Bars, which allow for animating colored bars around your video, such as a letterbox effect. 2018-02-09 02:37:05 -06:00
Jonathan Thomas
c159fde729 Adding new wave video effect, which can be animated in a ton of ways to create lots of cool wave distortion effects. 2018-02-08 03:51:32 -06:00
Jonathan Thomas
c81d42629d Adding Hue video effect, to adjust the hue of a frame's image, which can also be animated with a keyframe 2018-02-06 02:26:35 -06:00
Jonathan Thomas
4a9f2a0a00 Adding new effect: Shift, an infinite pixel shifting effect which can be animated and wrap images in any direction. 2018-02-06 00:51:59 -06:00
Jonathan Thomas
7490aaa3e4 Fixing brightness and Mask effects to calculate factor with a float type, giving more fine control 2017-11-14 00:15:42 -06:00