The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
Received: from ns.ATComputing.nl (ns.ATComputing.nl [195.108.229.25])
	by atcmpg.ATComputing.nl (8.9.0/8.9.0) with ESMTP id SAA21506
	for <markov@ATComputing.nl>; Thu, 24 Feb 2000 18:17:36 +0100 (MET)
Received: (from nobody@localhost)
	by ns.ATComputing.nl (8.8.8/8.8.8) id SAA23500
	for <markov@ATComputing.nl>; Thu, 24 Feb 2000 18:17:35 +0100
Received: from mustang.oldcity.dca.net(216.158.38.3) by ns.ATComputing.nl via smap (V2.1)
	id xma023498; Thu, 24 Feb 00 18:17:21 +0100
Received: from unca-don.wizards.dupont.com ([204.183.81.133])
	by mustang.oldcity.dca.net (8.9.3/8.9.3/DCANET) with ESMTP id MAA27594;
	Thu, 24 Feb 2000 12:14:53 -0500
Received: (from majordomo@localhost)
	by unca-don.wizards.dupont.com (8.9.3/8.9.3) id LAA16076
	for magick-outgoing; Thu, 24 Feb 2000 11:52:40 -0500 (EST)
X-Authentication-Warning: unca-don.wizards.dupont.com: majordomo set sender to owner-magick@wizards.dupont.com using -f
Message-ID: <8100014B48DAD111AA4100805F9F3FC903A0E5B9@host60.corbis.com>
From: Bill Radcliffe <BillR@corbis.com>
To: "'Steve Sapovits'" <SapovitsS@globalsportsinc.com>
Cc: "'magick@wizards.dupont.com'" <magick@wizards.dupont.com>
Subject: RE: Transparency question
Date: Thu, 24 Feb 2000 08:54:32 -0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Sender: owner-magick@wizards.dupont.com
Precedence: bulk
Reply-To: Bill Radcliffe <BillR@corbis.com>
Content-Type: text/plain;
	charset="ISO-8859-1"
Status: RO
Content-Length: 5643
Lines: 161

Your problem is that you are trying to use transparency, but you really want
to use alpha channel blending. I'll show you how if you can send me another
copy of MCS_C_11452.gif before it is flattened out into a GIF file. You need
to have an input file were the "image" pixels are in the RGB parts of the
file, and the "cutout" is in the "alpha" channel. The alpha channel contains
a value for each and every pixel that defines the opacity of the pixel. Two
file formats that support this are Photoshop and TIFF.

> -----Original Message-----
> From:	Steve Sapovits [SMTP:SapovitsS@globalsportsinc.com]
> Sent:	Thursday, February 24, 2000 8:34 AM
> To:	Bill Radcliffe
> Subject:	RE: Transparency question
> 
> 
> Good idea, of course.
> 
> This is run from a bigger program but I distilled it down to a simpler 
> set of commands to reproduce.  I run these two commands:
> 
> mogrify -geometry 120x120! 'MCS_C_11452.gif'
> combine 'MCS_C_120x150.gif' -gravity south 'MCS_C_11452.gif' -compose over
> 'result.gif'
> 
> I get this output:
> 
> mogrify: no delegates configuration file found (delegates.mgk).
> mogrify: no encode delegate for this image format (Y).
> combine: no delegates configuration file found (delegates.mgk).
> 
> I've gotten these 'delegates' messages before with no ill effects. 
> 
> Here are the files I'm using.  The 'result.gif' has the whitespace I
> mentioned.  Any help
> would be greatly appreciated.  I'll write a perl program for you in
> exchange
> or something.  8-)
> 
>  <<MCS_C_11452.gif>>  <<MCS_C_120x150.gif>>  <<result.gif>> 
> 
> 
> > -----Original Message-----
> > From:	Bill Radcliffe [SMTP:BillR@corbis.com]
> > Sent:	Thursday, February 24, 2000 11:07 AM
> > To:	'Steve Sapovits'; 'magick@wizards.dupont.com'
> > Subject:	RE: Transparency question
> > 
> > It would help me if you could send some small samples of exactly the
> > effect
> > you are trying to achieve. I'm sure IM can do whatever you want but the
> > road
> > to get there may not be at all obvious.
> > 
> > > -----Original Message-----
> > > From:	Steve Sapovits [SMTP:SapovitsS@globalsportsinc.com]
> > > Sent:	Wednesday, February 23, 2000 10:32 AM
> > > To:	Steve Sapovits; magick@wizards.dupont.com
> > > Subject:	RE: Transparency question
> > > 
> > > 
> > > Someone on this list and my image folks here seem to confirm that the
> > > problem
> > > here is with 'fringe' pixels that were not trimmed back as neatly as
> > > possible.  Any
> > > suggestions for automating this?  This whole thing needs to be
> batched.
> > I
> > > played
> > > with the transparency and fuzz options with no real difference noted.
> > > Trying 
> > > crop 0x0 makes some of the fringe whitespace areas neater, but it
> > doesn't
> > > get rid
> > > of them.
> > > 
> > > Any suggestions?
> > > 
> > > > -----Original Message-----
> > > > From:	Steve Sapovits [SMTP:SapovitsS@globalsportsinc.com]
> > > > Sent:	Wednesday, February 23, 2000 10:58 AM
> > > > To:	magick@wizards.dupont.com
> > > > Subject:	Transparency question
> > > > 
> > > > 
> > > > I'm trying to do the following:
> > > > 
> > > > 1)  Take a JPEG image and size it down to a particular size.
> > > > 2)  Overlay that JPEG on top of an GIF image to form a combined
> > result.
> > > > 
> > > > This works fine for the most part:  I use mogrify to resize,
> followed
> > by
> > > 
> > > > combine to overlay.
> > > > 
> > > > Now I'm presented with GIF images (the ones the JPEG is put on top
> of)
> > > > that have colors or other background attributes we want to 'show
> > > through'
> > > > the overlay where there is no image.
> > > > 
> > > > Even without any transparency options this seems to ALMOST work.
> The
> > > > problem is that there's a small area around each image of 'white'
> that
> > > > always
> > > > shows up.  Trying transparency or the 'matte' option of '-draw'
> seems
> > to
> > > > have
> > > > no effect.
> > > > 
> > > > Any ideas?  I'm an engineer -- not an image expert.  The images in
> > > > question
> > > > are handed to me.  I can change them if necessary and if it can be
> > done
> > > > via
> > > > the ImageMagick tool.  The volume we generate makes manual changes
> to 
> > > > each image out of the question.
> > > > 
> > > > ----
> > > > Steve Sapovits
> > > > Global Sports Interactive
> > > > Work Email: sapovitss@globalsportsinc.com
> > > > Home Email: steves@delanet.com
> > > > Work Phone: 610-491-7087
> > > > Cell:       610-574-7706
> > > > Pager:      877-239-4003
> > > > 
> > > > 
> > > >
> > ***********************************************************************
> > > > To remove yourself from this mailing list, send mail to:
> > > > 	majordomo@wizards.dupont.com
> > > > 
> > > > Include the following command in the body of your message:
> > > > 	unsubscribe magick
> > > >
> > ***********************************************************************
> > > 
> > >
> ***********************************************************************
> > > To remove yourself from this mailing list, send mail to:
> > > 	majordomo@wizards.dupont.com
> > > 
> > > Include the following command in the body of your message:
> > > 	unsubscribe magick
> > >
> *********************************************************************** <<
> File: MCS_C_11452.gif >>  << File: MCS_C_120x150.gif >>  << File:
> result.gif >> 

***********************************************************************
To remove yourself from this mailing list, send mail to:
	majordomo@wizards.dupont.com

Include the following command in the body of your message:
	unsubscribe magick
***********************************************************************