[PD] [GEM-dev] proper alpha channels in GEM?

cyrille henry cyrille.henry at la-kitchen.fr
Mon Oct 22 19:30:59 CEST 2007


hello,

Patrice Colet a écrit :
>   I have another question that is a little bit OT,
> inkscape only export bitmaps in png format, then I'd like to use 
> imagemagicks for converting png to tiff, or even better svg to tiff,
> but it's very tricky, for the moment none of the tries I've done gave 
> something satisfaying, the tiff image result after conversion:
> "imagemagicks myfile.png myfile.tiff" gives a totally gray result with 
> pix_texture, in an image editor there doesn't seem to have an alpha 
> channel, even with -channel RGBA option.
imagemagick is quite strange with tiff export. you have to manually add some option in order to have a valid tiff file.
you can find the correct option somwhere on the net.

then, Gem load this file with no problem.

cyrille


>   Any hint would be very appreciated.
> (I've made these tries with Gem-0.90 dll, the 0.91 crashes too often)
> 
> 
> 
> Patrice Colet a écrit :
>> This test is successfull, thanks.
>>
>> Jack a écrit :
>>> Hello,
>>> I think that alpha channel only work with TIFF format in RVB 32 bit image.
>>> Have a look on the patch.
>>>
>>> Jack
>>>
>>>
>>> Le 22 oct. 07 à 16:14, Patrice Colet a écrit :
>>>
>>>> Hello, I've looked into pd-list archive and found this thread.
>>>>
>>>> Is it possible to load a picture with an alpha channel with pix_image?
>>>>
>>>> when I load such picture (both jpg and png) nothing happens (no console
>>>> message), no image is loaded.
>>>> My RGBA pictures are made with inkscape.
> 
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> 
> 




More information about the Pd-list mailing list