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
Christian Henning
fe1e686ad5
Set compiler symbol indicating an older libpng version.
...
[SVN r84990]
2018-06-27 00:02:27 -04:00
Christian Henning
e566f3de71
removed duplicate typedef.
...
[SVN r84989]
2018-06-27 00:02:27 -04:00
Christian Henning
af5c97bf59
Removing compiler warnings for x86 builds.
...
[SVN r84884]
2018-06-27 00:02:27 -04:00
Christian Henning
179a286447
Added compiler symbol to allow compiling with libpng 1.4 or lower.
...
[SVN r84883]
2018-06-27 00:02:27 -04:00
Christian Henning
56c5f9c446
Added comment explaining how memory will be reused when possible.
...
[SVN r84658]
2018-06-27 00:02:27 -04:00
Christian Henning
ae0bd42d22
Fixing image recreate.
...
[SVN r84600]
2018-06-27 00:02:27 -04:00
Christian Henning
896cff3534
bug fix relating to png's compression settings.
...
[SVN r84469]
2018-06-27 00:02:27 -04:00
Christian Henning
6bd2a8a25e
Fixed syntax error.
...
[SVN r84461]
2018-06-27 00:02:27 -04:00
Christian Henning
68b36f5be8
Eliminated linker errors.
...
[SVN r84446]
2018-06-27 00:02:27 -04:00
Christian Henning
74ed5ca92d
Added some metafunctions to fulfill some og gil's concepts.
...
[SVN r84391]
2018-06-27 00:02:27 -04:00
Christian Henning
cb66285008
Small bug fix.
...
[SVN r84269]
2018-06-27 00:02:27 -04:00
Christian Henning
9e12705b03
Some fixes when recreating an image.
...
[SVN r84094]
2018-06-27 00:02:27 -04:00
Christian Henning
a3b179cfa8
Some small corrections.
...
[SVN r84090]
2018-06-27 00:02:27 -04:00
Christian Henning
33f87ab1cd
Fixed bug with recreate and planar images.
...
[SVN r84081]
2018-06-27 00:02:27 -04:00
Christian Henning
671625f4e4
Added support for different kinds of subchroma image types.
...
[SVN r84079]
2018-06-27 00:02:27 -04:00
Christian Henning
1900b7d2ed
Added ycbcr 709 pixel type and conversions.
...
[SVN r84060]
2018-06-27 00:02:27 -04:00
Christian Henning
111fcc5222
fixed a merging issue.
...
[SVN r84050]
2018-06-27 00:02:27 -04:00
Christian Henning
cb61657ad6
Fix for reusing memory in image class.
...
[SVN r84049]
2018-06-27 00:02:27 -04:00
Christian Henning
83d2797277
reverted back fix to reuse memory.
...
[SVN r84048]
2018-06-27 00:02:27 -04:00
Christian Henning
5b6ef45728
Correcting wrong fix committed before.
...
[SVN r84041]
2018-06-27 00:02:27 -04:00
Christian Henning
06945ef7d9
Fix for reusing memory when recreating an image.
...
[SVN r84040]
2018-06-27 00:02:27 -04:00
Christian Henning
cb8907835c
Added some more parameter to configure libpng on how to write images.
...
[SVN r83970]
2018-06-27 00:02:27 -04:00
Christian Henning
8c2b315fd8
Added sub-image factors as template parameters.
...
[SVN r83883]
2018-06-27 00:02:27 -04:00
Christian Henning
c9267d3ffe
Change to more appropriate image type name.
...
[SVN r83876]
2018-06-27 00:02:27 -04:00
Christian Henning
707ff7f656
Added pixel by pixel multiplication and division.
...
[SVN r83634]
2018-06-27 00:02:27 -04:00
Christian Henning
b844bc1f85
* Added integer optimization for bit8 channels.
...
* fixed compiler error
[SVN r83605]
2018-06-27 00:02:27 -04:00
Christian Henning
2953f97bce
* Exchanged GIL_FORCEINLINE with BOOST_FORCE_INLINE.
...
* Eliminated some useless warnings.
[SVN r83577]
2018-06-27 00:02:27 -04:00
Christian Henning
80368d304c
First version of subsampled_image.
...
[SVN r83501]
2018-06-27 00:02:27 -04:00
Christian Henning
58df25bc2d
Added some comments.
...
[SVN r83500]
2018-06-27 00:02:27 -04:00
Christian Henning
9ec644655d
YCbCr color space.
...
[SVN r83495]
2018-06-27 00:02:27 -04:00
Christian Henning
8834b3f55d
* All patches I have received, so far.
...
* Changed to boost license
[SVN r83451]
2018-06-27 00:02:27 -04:00
Christian Henning
a77f0be309
I believe that the latest version released by Adobe. Any changes after this commit has nothing to do with Adobe.
...
[SVN r83450]
2018-06-27 00:02:27 -04:00
Christian Henning
fde2516226
Added missing newline.
...
[SVN r83196]
2018-06-27 00:02:27 -04:00
Christian Henning
89803b0ddf
Removed all Tab characters and added missing newlines.
...
[SVN r83195]
2018-06-27 00:02:27 -04:00
Christian Henning
bfc78c1438
Using iterator_facade as base for scanline_read_iterator.
...
[SVN r83141]
2018-06-27 00:02:27 -04:00
Christian Henning
b7109dd3a7
#4517
...
[SVN r83107]
2018-06-27 00:02:27 -04:00
Christian Henning
2dc99f8427
changes to scanline_read_iterator.
...
[SVN r83075]
2018-06-27 00:02:27 -04:00
Christian Henning
8e77e11478
bug fix with scanline_read_iterator. Now reads and skips should happen at the correct call.
...
[SVN r83043]
2018-06-27 00:02:27 -04:00
Christian Henning
75fd165505
Added difference_type to scanline_read_iterator.
...
[SVN r82992]
2018-06-27 00:02:27 -04:00
Christian Henning
72b67b13af
Only increase the position inside operator++.
...
[SVN r82991]
2018-06-27 00:02:27 -04:00
Christian Henning
e8da58de6f
Fixed scanline_read_iterator interface.
...
[SVN r82988]
2018-06-27 00:02:27 -04:00
Christian Henning
64a624c22e
Fixed incorrect header.
...
[SVN r82983]
2018-06-27 00:02:27 -04:00
Christian Henning
e9f77d30bf
Adding new io extension.
...
[SVN r82981]
2018-06-27 00:02:27 -04:00
Christian Henning
4b4f3e8ea9
Replacing io extension.
...
[SVN r82980]
2018-06-27 00:02:27 -04:00
Christian Henning
be914e0269
packed_channel_value is now using low_bits_mask_t to reduce code.
...
[SVN r82883]
2018-06-27 00:02:27 -04:00
Christian Henning
75342fedd2
Added more specializations for get_num_bits.
...
[SVN r82882]
2018-06-27 00:02:27 -04:00
Christian Henning
12771230f1
Added packed_channel_value to get_num_bits metafunction.
...
[SVN r82855]
2018-06-27 00:02:27 -04:00
Christian Henning
295c5a47d5
Fixed comments for code consistency.
...
[SVN r82854]
2018-06-27 00:02:27 -04:00
Christian Henning
887a6f8ff7
Fixed compiler errors for gcc and clang.
...
[SVN r82774]
2018-06-27 00:02:27 -04:00
Christian Henning
8d619b5111
Toolbox extension inital commit.
...
[SVN r82769]
2018-06-27 00:02:27 -04:00
Christian Henning
18eacb424b
#7920
...
[SVN r82755]
2018-06-27 00:02:27 -04:00
Christian Henning
0157058440
The last fix produces a compiler with Visual Studio 2010.
...
See ticket 7970.
[SVN r82745]
2018-06-27 00:02:27 -04:00
Christian Henning
8b3ceb2de0
Added missing header file.
...
[SVN r82705]
2018-06-27 00:02:27 -04:00
Christian Henning
ee225cf270
#6681
...
[SVN r82704]
2018-06-27 00:02:27 -04:00
Christian Henning
ce31c5ccb7
#6681
...
[SVN r82703]
2018-06-27 00:02:27 -04:00
Christian Henning
5db659d5b5
#7970
...
[SVN r82702]
2018-06-27 00:02:27 -04:00
Marshall Clow
c1084347af
Apply patch for Lubomir; Refs #4919
...
[SVN r82092]
2018-06-27 00:02:27 -04:00
Christian Henning
5cc317cdab
Introducing base_channel_type metafunction which helps to avoid useless casting between integral data types. For older compilers it also reduces warnings about those castings operations.
...
[SVN r66416]
2018-06-27 00:02:27 -04:00
Lubomir Bourdev
e548b4477d
GIL: Added support for copying between variants of different types
...
[SVN r61899]
2018-06-27 00:02:27 -04:00
Christian Henning
33d94c303e
Added gil:: namespace to all at_c calls. This seems necessary for current gcc ( 4.4 and more ) compilers. See #3041 and #3619 .
...
[SVN r58777]
2018-06-27 00:02:27 -04:00
Christian Henning
6805259c26
Enables reading multi-page tiff.
...
[SVN r66841]
2010-11-29 15:08:44 +00:00
Christian Henning
048dafbcc0
Allows to compile with recent libpng version ( 1.4 and greater ).
...
[SVN r66840]
2010-11-29 15:08:00 +00:00
Christian Henning
4aeac05678
Changes suppress compiler warnings when dealing with on-the-edge bit_aligned images, for instance rgb31 or rgb63.
...
[SVN r65912]
2010-10-11 15:59:24 +00:00
Christian Henning
b4aa265399
Allow for image creating with non-pixel types, like int or float, that satisfy the regular type concept.
...
[SVN r65910]
2010-10-11 15:55:32 +00:00
Christian Henning
73c9bac7f5
Allow for image creating with non-pixel types, like int or float, that satisfy the regular type concept.
...
[SVN r65909]
2010-10-11 15:54:49 +00:00
Christian Henning
21fd3028a2
Code changes to suppress some compiler warnings when using scoped_channel_value.
...
[SVN r65908]
2010-10-11 15:51:55 +00:00
Christian Henning
740abbaf8d
Added gil:: namespace to all at_c calls. This seems necessary for current gcc ( 4.4 and more ) compilers. See #3041 and #3619 .
...
[SVN r65907]
2010-10-11 15:49:50 +00:00
Christian Henning
c7f9a1bff6
Made scoped_channel_value's base type accessible to users.
...
[SVN r64261]
2010-07-22 14:43:04 +00:00
Christian Henning
af58445a4b
Fixing potential compilation errors with newer and more standard conformant compilers when using gil and STL. Basically gil's iterators and interator adaptors are now explicit what iterator category they are belonging to, e.g. random access iterator.
...
[SVN r62551]
2010-06-08 05:22:50 +00:00
Douglas Gregor
00031862c7
Merge standards-conformance fixes for Boost.GIL
...
[SVN r61875]
2010-05-09 12:35:46 +00:00
Christian Henning
fde81c000c
Fix for ticket #2831 .
...
[SVN r60194]
2010-03-05 16:15:07 +00:00
Christian Henning
db59f768b3
Updated gil release from boost trunk.
...
[SVN r58301]
2009-12-11 21:40:58 +00:00
Daniel James
f15809f257
Update the gil documentation.
...
Merged revisions 52726-52731 via svnmerge from
https://svn.boost.org/svn/boost/trunk
........
r52726 | danieljames | 2009-05-02 13:38:39 +0100 (Sat, 02 May 2009) | 3 lines
Check in the doxygen files for building standalone gil docs.
They are mostly unchanged. I've just changed some of the paths.
........
r52727 | danieljames | 2009-05-02 13:39:02 +0100 (Sat, 02 May 2009) | 16 lines
Make the gil doxygen docs a litte more boost friendly and a bit to build.
* Add a shell script to make building easier.
* Merge the two different versions of adobe_source.css.
* `shorten_file_name.sh`:
* Add copyright.
* Use GNU sed and expr in shorten_file_name.sh.
* Optimise it slightly by using xargs instead of a loop.
* Only shorten file names in html files.
* `header.html`:
* Add copyright notice to doxygen header.
* Remove google analytics tags.
* Remove adobe RSS feed.
* Remove the link to `globals.html` as it isn't generated.
* Rename to `header_html.txt` to stop inspect complaining about it.
* Remove `insert_boost_licence.sh` as the copyright is already in the header.
........
r52728 | danieljames | 2009-05-02 13:43:21 +0100 (Sat, 02 May 2009) | 1 line
Regenerate gil documentation.
........
r52729 | danieljames | 2009-05-02 13:45:17 +0100 (Sat, 02 May 2009) | 1 line
Redirect to the correct page for the adobe docs.
........
r52730 | danieljames | 2009-05-02 13:45:51 +0100 (Sat, 02 May 2009) | 1 line
Detab a few files.
........
r52731 | danieljames | 2009-05-02 13:58:46 +0100 (Sat, 02 May 2009) | 3 lines
Generate GIL documentation again.
Something went wrong checking it in last time.
........
[SVN r53046]
2009-05-16 14:11:54 +00:00
Daniel James
a587183076
Detab a few files.
...
[SVN r52730]
2009-05-02 12:45:51 +00:00
Hailin Jin
523fd439fb
GIL: Fixed Ticket #1520 : Added several missing header files
...
[SVN r51353]
2009-02-20 19:27:49 +00:00
Hailin Jin
74d43c6b41
GIL: fixed Ticket 784: Wrong initilization of data members in packed_pixel constructors
...
[SVN r51352]
2009-02-20 19:10:33 +00:00
Boris Gubenko
ab7f23636b
merge workaround for EDG-based compilers into release branch
...
[SVN r49886]
2008-11-23 04:06:57 +00:00
Boris Gubenko
7e540f5e1b
extend workaround to icc 10.0
...
[SVN r49827]
2008-11-18 17:41:32 +00:00
Boris Gubenko
3ae846948b
extend workaround for Core Issue 574 to icc 10.1 and later
...
[SVN r49760]
2008-11-14 18:14:24 +00:00
Boris Gubenko
37ad55c0ec
add workaround for HP-UX aC++ compiler
...
[SVN r49706]
2008-11-12 23:25:03 +00:00
John Maddock
ab9f90c49d
Merge fixes from Trunk.
...
Fixes #2392 .
Change includes of <cmath> to <boost/config/no_tr1/config.hpp>.
Previously if Boost.TR1 was in the include path then including <cmath> pulls in all the new TR1 math functions, which in turn also requires linking to an external library. With auto-linking support this requires that library to have been built and be present in the library search path, even if the actual library under use is header only.
[SVN r49314]
2008-10-13 09:00:03 +00:00
John Maddock
2cf0711cd1
Change includes of <cmath> to <boost/config/no_tr1/config.hpp>.
...
Previously if Boost.TR1 was in the include path then including <cmath> pulls in all the new TR1 math functions, which in turn also requires linking to an external library. With auto-linking support this requires that library to have been built and be present in the library search path, even if the actual library under use is header only.
Fixes #2392 .
[SVN r49254]
2008-10-10 16:10:00 +00:00
Beman Dawes
8fed7d4a1e
Merge gil changes from trunk per Lubomir Bourdev
...
[SVN r47246]
2008-07-08 18:56:09 +00:00
Lubomir Bourdev
68b33f6e7b
GIL: Replaced tabs with spaces.
...
[SVN r43742]
2008-03-21 09:43:19 +00:00
Lubomir Bourdev
ddf9f44ed3
GIL: Fixed a bug in planar device_n view construction.
...
[SVN r43741]
2008-03-21 09:40:59 +00:00
Lubomir Bourdev
310ec6f28d
GIL: Changed a private type name to differ from #define used on some Linux systems.
...
[SVN r43735]
2008-03-20 04:27:41 +00:00
Hailin Jin
3a9c8996fa
Fixed two minor compiler errors showing up under in the new GCC 4.3.0
...
[SVN r43565]
2008-03-11 17:28:42 +00:00
Lubomir Bourdev
08db3e7bec
GIL: Changing size_t to std::size_t
...
[SVN r42781]
2008-01-14 23:25:10 +00:00
Lubomir Bourdev
f973cf2e09
Changed size_t to std::size_t
...
[SVN r42780]
2008-01-14 22:06:07 +00:00
Lubomir Bourdev
40f057b910
GIL: Fixed Intel compiler errors.
...
[SVN r42023]
2007-12-14 05:32:21 +00:00
Lubomir Bourdev
77b9620a8b
Updated to version 2.1.2
...
Added support for more compilers.
Added new flag GIL_NONWORD_POINTER_ALIGNMENT_SUPPORTED to indicate whether dereferencing on non-word
boundary is supported. Enabling this flag improves performance.
Fixed two bugs related to non-byte-aligned images. The image alignment parameter is now specified in
bytes, and has a default of 0, which means "packed" alignment. In particular, for non-byte-aligned
images alignment of 0 means there are no padding bits at the ends of rows.
Added the allocator as an optional parameter to image constructors and image recreate methods.
[SVN r41165]
2007-11-17 03:38:25 +00:00
Lubomir Bourdev
31f7008924
GIL: Minor fix to tiff_io
...
[SVN r41009]
2007-11-11 18:25:39 +00:00
Hailin Jin
7e8f54c3f1
GIL: added missing standard C++ header files
...
[SVN r40936]
2007-11-08 17:31:56 +00:00
Hailin Jin
258332a785
GIL: removed an extra semi-colon and made some cosmetic changes
...
[SVN r40850]
2007-11-06 19:15:03 +00:00
Hailin Jin
f9b55241ad
GIL: minor cumulative fixes
...
[SVN r40804]
2007-11-05 19:04:08 +00:00
Hailin Jin
f59c80103f
GIL: fixed endian-ness related bugs for bit_aligned_pixel_reference and pixel_aligned_pixel_iterator
...
[SVN r39511]
2007-09-24 18:25:48 +00:00
Hailin Jin
f3f25f6ef5
GIL: commented out unnecessary pragma warning directives
...
[SVN r39393]
2007-09-19 18:45:30 +00:00
Hailin Jin
68f9f61d94
GIL: fixed incorrect header files for std::bad_cast
...
[SVN r39377]
2007-09-18 21:37:08 +00:00
Hailin Jin
918acc7451
GIL:
...
1. changed int to std::ptrdiff_t in utilities.hpp and iterator_from_2d.hpp for problems under 64-bit platforms
2. removed several extra semi-colons after GIL_CLASS_REQUIRE
[SVN r39376]
2007-09-18 21:19:05 +00:00
Lubomir Bourdev
2ad6747dd0
GIL 2.0 to 2.1 (see http://opensource.adobe.com/gil/gil2.1_changes.pdf ). GIL 2.1 to 2.1.1 (see http://sourceforge.net/forum/forum.php?thread_id=1824588&forum_id=648138 )
...
[SVN r39339]
2007-09-17 08:12:19 +00:00
Hailin Jin
1e92d4580e
GIL: a further fix on the PNG IO 16-bit bug
...
[SVN r38868]
2007-08-23 19:26:55 +00:00
Hailin Jin
fd70ef69e7
GIL: fixed a endian-ness related bug in PNG IO routines
...
[SVN r38705]
2007-08-15 22:21:06 +00:00
Hailin Jin
a2ddafd181
GIL: added runtime endian-ness detection routines: little_endian() and big_endian()
...
[SVN r38704]
2007-08-15 22:19:48 +00:00
Lubomir Bourdev
560f17c1d1
Hooked up GIL regression tests to run from boost/status
...
Added kth_channel_view (like nth_channel_view but operates on heterogeneous views)
[SVN r37659]
2007-05-10 22:39:02 +00:00
Lubomir Bourdev
7af0b3c796
Fixed headers to refer to the Boost license. Fixed min/max issues and removed tabs.
...
[SVN r37609]
2007-05-07 07:32:02 +00:00
Lubomir Bourdev
6325625037
Initial submission of GIL 2.0
...
[SVN r37494]
2007-04-23 23:15:01 +00:00
Lubomir Bourdev
56808e228b
Adding the first GIL file (testing CVS and SSH)
...
[SVN r37493]
2007-04-23 23:09:57 +00:00