Skip to content

Loading…

Add raster-symbolizer parameter to set premultiplied status of image #1512

Closed
springmeyer opened this Issue · 2 comments

1 participant

@springmeyer
Mapnik member

Tiffs may misreport whether their pixels are stored as premultiplied (like in #1511, which breaks raster.input after 77e5858), or in the case of tiff read from gdal we have no way to know if pixels are premultiplied. For both these reasons we need a way for the user to control whether images need to be premultiplied before rendering/compositing. Will be useful for debugging future bugs too.

@springmeyer springmeyer added a commit that closed this issue
@springmeyer springmeyer add 'premultiplied' property on raster symbolizer to allow user to co…
…ntrol (in rare cases) the premultiplied status of images in cases where tiffs mis-report it - closes #1512
0972662
@springmeyer springmeyer reopened this
@springmeyer
Mapnik member

whoop, not quite done here.., re-opened.

@springmeyer
Mapnik member

done now closing.

@springmeyer springmeyer closed this
@PetrDlouhy PetrDlouhy added a commit to PetrDlouhy/mapnik that referenced this issue
@springmeyer springmeyer add 'premultiplied' property on raster symbolizer to allow user to co…
…ntrol (in rare cases) the premultiplied status of images in cases where tiffs mis-report it - closes #1512
0c65504
@PetrDlouhy PetrDlouhy added a commit to PetrDlouhy/mapnik that referenced this issue
@springmeyer springmeyer update raster symbolizer test after 0972662 and #1512 634aed7
@PetrDlouhy PetrDlouhy added a commit to PetrDlouhy/mapnik that referenced this issue
@springmeyer springmeyer finish #1512 and adjust tests to use new parameter 7681edf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.