From ae235ea62dada8777dc103f3ae07f102e2bbdfd8 Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Sun, 22 Apr 2001 07:39:16 +0000 Subject: [PATCH] minor clarifications on producing transparent gifs --- Imager.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Imager.pm b/Imager.pm index 8e81935f..872e1503 100644 --- a/Imager.pm +++ b/Imager.pm @@ -1583,7 +1583,9 @@ the previous value. =item gif_tran_color A reference to an Imager::Color object, which is the colour to use for -the palette entry used to represent transparency in the palette. +the palette entry used to represent transparency in the palette. You +need to set the transp option (see L) for this +value to be used. =item gif_positions @@ -1641,6 +1643,9 @@ channel. =back +This will only be used if the image has an alpha channel, and if there +is space in the palette for a transparency colour. + =item tr_threshold The highest alpha value at which a pixel will be made transparent when -- 2.39.5