Daniela Engert
bf4e22957f
Most members of std::allocate are deprecated in C++17
...
Replace them by their cousins from std::allocator_traits.
Signed-off-by: Daniela Engert <dani@ngrt.de >
2018-06-27 00:02:27 -04:00
Mateusz Loskot
d754d41373
Fix MSVC warning: C4100 unreferenced formal parameter
2018-06-27 00:02:27 -04:00
Mateusz Loskot
6c230bf1cf
Remove redundant local num_values in packed_channel_reference_base::set()
...
Pre-defined packed_channel_reference_base::set::num_values already
represents the value.
Fixes warning C4458: declaration of 'num_values' hides class member
2018-06-27 00:02:27 -04:00
Gogs
fac3ffe7c8
Updated targa reader to support screen origin bit.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
94a4abee52
Fix potentially uninitialized local variable y
...
Continuation of #64
2018-06-27 00:02:27 -04:00
Daniela Engert
a3b8c7eb77
Conditionally replace deprecated/removed C++98 binder by more modern equivalent, and inline deprecated/removed C++98 function adapters.
...
Signed-off-by: Daniela Engert <dani@ngrt.de >
2018-06-27 00:02:27 -04:00
Stefan Seefeld
4f3b5187c6
Suppress concept-related compiler warnings. ( #65 )
...
* Suppress concept-related compiler warnings.
* Fix more warnings.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
b6174343af
Fix UB due to overflowing bit-shift operation ( #68 )
...
Patch courtesy of Andrey Semashev via Boost ML.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
dd268e8f67
Fix potentially uninitialized local variable y
...
Minor severity: compiler warning clean up
2018-06-27 00:02:27 -04:00
Christian Henning
d881a3c8db
Fixed issues raised by reviewer
2018-06-27 00:02:27 -04:00
Christian Henning
9a7bfe8f71
generate indexed_image_view from two views
2018-06-27 00:02:27 -04:00
Christian Henning
dfc86f6895
Added version.hpp
2018-06-27 00:02:27 -04:00
martin-osborne
29fa74d930
Added support for screen origin bit of targa files (Ticket 8429)
...
Currently GIL refuses to load TARGA files whose screen origin is
in the upper left-hand corner. See Trac ticket 8429 for sample
image files created from GIMP 2.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
7a2bfd9360
Fix test of TARGA header descriptor for 24bpp file ( #42 )
...
Ensure that for TARGA Data Type 1, entire descriptor byte is set to 0.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
812203fec9
Fix implicit int to libjpeg boolean conversion
...
Apparently, clang-802.0.42 (Apple LLVM version 8.1.0) is
complaining as per the recent Travis CI build failures.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
0570cbaa2a
Remove uncommented raw URL
...
Likely, committed by accident as part of fix of #33
2018-06-27 00:02:27 -04:00
Christian Henning
2bc4f9df91
#34
2018-06-27 00:02:27 -04:00
Christian Henning
72ee74900c
#31 if stream is bad then throw
2018-06-27 00:02:27 -04:00
Christian Henning
60cf7f75a2
#33
2018-06-27 00:02:27 -04:00
Christian Henning
6676481458
#32
2018-06-27 00:02:27 -04:00
Stefan Seefeld
4dd3679ee2
Eliminate warning.
2018-06-27 00:02:27 -04:00
Stefan Seefeld
56411353cf
Conditionalize png tags to libpng API changes.
2018-06-27 00:02:27 -04:00
Stefan Seefeld
34011225c0
Fix compilation errors.
2018-06-27 00:02:27 -04:00
Christian Henning
b46b3e12e7
tiff writing premul
2018-06-27 00:02:27 -04:00
Christian Henning
535c17b786
some patches for bmp and tiff
2018-06-27 00:02:27 -04:00
Peter Dimov
83aa397f23
Remove use of boost/config/suffix.hpp
2018-06-27 00:02:27 -04:00
Benjamin Buch
a1b0d1d0e6
Fix includes in extension/numeric/convolve.hpp
2018-06-27 00:02:27 -04:00
martin-osborne
cfe606ab7c
Added support for screen origin bit of targa files (Ticket 8429)
...
Currently GIL refuses to load TARGA files whose screen origin is
in the upper left-hand corner. See Trac ticket 8429 for sample
image files created from GIMP 2.
2018-06-27 00:02:27 -04:00
Antony Polukhin
f15b385d96
Removed inclusion of the boost/cast.hpp (functions from this library were not used)
2018-06-27 00:02:27 -04:00
William Gallafent
22697e0e66
Correct header inclusion
2018-06-27 00:02:27 -04:00
William Gallafent
4aec98c7bf
Minor header / indent correction
2018-06-27 00:02:27 -04:00
William Gallafent
0fce727b93
Improve handling of multi-valued properties in TIFF, and fix some problems with ICC profiles in PNG
2018-06-27 00:02:27 -04:00
William Gallafent
180d7326b1
Minor changes for extraneous duplicate line, and constness
2018-06-27 00:02:27 -04:00
William Gallafent
eb3d3d919d
Neaten up multi-element property handling by using fusion vectors, and switch extrasamples property to work in this way. Add ability to load and save ICC colour profile information.
2018-06-27 00:02:27 -04:00
Daniel James
a213a0efb2
Clean up faulty merge in 42fcf6d.
...
This deletes a few files that were previously deleted in develop, in 243fa33 .
2018-06-27 00:02:27 -04:00
Christian Henning
a2a74eb8c4
Adding boost license
2018-06-27 00:02:27 -04:00
William Gallafent
af43112b22
Get TIFF physical resolution load / save sorted out
2018-06-27 00:02:27 -04:00
William Gallafent
11c6910bf4
Allow more complex properties (with more than one element) to be set when saving TIFF.
2018-06-27 00:02:27 -04:00
William Gallafent
271f5fdf3c
Initial implementation of premultiplier, which is used when saving TIFF (since by convention this uses premultiplied alpha)
2018-06-27 00:02:27 -04:00
William Gallafent
85a02eaade
First bit of getting alpha channels saved in TIFF files. The Extra Samples tag is now set.
2018-06-27 00:02:27 -04:00
William Gallafent
5b2e3ef0c7
Match original indenting
2018-06-27 00:02:27 -04:00
William Gallafent
e981553f92
Fix inverted logic deciding whether to use the user's specified value, or a “guessed” value based on the pixel type of the image, when saving a TIFF.
2018-06-27 00:02:27 -04:00
William Gallafent
b3ea3169df
Fix incorrect arithmetic in CMYK -> RGB conversion
2018-06-27 00:02:27 -04:00
William Gallafent
39926162af
Remove duplicate definition of this_t in pnm format's scanline_reader
2018-06-27 00:02:27 -04:00
Lubomir Bourdev
22ab5ce041
GIL: Added support for copying between variants of different types
...
[SVN r61899]
2018-06-27 00:02:27 -04:00
Christian Henning
fc5e0eb35b
Small bugfix.
...
[SVN r85975]
2018-06-27 00:02:27 -04:00
Christian Henning
b90e1780d6
Fixed compiler errors with gcc.
...
[SVN r85549]
2018-06-27 00:02:27 -04:00
Christian Henning
bd2bd44b5b
Added missing typename specifiers.
...
[SVN r85506]
2018-06-27 00:02:27 -04:00
Christian Henning
3e9b6893e1
small bugfix when calculating v plane offset.
...
[SVN r85436]
2018-06-27 00:02:27 -04:00
Christian Henning
d35d8db0c0
Replacing boost::conditional with boost::bool_.
...
[SVN r85433]
2018-06-27 00:02:27 -04:00