Re: [Gimp-developer] Alpha channels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23-Dec-2002, Robert L Krawitz wrote:
> 1) How do I create an image with an alpha channel (and set the value
>    of the alpha channel)?  This is specifically so I can test alpha
>    channel handling in Gimp-print.  Specifically, I want to move the
>    alpha channel handling (and the color map handling, but that's a
>    lot easier) out of libgimpprint and into the plugin.

file -> new -> fill type = transparent.
 
> 2) It appears that thumbnail images (via
>    gimp_image_get_thumbnail_data) always contain an alpha channel
>    (unfortunately, this isn't really what I want for (1)).  Is there a
>    reason this is the case, or am I missing something?

Ever convert an rgb image to rgba? All the alpha for every pixel = 1.0. Its
probably the same thing here.

-- 
Patrick "Diablo-D3" McFarland || unknown@xxxxxxxxx
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd 
all be running around in darkened rooms, munching magic pills and listening to
repetitive electronic music." -- Kristian Wilson, Nintendo, Inc, 1989

Attachment: pgplg1S3vo8vf.pgp
Description: PGP signature


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux