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

Closed
springmeyer opened this Issue Sep 28, 2012 · 2 comments

Comments

Projects
None yet
1 participant
@springmeyer
Member

springmeyer commented Sep 28, 2012

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

This comment has been minimized.

Show comment
Hide comment
@springmeyer

springmeyer Oct 1, 2012

Member

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

Member

springmeyer commented Oct 1, 2012

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

@springmeyer

This comment has been minimized.

Show comment
Hide comment
@springmeyer

springmeyer Oct 2, 2012

Member

done now closing.

Member

springmeyer commented Oct 2, 2012

done now closing.

@springmeyer springmeyer closed this Oct 2, 2012

PetrDlouhy added a commit to PetrDlouhy/mapnik that referenced this issue Aug 22, 2013

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

PetrDlouhy added a commit to PetrDlouhy/mapnik that referenced this issue Aug 22, 2013

PetrDlouhy added a commit to PetrDlouhy/mapnik that referenced this issue Aug 22, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment