Dane Springmeyer
|
0d58a8aee4
|
merge with 2.3.x
|
2013-10-28 14:45:52 -07:00 |
|
Dane Springmeyer
|
86dfa0778a
|
fix cairo reference counting and add more cairo context tests - closes #2031
|
2013-10-28 12:46:44 -07:00 |
|
Dane Springmeyer
|
5a2954dab7
|
attempt to fix boost python with c++11 and boost 1.49 - refs #2022
|
2013-10-23 15:42:01 -07:00 |
|
artemp
|
7adee4ab36
|
c++11 : remove boost::make_shared includes
|
2013-10-17 15:09:56 +01:00 |
|
artemp
|
b315eb2167
|
+ use std::shared_ptr and std::make_shared
|
2013-09-20 14:01:27 +01:00 |
|
artemp
|
4f4e2b001e
|
Merge branch 'master' into c++11
Conflicts:
SConstruct
benchmark/run.cpp
bindings/python/mapnik_datasource.cpp
bindings/python/mapnik_feature.cpp
bindings/python/python_optional.hpp
include/mapnik/css_color_grammar.hpp
include/mapnik/expression_grammar.hpp
include/mapnik/feature.hpp
include/mapnik/feature_style_processor_impl.hpp
include/mapnik/image_filter_types.hpp
include/mapnik/image_util.hpp
include/mapnik/json/geometry_generator_grammar.hpp
include/mapnik/json/geometry_grammar.hpp
include/mapnik/processed_text.hpp
include/mapnik/tiff_io.hpp
include/mapnik/util/geometry_svg_generator.hpp
include/mapnik/util/geometry_wkt_generator.hpp
include/mapnik/utils.hpp
include/mapnik/webp_io.hpp
include/mapnik/wkt/wkt_grammar.hpp
plugins/input/shape/shape_datasource.cpp
plugins/input/shape/shapefile.hpp
src/expression_grammar.cpp
src/expression_string.cpp
src/image_util.cpp
src/json/feature_collection_parser.cpp
src/json/feature_parser.cpp
src/miniz.c
src/symbolizer_helpers.cpp
src/tiff_reader.cpp
src/webp_reader.cpp
tests/cpp_tests/geometry_converters_test.cpp
tests/cpp_tests/image_io_test.cpp
tests/cpp_tests/map_request_test.cpp
tests/python_tests/image_test.py
tests/visual_tests/test.py
|
2013-08-30 09:46:09 +01:00 |
|
Dane Springmeyer
|
c011524b67
|
add mapnik.Image.premultiplied() to query status of pixel premultiplication
|
2013-07-02 16:01:23 -04:00 |
|
artemp
|
3f6abd3362
|
+ backport image_reader from buffer/string from image-readers-c++11 branch
|
2013-04-22 11:35:09 +01:00 |
|
artemp
|
c73e48fa58
|
+ use std::unique_ptr instead of std::auto_ptr (deprecated!)
|
2013-04-19 09:50:50 +01:00 |
|
artemp
|
438bfad732
|
+ factory : variadic templates based implementation ( requires c++11)
+ image_reader : stream based reading interface (boost::iostreams)
+ register additional png and jpeg readers with following sigs :
```
std::auto_ptr<mapnik::image_reader> reader(mapnik::get_image_reader(buffer,size));
// buffer - char const*
// size - size_t
```
+ initial type_from_bytes implementation (TODO: add more types)
+ python : mapnik.Image.fromstring(str) mapnik.Image.frombuffer(buf)
|
2013-04-12 12:46:40 +01:00 |
|
Dane Springmeyer
|
662ff26f94
|
im/view.is_solid method in python bindings to match node-mapnik - closes #1728
|
2013-02-22 13:40:05 -08:00 |
|
Dane Springmeyer
|
b1c1c86346
|
make PNG and TIFF support optional - closes #1704
|
2013-01-29 02:17:37 -05:00 |
|
artemp
|
f25d4d9279
|
+ implement cairo_context wrapper and remove unnecessary dependencies
( cairomm, libsigc++)
|
2013-01-09 17:00:30 +00:00 |
|
Dane Springmeyer
|
eebc8cc73e
|
add image/grid clear methods to make it easier to quickly re-use previously allocated objects for rendering - closes #1571
|
2012-11-11 21:35:50 -08:00 |
|
Dane Springmeyer
|
9b053f493b
|
make src_over the default compositing operation (and an optional kwarg) for im.composite()
|
2012-10-04 14:19:36 -07:00 |
|
Dane Springmeyer
|
7866cc3dec
|
expose more compositing options in python (the non-agg custom ones) to set up for testing as per #1493 and #1369
|
2012-10-01 17:41:07 -07:00 |
|
Dane Springmeyer
|
269569250c
|
use mapnik.Image for visual tests - closes #1296
|
2012-07-06 17:44:15 -07:00 |
|
Dane Springmeyer
|
eb4740b50f
|
fix behavior of compositing via python api now that we have premultiplication issues sorted out in core - refs #1262 and #314 and #1211
|
2012-06-21 15:44:57 -04:00 |
|
Artem Pavlenko
|
c5864453a0
|
+ only premultiply src
|
2012-06-18 18:50:32 -04:00 |
|
Dane Springmeyer
|
6fd92dcc3e
|
do not premultiply the image mask being composited to the target buffer - fixes #1211
|
2012-05-24 13:41:00 -07:00 |
|
Dane Springmeyer
|
8ae867f6de
|
default values for composite args to maintain api compatibility
|
2012-05-11 15:19:05 -07:00 |
|
Artem Pavlenko
|
8085110e8f
|
+ add opacity parameter
|
2012-05-10 18:14:53 +01:00 |
|
Artem Pavlenko
|
a72ee4ba66
|
Merge branch 'master' into compositing
Conflicts:
include/mapnik/image_compositing.hpp
include/mapnik/util/conversions.hpp
include/mapnik/value.hpp
src/agg/agg_renderer.cpp
src/agg/process_line_symbolizer.cpp
src/agg/process_polygon_symbolizer.cpp
src/png_reader.cpp
src/svg_parser.cpp
utils/svg2png/svg2png.cpp
|
2012-05-01 12:35:49 +01:00 |
|
Artem Pavlenko
|
03d42e59a5
|
+ allow specifying premultiply flag for src and dst images
+ fix logic in agg_renderer (TODO)
|
2012-04-20 14:53:11 +01:00 |
|
kunitoki
|
1f351e0e09
|
implement new debug system
|
2012-04-08 02:20:56 +02:00 |
|
Artem Pavlenko
|
0618f9ca42
|
+ remove unused header
|
2012-04-05 15:56:59 +01:00 |
|
Dane Springmeyer
|
b36739fd88
|
apply mapnik_format.el formatting
|
2012-03-13 07:59:22 -07:00 |
|
Artem Pavlenko
|
8767ca8275
|
+ add set_pixel method
|
2012-02-23 14:32:20 +00:00 |
|
Dane Springmeyer
|
39d199aa49
|
code formatting
|
2011-11-13 19:54:32 -08:00 |
|
Artem Pavlenko
|
7387afd96f
|
+ remove the unnecessary empty palette from tostring2
(jonburgess777)
|
2011-10-03 08:47:25 +00:00 |
|
Dane Springmeyer
|
256937bd4e
|
expose the painted boolean on images and grids to allow api users to know if any features were processed and likely rendered
|
2011-09-14 19:31:57 +00:00 |
|
Artem Pavlenko
|
d5e57afac0
|
+ move compositing into core lib
|
2011-09-13 15:31:07 +00:00 |
|
Artem Pavlenko
|
a59c961c1f
|
+ add missing save_to_file overloads
+ remove dummy rgba_palette args
|
2011-09-09 12:40:30 +00:00 |
|
Artem Pavlenko
|
02c143895d
|
+ refactor palette stuff a bit
TODO: We need to change save_to_file|string interface
to avoid passing dummy rgba_palette objects.
|
2011-09-07 15:01:25 +00:00 |
|
Artem Pavlenko
|
8b3bb3ccd0
|
+ remove shared_ptr and avoid de-referencing un-initialised shared_ptr
|
2011-09-07 15:01:16 +00:00 |
|
Dane Springmeyer
|
90acfb3e1c
|
+reflect mapnik.Palette in python
|
2011-08-31 02:28:38 +00:00 |
|
Artem Pavlenko
|
8bfd5956bc
|
+ add remaining compositing modes
(http://www.w3.org/TR/2009/WD-SVGCompositing-20090430/)
FIXME: move compositing into core lib
|
2011-07-13 13:23:18 +00:00 |
|
Dane Springmeyer
|
18dd9ff40e
|
python3 support - patch thanks to Haoyu Bai - closes #334
|
2010-09-26 12:15:16 +00:00 |
|
Dane Springmeyer
|
b3810a5f6a
|
stub in new alpha manipulation functions for mapnik image - #609
|
2010-09-24 15:37:19 +00:00 |
|
Artem Pavlenko
|
7ddb329179
|
support more compositing modes
|
2010-09-02 20:20:34 +00:00 |
|
Artem Pavlenko
|
efa6010517
|
+ impl composite method (TODO:add missing modes)
|
2010-07-03 20:08:49 +00:00 |
|
Dane Springmeyer
|
9804e7e90d
|
scons: make libjpeg dependency optional (still required by default)
|
2010-06-03 19:50:27 +00:00 |
|
Artem Pavlenko
|
246731874b
|
+ apply 'mapnik-format' to *.cpp *.hpp
|
2010-06-02 11:03:30 +00:00 |
|
Artem Pavlenko
|
47dc1e197b
|
+ merge mapnik2 to trunk
|
2009-12-16 20:02:06 +00:00 |
|
Dane Springmeyer
|
f5127d6ee4
|
Remove reference to CAIRO_HAS_IMAGE_SURFACE macro since this is not supported until cairo 1.8 release
|
2009-01-28 21:11:10 +00:00 |
|
Artem Pavlenko
|
8b298729bf
|
+ mapnik-centralise-image-tostring-functions.patch (jonb)
(moves Image.tostring() to core c++ code)
|
2009-01-19 22:51:55 +00:00 |
|
Artem Pavlenko
|
391ae4c4be
|
+ mapnik-image-from-cairo-in-python.patch from jonb
adds a method to the python bindings to create an Image from a
Cairo.ImageSurface().
|
2009-01-17 20:34:58 +00:00 |
|
Artem Pavlenko
|
1625c760db
|
implemented Image open method :
im = Image.open("map.png")
|
2008-02-19 11:28:20 +00:00 |
|
Artem Pavlenko
|
2b832f5bc8
|
setjmp png patch from JonB
|
2008-02-07 10:14:14 +00:00 |
|
Artem Pavlenko
|
651cdbe968
|
added support for saving images into Python String object
(NOTE: some methods have different signitures now- API changed)
|
2008-01-25 14:40:48 +00:00 |
|