Daniel Patterson
|
41f032760d
|
Move libimagequant implementation into cpp so that <libimagequant.h> header does not need to be distributed.
|
2015-05-26 11:57:33 -07:00 |
|
Daniel Patterson
|
e685099a1b
|
Use more consistent naming for enum.
|
2015-05-20 16:38:33 -07:00 |
|
Daniel Patterson
|
c1bb96d07e
|
Remove autoimported headers.
|
2015-05-20 16:36:45 -07:00 |
|
Daniel Patterson
|
d0c1bed5a5
|
Merge remote-tracking branch 'upstream/master' into libimagequant
|
2015-05-20 11:21:28 -07:00 |
|
Blake Thompson
|
2031215247
|
Renamed set_opacity to apply_opacity, reverted it to the old logic of set_alpha. Updated tests, clamping is now used.
|
2015-05-20 13:08:18 -05:00 |
|
Blake Thompson
|
b68d079255
|
Changed the name of the set_alpha and multiply_alpha to be set_opacity and multiply_opacity
|
2015-05-20 12:39:01 -05:00 |
|
Dane Springmeyer
|
5d7c43457e
|
Merge pull request #2825 from mapycz/improve-interior
improve interior placement
|
2015-05-20 10:37:39 -07:00 |
|
artemp
|
a8a90b7656
|
use std::lock_guard instead of unique_lock (better fit for the job)
|
2015-05-20 16:12:22 +01:00 |
|
artemp
|
433741877d
|
fix - use std::size_t to avoid narrowing
|
2015-05-20 11:31:41 +01:00 |
|
artemp
|
6c14ff9b7a
|
fix char type
|
2015-05-20 11:31:24 +01:00 |
|
artemp
|
3ce65e8b65
|
rename view_to_string to view_to_stream and tempalate on stream type
|
2015-05-19 11:58:20 +01:00 |
|
artemp
|
05b5d16e87
|
more std::size_t fixes (consistent usage)
|
2015-05-19 11:43:39 +01:00 |
|
Jiri Drbalek
|
efd554a04e
|
interior placement: always compute center of the longest segment
|
2015-05-19 08:37:57 +00:00 |
|
Jiri Drbalek
|
5ab59c860d
|
fix deprecation warning
|
2015-05-18 08:01:27 +00:00 |
|
Daniel Patterson
|
10553e0793
|
Enable support for output palette gamma correction using libimagequant.
|
2015-05-16 13:33:08 -07:00 |
|
Daniel Patterson
|
a113f11bae
|
'byte' is no longer being used (as of mapnik/mapnik/#d1616737f20334468e4e149f6abc8a92b8b86542)
|
2015-05-16 12:53:18 -07:00 |
|
Daniel Patterson
|
b89e721d1b
|
Merge remote-tracking branch 'upstream/master' into libimagequant
Conflicts:
src/image_util_png.cpp
|
2015-05-16 12:42:12 -07:00 |
|
Daniel Patterson
|
17e47799bd
|
Fix copypasta, image is already a image_gray8
|
2015-05-16 11:36:20 -07:00 |
|
Daniel Patterson
|
6bcae9db9c
|
Support more compact encodings for images that don't have all that many colors. (blank, solid, etc)
|
2015-05-16 10:10:32 -07:00 |
|
Daniel Patterson
|
dd4b84bd08
|
Integrate libimagequant directly into the scons build. Enable SSE when available and not cross compiling, or explicitly enabled.
|
2015-05-16 01:18:53 -07:00 |
|
Blake Thompson
|
219ad1f2cc
|
Updated min zoom and max zoom to use maximum scale denom and minimum scale denominator #1447
|
2015-05-15 14:34:12 -05:00 |
|
Dane Springmeyer
|
fd23aacd7b
|
shuffle includes based on iwyu findings
|
2015-05-14 23:38:36 -07:00 |
|
Dane Springmeyer
|
3ae6e49a2e
|
Merge pull request #2812 from mapnik/feature/add_tests
Adding tests and cleanup
|
2015-05-14 23:05:48 -07:00 |
|
Daniel Patterson
|
c30bb11c8b
|
Add 'iqd' parameter to enable configuring of Floyd-Steinberg dithering in libimagequant. Also, rename iq= to iqs=
|
2015-05-14 21:36:34 -07:00 |
|
Dane Springmeyer
|
53be585240
|
iwyu in view_strategy.hpp
|
2015-05-14 17:59:40 -07:00 |
|
Daniel Patterson
|
01380588ba
|
Experimenting with libimagequant for mapnik/mapnik#2706
Still TODO:
1 & 4 bit encodings
proper Mason integration
some error checking
adjustable dithering settings??
|
2015-05-14 12:26:15 -07:00 |
|
artemp
|
75a77882e8
|
image_options - add key0=value0:key1:key2=value2 parser
remove tokenizer usage from image_util_png
|
2015-05-14 15:37:21 +01:00 |
|
Artem Pavlenko
|
2a8086fbcc
|
Merge pull request #2788 from mapycz/fix-labeling-on-polygons
fix labeling on polygons
|
2015-05-14 14:10:02 +01:00 |
|
artemp
|
881dba4fc9
|
fix camel case
|
2015-05-14 12:53:21 +01:00 |
|
Jiri Drbalek
|
a8e3174817
|
text on polygon: fix missing closing segment
|
2015-05-14 11:26:01 +00:00 |
|
Blake Thompson
|
d1616737f2
|
Removed the mapnik type of 'byte' because it seemed sparsely used and simply providing data type should be easier as it is never going to change. Also added some tests around mapnik palette
|
2015-05-13 19:32:54 -05:00 |
|
Blake Thompson
|
f3abe7fc25
|
Added test coverage to image buffer
|
2015-05-13 16:50:31 -05:00 |
|
Blake Thompson
|
c3dfda4977
|
Merge pull request #2808 from mapnik/bugfix/strategy_rounding
Bugfix/strategy rounding
|
2015-05-13 13:45:26 -05:00 |
|
Blake Thompson
|
f9acd07aaf
|
Merge pull request #2807 from mapnik/drop-big-endian
Drop obsolete and unsupported big endian support
|
2015-05-13 13:43:09 -05:00 |
|
artemp
|
3e16c4b8f2
|
remove unused vars
|
2015-05-13 15:15:52 +01:00 |
|
artemp
|
ba117c6384
|
update SVG path generator to avoid using boost::phoenix::if_() which doesn't work with boost 1.58
|
2015-05-13 11:33:09 +01:00 |
|
artemp
|
270679bc20
|
style
|
2015-05-13 11:32:34 +01:00 |
|
Blake Thompson
|
39428585f0
|
Added the rounding_cast utility, and added a scale_rounding_strategy to support this new casting type. Added tests for it
|
2015-05-12 14:36:29 -05:00 |
|
Blake Thompson
|
1dddfd17ef
|
Removed try catch around set_alpha, and just checked bounds. Added unit tests for image_view
|
2015-05-12 12:24:14 -05:00 |
|
Dane Springmeyer
|
613766b104
|
drop obsolete and unsupported big endian support - refs #2806
|
2015-05-12 10:19:37 -07:00 |
|
artemp
|
a9ae6c111c
|
Merge branch 'master' into fix-topojson
|
2015-05-12 09:42:29 +02:00 |
|
Dane Springmeyer
|
706be7397f
|
Merge branch 'master' of github.com:mapnik/mapnik
|
2015-05-11 17:49:42 -07:00 |
|
Dane Springmeyer
|
d57f1cbb71
|
display deprecated value in enumeration warning [skip ci]
|
2015-05-11 17:49:35 -07:00 |
|
Dane Springmeyer
|
834ae832be
|
tuple adapter is needed in the end
|
2015-05-11 16:52:08 -07:00 |
|
Dane Springmeyer
|
14c73304de
|
iwyu
|
2015-05-11 16:52:08 -07:00 |
|
Blake Thompson
|
e44cdef805
|
Fix get_pixel with image_view
|
2015-05-11 18:19:24 -05:00 |
|
Blake Thompson
|
f54164da75
|
Changed the way that set alpha worked, renaming old method to multiply_alpha, added new set_alpha, that simply sets the alpha. Added protection for overflows and underflows. Added unit tests to cover all code
|
2015-05-11 13:12:13 -05:00 |
|
Dane Springmeyer
|
23872dcd26
|
ensure topojson parser is robust to invalid arc index
|
2015-05-09 07:04:03 -07:00 |
|
Dane Springmeyer
|
61c2cd5ed5
|
tuple adapter is needed in the end
|
2015-05-09 06:59:14 -07:00 |
|
Dane Springmeyer
|
7ceba047c0
|
iwyu
|
2015-05-09 06:54:38 -07:00 |
|