Marlin renderer 0.9.5 EA 1

27 views
Skip to first unread message

Laurent Bourgès

unread,
Jul 4, 2020, 8:42:36 AM7/4/20
to marlin-...@googlegroups.com
Hi,

Heres the Marlin 0.9.5 Early-access release 1:

Please try it on your java2d apps (jdk8 only) with RGBA buffered images (off-screen), colors will look better !

Enjoy FOSS: please give your feedback on this public list...

Release notes:

This early-access release of Marlin 0.9.5 provides the new Marlin compositor to improve alpha color blending: in 2020 it definitely changes how java2d processes colors (sRGB directly) to adopt a new approach:

  • gamma correction (using sRGB profile)
  • perform linear interpolation in L* (from CIE Luv) by adjusting alpha values using a new contrastL correction to take into account the Luma Y (how colors are perceptually bright).
    For history, java2d directly mixes colors on sRGB values (no gamma correction at all).

See the latest comparison: https://bourgesl.github.io/gamma-correction/GRID_FONT.4/index.html

For now, this compositor is only implemented and enabled on INT_ARGB (non pre) images AND only supports Color blending (not general paints like gradient, texture paints) AND the SRC_OVER alpha composite. Other image types or paints or composite modes will be supported later. Of course, previous java2d pipeline stay in action if the Marlin compositor does not support any operation and have the previous rendering.

Enjoy,
Laurent

🌱🍀☘🌿🌳🐟🌍🎉🌞
Reply all
Reply to author
Forward
0 new messages