Blake Thompson
5d9f047002
Fixed some issues in color and bindings where you could create a color and premultiplied was not set and it was resulting in it being assigned randomly, causing some issues at runtime.
...
Updated some images in visual tests that were orginally set prior to all tiffs being premultiplied, this was causing a slight difference in a few pixels.
Updated the tiff tests a lot.
Fixed tiff reader so that it always considers everything read from RGB or RGBA as premultiplied. This is due to the fact that RGBA reader always premultiplies the alpha no matter its original form.
Put in a fix so that the file does not exist no longer shows up in the test running.
Fixed some failing tests in the c++ test due to tiffs now always being premultiplied for RGB(A)
2015-01-24 20:48:15 -06:00
Blake Thompson
a100b2fe1f
Fixed the issues associated with TIFFs, now they always will return as premultiplied in the event they are rgba8 due to the way that the TIFF reader operates. Also added premultiply as a flag inside color class and exposed many of its components, made it so that setting and getting pixels took into consideration the state of the color and the image when dealing with the two.
2015-01-23 18:08:59 -06:00
artemp
333965b588
update copyright year
2014-11-20 15:25:50 +01:00
Dane Springmeyer
83588937b9
silence boost warnings
2014-10-21 16:37:27 -07:00
artemp
82142a54cc
fix compiler warnings
2014-08-12 17:43:04 +01: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
Dane Springmeyer
ac961feb64
expose mapnik.Color.packed to get unsigned rgba value
2013-10-01 21:30:49 -07:00
kunitoki
1f351e0e09
implement new debug system
2012-04-08 02:20:56 +02:00
Dane Springmeyer
39d199aa49
code formatting
2011-11-13 19:54:32 -08:00
Artem Pavlenko
6a92e63cc1
+ add __neq__ operator : ( self != self )
2011-06-07 16:14:26 +00:00
Artem Pavlenko
246731874b
+ apply 'mapnik-format' to *.cpp *.hpp
2010-06-02 11:03:30 +00:00
Dane Springmeyer
8fd907f8fc
remove self argument in python docstring for boost <1.35 compatibility allowing the removal of boost version checking - addresses #29
2009-09-27 01:31:30 +00:00
Dane Springmeyer
ef1e210269
improve boost::python docstrings for map, color, and stroke, adding currently unused patch against enumeration from podolsir
2009-09-25 17:50:37 +00:00
Dane Springmeyer
016659f22a
add missing boost version include to enable new docstrings
2009-09-25 17:16:54 +00:00
Dane Springmeyer
a50bfa3811
fix typos in docstrings
2009-09-25 04:21:14 +00:00
Dane Springmeyer
6abc56ef08
Add docstrings to mapnik_color.cpp - modified patch from podolsir - thanks - addresses #29
2009-09-25 03:27:29 +00:00
Artem Pavlenko
a07767ef3d
+ (c++) renamed mapnik::Color to mapnik::color
...
+ (c++) added mapnik::color ctor from named colours (TODO: consider not to export color_factory)
+ (Python) fixed pickling
+ (Python) added to_hex_string method
2009-01-14 12:10:24 +00:00
Artem Pavlenko
992af4747d
1. move include to mapnik/include
...
2. update demos,bibdibgs etc.
2006-10-04 11:22:18 +00:00
Artem Pavlenko
02d95a7ba2
added write access to alpha property.
2006-09-15 08:20:09 +00:00
Artem Pavlenko
93740b5dec
refactored #includes to reduce compilation times
...
added mapnik_query skeleton
2006-09-11 09:48:27 +00:00
Artem Pavlenko
61fd258fd1
changing licence from GPL to LGPL
2006-03-31 10:32:02 +00:00
Artem Pavlenko
c3ff3084ca
1.added to_string method to Color
...
2.added factory methods to python Color
use factory methods
2006-02-27 21:57:08 +00:00
Artem Pavlenko
3818da6bc5
added quad_tree implementaion
2006-02-27 21:25:25 +00:00
Jean-Francois Doyon
efc23b9217
Fixed up some more styling.
...
color_from_string is now Color
filter is now Filter
and maybe a few more ...
2006-02-26 23:04:47 +00:00
Jean-Francois Doyon
897341e042
Capitalized class names as per the "Style Guide for Python Code" at:
...
http://www.python.org/peps/pep-0008.html
Because the bindings are out of synch, this is untested.
2006-02-20 01:34:02 +00:00
Artem Pavlenko
d8dc53bcf4
new build system
2006-01-31 23:09:52 +00:00