Commit graph

5851 commits

Author SHA1 Message Date
Dane Springmeyer
4bc6b0c800 avoid copy of image data by using new, more efficient mapnik::raster constructor - closes #1516 2012-10-03 15:53:41 -07:00
Dane Springmeyer
f4ead94c37 make raster non-copyable 2012-10-03 15:40:43 -07:00
Dane Springmeyer
24adb81390 c++ style 2012-10-03 14:58:12 -07:00
Dane Springmeyer
5da14ef9e9 handle demultiplying the png before saving - solves gray halo reported in #1312 (when testing with svg2png utility) 2012-10-03 14:00:48 -07:00
Dane Springmeyer
3de5c4fab7 remove test target for travis for now 2012-10-03 13:49:56 -07:00
Dane Springmeyer
7d5642640d use the proper premultiplied pixel type for render_marker 2012-10-03 13:49:06 -07:00
Dane Springmeyer
a27b95558b remove uneeded includes 2012-10-03 13:48:05 -07:00
Dane Springmeyer
cd064305fc update changelog after #1444 and 05195ca68d 2012-10-03 13:15:54 -07:00
Dane Springmeyer
05195ca68d Merge pull request #1444 from sigmapi/issue1107
Fix for issue #1107
2012-10-03 13:06:45 -07:00
Dane Springmeyer
e11650fd84 c++ style 2012-10-03 13:06:30 -07:00
Dane Springmeyer
da8455dbb7 travis: do not fail on test return code 2012-10-03 13:01:53 -07:00
Dane Springmeyer
be30df62d0 Merge branch 'master' of github.com:mapnik/mapnik 2012-10-03 12:19:56 -07:00
Dane Springmeyer
e6f04fd402 new features_at_point tolerance should be optional - make it so in python to avoid test failures after #1499/#503 2012-10-03 12:17:13 -07:00
Dane Springmeyer
4ccec7fc16 Merge pull request #1458 from noirbizarre/travis-ci
Add Travis CI compilation
2012-10-03 12:03:50 -07:00
Dane Springmeyer
8f997d5517 update changelog after 86e805b33e - refs #503 and #1499 2012-10-03 11:54:30 -07:00
Dane Springmeyer
86e805b33e Merge pull request #1499 from manelclos/master
Query tolerance for features_at_point
2012-10-03 11:50:29 -07:00
Dane Springmeyer
8674e463a6 premultiply before image scaling - closes #1508 (at least for gdal.input) and refs #1498 2012-10-02 21:50:42 -07:00
Dane Springmeyer
1b5a1f0ffc agg scaling assumes/requires a premulitiplied renderer (and optionally a source defined as premultiplied) - to avoid any confusion use purely premultiplied types - refs #1508 and #1489 2012-10-02 21:49:52 -07:00
Dane Springmeyer
2e737e07b2 alternative mapnik::raster constructor that allows less copying - refs #1508 2012-10-02 21:46:31 -07:00
Dane Springmeyer
bfdd9dcb00 also start testing/comparing cairo png output in visual tests 2012-10-02 21:18:45 -07:00
Dane Springmeyer
1dfbd1e4bf better output from pure white raster test checking since this is about to start failing due to premultiplied rounding - refs #1508 2012-10-02 14:46:27 -07:00
Dane Springmeyer
0b9ebe21dd use boost make_shared 2012-10-02 14:12:15 -07:00
Dane Springmeyer
f635a2bd1e fix expected images for gdal/raster opaque edge test 2012-10-02 14:11:28 -07:00
Dane Springmeyer
f10939fac6 apply patch from lightmare fixing rgb->hsv conversion - refs #1493 2012-10-01 18:54:47 -07:00
Dane Springmeyer
d35b4eb6d4 report all failures in compositing tests 2012-10-01 18:51:53 -07:00
Dane Springmeyer
1468133bc0 ensure we rebuild libmapnik if agg sources change 2012-10-01 18:22:12 -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
798b101f0c finish #1512 and adjust tests to use new parameter 2012-10-01 17:09:28 -07:00
Dane Springmeyer
abf8102021 update raster symbolizer test after 0972662 and #1512 2012-10-01 16:15:28 -07:00
Dane Springmeyer
09726626cf add 'premultiplied' property on raster symbolizer to allow user to control (in rare cases) the premultiplied status of images in cases where tiffs mis-report it - closes #1512 2012-10-01 16:14:41 -07:00
Dane Springmeyer
acaee09598 fix debug output symbolizer name 2012-10-01 15:35:35 -07:00
Dane Springmeyer
67d8ee3d40 point tests at better source files for #1508 2012-10-01 15:05:07 -07:00
Dane Springmeyer
e2a76e09b3 use what you include 2012-10-01 15:03:17 -07:00
Dane Springmeyer
ef28a1db80 cleanup includes in rule/feature_style_processor and move code to rule.cpp and raster_symbolizer.cpp 2012-10-01 15:01:12 -07:00
Dane Springmeyer
3845d56c06 add code comments from mcseem relevant to agg usage questions around scaling and compositing 2012-10-01 14:13:54 -07:00
Dane Springmeyer
00517a507f add more river images to test up for better testcases 2012-10-01 12:14:09 -07:00
artemp
d1eefb63b1 Merge remote-tracking branch 'origin/master' 2012-10-01 16:59:01 +01:00
artemp
d24175e80e + style : assigment init for built-in types 2012-10-01 16:57:31 +01:00
Artem Pavlenko
f298af6095 Merge pull request #1514 from mapnik/conv_simplify
Conv simplify
2012-10-01 07:48:50 -07:00
artemp
037c1a84c6 + use format_ 2012-10-01 15:46:03 +01:00
artemp
f03e08bbba + make rewind() const 2012-10-01 15:45:30 +01:00
artemp
30f14e0878 Merge branch 'master' into conv_simplify 2012-10-01 10:21:56 +01:00
artemp
b9fed932b9 + template vertex_iterator on path_type
+ rename vertex_iterator to path_iterator
2012-10-01 10:20:10 +01:00
artemp
fbafbd9e88 Merge branch 'master' into conv_simplify 2012-10-01 09:32:33 +01:00
Dane Springmeyer
2714bdcef3 more test fixes to set up to enforce desired behavior around tiff and premultiplied alpha in source files - refs #1508 and #1511 2012-09-28 15:07:33 -07:00
artemp
780ea26af3 Merge remote-tracking branch 'origin' into conv_simplify 2012-09-28 19:49:01 +01:00
Dane Springmeyer
76dec5076e fix up expected results for testcases being developed for #1508 2012-09-28 11:19:20 -07:00
artemp
3ffe8ec21c + add premultiplied_alpha flag to mapnik::raster 2012-09-28 16:43:05 +01:00
artemp
77e585895f + add premultiplied_alpha method to image_reader
* tiff - TIFFTAG_EXTRASAMPLES
  * png  - non-premultiplied alpha (http://www.libpng.org/pub/png/spec/1.1/PNG-Rationale.html)
  * jpeg - no-alpha channel, ensure pre-multiplied model
2012-09-28 16:37:21 +01:00
Manel Clos
49356608ce Merge branch 'master' of https://github.com/manelclos/mapnik 2012-09-28 15:14:06 +02:00