Re: [E-devel] Problem with Imlib2 and Alpha TIFs

2005-11-30 Thread The Rasterman
On Wed, 30 Nov 2005 16:41:11 + Simon Wistow <[EMAIL PROTECTED]> babbled: > On Thu, Dec 01, 2005 at 01:19:41AM +0900, Carsten Haitzler said: > > the problem is tif's use pre-multiplied alpha (ie rgb is multipled BY the > > alpha value when stored) instead of non-premul (as imlib2's internals, >

Re: [E-devel] Problem with Imlib2 and Alpha TIFs

2005-11-30 Thread Simon Wistow
On Thu, Dec 01, 2005 at 01:19:41AM +0900, Carsten Haitzler said: > the problem is tif's use pre-multiplied alpha (ie rgb is multipled BY the > alpha > value when stored) instead of non-premul (as imlib2's internals, png's argb > etc. use). that means imlib2 is missing the "de-multiply" on load cod

Re: [E-devel] Problem with Imlib2 and Alpha TIFs

2005-11-30 Thread The Rasterman
On Wed, 30 Nov 2005 12:17:29 + Simon Wistow <[EMAIL PROTECTED]> babbled: > I've started noticing a problem with tiffs that have alpha channels - I > converted the alpha.tif image to alpha.jpg using Imlib2 (both 1.0.6 and > 1.1.0). Loading the tif up in xv (or Shake or The Gimp) I get the > cor

[E-devel] Problem with Imlib2 and Alpha TIFs

2005-11-30 Thread Simon Wistow
I've started noticing a problem with tiffs that have alpha channels - I converted the alpha.tif image to alpha.jpg using Imlib2 (both 1.0.6 and 1.1.0). Loading the tif up in xv (or Shake or The Gimp) I get the correct brightness but if I convert it with Imlib2 (using the really basic conversion eax