Mateusz Łoskot
50e0b5bd8f
Merge pull request #780 from Processor228/fix-reading-png-images
...
Fix cases when png reader ended up in an infinite loop. #774
Closes # #774
2025-12-05 19:45:19 +00:00
Processor228
628165368f
Provide testcase that shows the fix in action
2025-12-05 18:59:42 +03:00
Samuel Debionne
3d8dcb68bf
Omit pmr image tests on apple clang 15
2025-11-25 21:40:19 +01:00
Mateusz Łoskot
f018ebf79b
chore: Remove executable bit from .cpp files [ci skip]
...
Ref https://github.com/boostorg/admin/issues/47#issuecomment-2575165830
Signed-off-by: Mateusz Łoskot <mateusz@loskot.net >
2025-01-07 15:39:58 +01:00
René Ferdinand Rivera Morell
8fd5cc5b32
Add support for modular build structure. ( #752 )
...
* Make the library modular usable.
* Add missing modular build.jam. And fix gitignore that caused it to be originally deleted!
* Switch to library requirements instead of source. As source puts extra source in install targets.
* Add missing import-search for cconfig/predef checks.
* Add requires-b2 check to top-level build file.
* Bump B2 require to 5.2
* Update copyright dates.
* Move inter-lib dependencies to a project variable and into the build targets.
* Update build deps.
2024-08-20 15:03:19 +02:00
Dirk Stolle
f56c4c65a8
tests: add test cases for wide character path conversions ( #754 )
2024-07-23 15:58:12 +02:00
Dirk Stolle
32eabbc553
chore: fix more typos ( #753 )
2024-07-23 09:40:16 +02:00
Dirk Stolle
74ffdcb047
chore: fix some typos ( #751 )
2024-07-08 10:40:31 +02:00
Andrey Semashev
322c4e2e19
Updated Boost.Filesystem usage. ( #741 )
...
Removed usage of Boost.Filesystem APIs that were deprecated and
then removed.
2024-01-27 11:09:10 +01:00
nicolacandussi
8f4cdcbcce
fix: Fixed custom color converter in dynamic_factory and added corresponding ( #726 )
2023-02-21 14:38:03 +01:00
Christoph Gringmuth
d6e67f38c5
fix: Normalize Gaussian 2D kernel. ( #725 )
2023-02-07 14:11:51 +01:00
Christoph Gringmuth
712b827edb
fix: Convolution in convolve_2d ( #723 )
...
Fixes #722
2023-02-07 14:10:38 +01:00
Marco Langer
e5e636c154
fix: Broken build of test project for gcc-5 ( #712 )
...
Fixes #709
Fixes #710
It may also fix #711 , we're yet to see after next run of Boost regression builds.
2022-07-23 20:21:28 +02:00
Marco Langer
573ba132cd
fix: broken build for midpoint_ellipse_rasterizer::draw_curve ( #705 )
...
* fix: ellipse_rasterizer draw_curve()
* moved ostream operator overload of point into test fixture file
2022-07-04 21:09:21 +02:00
Mateusz Łoskot
2409be4bd6
test: Add more basic cases for image class ( #423 )
...
This hopefully will begin extensive test suite for the image class to
maintain decent coverage for this major class of GIL.
2022-06-29 23:00:03 +02:00
Mateusz Łoskot
86ee473f51
test: Add virtual_2d_locator fixture; is_2d_traversable test case
2022-06-29 22:58:00 +02:00
Mateusz Łoskot
7b7c786c1b
test: Check more properties of indexed_image_view from extension/toolbox
2022-06-29 21:56:51 +02:00
Mateusz Łoskot
08e3e6dadb
test: Add basic is_1d_traversable cases for image_view
2022-06-29 01:00:14 +02:00
Samuel Debionne
4dbf35a510
Add pmr image typedefs ( #529 )
...
* Add pmr image typedefs
* Swap allocators only if it propagate on container
* Do not call propagate_on_container_swap for C++14
Co-authored-by: Mateusz Łoskot <mateusz@loskot.net >
2022-06-28 07:35:27 +01:00
Mateusz Łoskot
ef9b89a93a
test: Add test cases for image with empty dimensions ( #702 )
...
Test fix #649
2022-06-28 06:59:33 +01:00
Mateusz Łoskot
a0ac9fb4aa
test: Case test_constructor_from_view was not called
2022-06-28 00:34:44 +02:00
Mateusz Łoskot
2faf52f236
Merge pull request #699 from mloskot/ml/cmake-bump-cxxstd-11-to-14
...
build: Update CMAKE_CXX_STANDARD from 11 to 14
2022-06-27 21:47:24 +01:00
Mateusz Łoskot
27826a7d55
ci: Remove C++11 build jobs after C++14 switch ( #698 )
...
* build: test/Jamfile now check for cxx14_constepxr
Closes #696
2022-06-27 22:45:24 +02:00
Mateusz Łoskot
1049c07192
build: Fix CMake source file extensions must be explicit
2022-06-27 18:28:10 +02:00
Marco Langer
d5492e1ace
feat: Added apply_rasterizer() free function ( #695 )
...
This PR implements the gil::apply_rasterizer()
free function mentioned in #680 .
2022-06-27 09:54:58 +02:00
Marco Langer
adddbec896
refactor: Ellipse rasterizer according to the comment at ( #692 )
...
https://github.com/boostorg/gil/pull/585#issuecomment-1144412220
2022-06-26 13:33:53 +02:00
Marco Langer
bfed3de004
refactor: Deprecate apply_operation in favor of variant2::visit for any_image ( #656 )
...
build: Add /bigobj to MSVC flags
Avoid test\extension\dynamic_image\algorithm\copy_and_convert_pixels.cpp
compilation error:
fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj
Co-authored-by: Mateusz Łoskot <mateusz@loskot.net >
2022-06-26 13:21:18 +02:00
Mateusz Łoskot
526c898336
test: Add tiled TIFF test case to simple_all_formats
...
This is to hit more lines and make codecov happier,
than during recent build of PR #685
2022-06-25 22:02:21 +02:00
Mateusz Łoskot
0f435906ea
test: Add tests for RGB to HSL ( #691 )
...
Contributor of PR #505 posted GTest-based tests in.
This commit ports those tests to Boost.LightweightTest.
Closes #690
2022-06-25 18:51:01 +02:00
Mateusz Łoskot
57c616d273
refactor: Move RGB to HSL tests to color_convert_rgb.cpp
2022-06-25 15:23:25 +02:00
Mateusz Łoskot
d50d85613a
refactor: Make with_tolerance reusable across other tests
...
Refinement of PR #527
2022-06-25 13:52:54 +02:00
Mateusz Łoskot
46731e6d44
chore: Correct include guard
2022-06-25 13:50:43 +02:00
Olzhas Zhumabek
45da544873
Removed redundant lines
2022-05-31 02:39:13 +06:00
Olzhas Zhumabek
3965f2ab99
Remove migrated files
2022-05-31 02:37:56 +06:00
Olzhas Zhumabek
76dcca89f4
Add compile statements to Jamfile
2022-05-31 02:37:56 +06:00
Olzhas Zhumabek
b962a6a2db
Edit Jamfile to new layout
2022-05-31 02:37:56 +06:00
Olzhas Zhumabek
48d7ebffe0
Move diffusion and Hough transform
...
Move anisotropic diffusion and
Hough transform into extension.
Adjust tests and cmakelists
2022-05-31 02:37:56 +06:00
Olzhas Zhumabek
bab2a370ff
Fix Hough transform and move rasterization
...
Hough line transform had incorrect
rounding which lead to misleading message
2022-05-31 02:37:56 +06:00
Dirk Stolle
1be8c87c10
chore: do not use deprecated header in test or elsewhere ( #675 )
2022-05-18 23:25:36 +02:00
Marco Langer
c063d1c185
feat: Added for_each_pixel overload for any_image ( #648 )
...
Take functor by value instead of reference.
Test cases to use the same fixture as the other any_image tests.
Fixes #579
2022-04-30 23:57:00 +02:00
Marco Langer
3289fe0bc4
refactor: Unified operation names for pixel and channel operations ( #655 )
...
Renamed
- gil::pixel_multiply_t to gil::pixel_multiplies_t
- gil::pixel_divide_t to gil::pixel_divides_t
Closes #368
2022-04-30 23:53:41 +02:00
Dirk Stolle
4f83beb735
style: Remove trailing space characters ( #651 )
2022-04-26 20:52:56 +02:00
Mateusz Łoskot
cf1e6b11ba
build: Define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING for MSVC
2022-04-09 11:49:50 +02:00
Samuel Debionne
da0655fb66
Merge pull request #621 from sdebionne/fix-620
...
Fix for_each_pixel for non 1d iterable views
2022-03-01 14:35:20 +01:00
Mateusz Łoskot
f4c70a8606
Add support for <filesystem> to IO ( #636 )
...
If neither <filesystem> nor <experimental/filesystem> is detected,
then require <boost/filesystem.hpp>.
If user defines BOOST_GIL_IO_USE_BOOST_FILESYSTEM macro,
then <boost/filesystem.hpp> is pre-selected and required,
and search for any of the C++ standard implementation is skipped.
Remove end-user macro BOOST_GIL_IO_ADD_FS_PATH_SUPPORT
Require tests to always build with support of either
detected C++ filesystem or pre-selected Boost.Filesystem.
Closes ##222
2022-02-22 19:18:55 +01:00
Pranam Lashkari
9bd8642f69
numeric extension move into core part 5
...
moved numeric/kernel.hpp into core
2022-02-18 14:25:59 +05:30
Pranam Lashkari
87a3157c4b
numeric extension move into core part 4
...
moved numeric/pixel_numeric_operations.hpp into core
2022-02-18 14:25:59 +05:30
Pranam Lashkari
483915cb20
numeric extension move into core part 3
...
moved numeric/convolve.hpp into core
2022-02-18 14:25:59 +05:30
Pranam Lashkari
baf246a726
numeric extension move into core part 2
...
moved numeric/channel_numeric_operations.hpp into core
2022-02-18 14:25:59 +05:30
Pranam Lashkari
2562e11241
numeric extension move into core 1
...
moved numeric/algorithm.hpp into core
2022-02-18 14:25:59 +05:30