bitmap image with transparent background

Hi :-) I have just joined and I don't know if this is a beginner question, anyway I have been given an Haskell code which uses images, but when I convert a tiff with transparent background into a bitmap, their background becomes white and I need it to be transparent. Is there a way in Haskel to convert a bitmap with solid background into a bitmap with transparent background? Is there another format that can be used instead of bitmap in Haskell? Best, Letizia -- Letizia Galli 0039 328 6917393 www.letiziagalli.it

Bitmap means exactly which Format? If you refer to BMP, IT does not support
an alpha channel, so no transparency in the picture itself.
Am 12.01.2015 19:25 schrieb "Letizia Galli"
Hi :-) I have just joined and I don't know if this is a beginner question, anyway I have been given an Haskell code which uses images, but when I convert a tiff with transparent background into a bitmap, their background becomes white and I need it to be transparent. Is there a way in Haskel to convert a bitmap with solid background into a bitmap with transparent background? Is there another format that can be used instead of bitmap in Haskell? Best, Letizia
-- Letizia Galli 0039 328 6917393 www.letiziagalli.it
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners

Not sure if it helps you, but the Juicy Pixels library can load many different formats, including TIFF: https://hackage.haskell.org/package/JuicyPixels Can you show your code that causes trouble? Regards, Marcin

Hi Marcin,
Thank you for your reply I'll look into it.
I would like to show you the code but
I have to ask as we like to keep it confidential at the moment.
Best,
Letizia
2015-01-12 23:37 GMT+01:00 Marcin Mrotek
Not sure if it helps you, but the Juicy Pixels library can load many different formats, including TIFF: https://hackage.haskell.org/package/JuicyPixels Can you show your code that causes trouble?
Regards, Marcin _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
-- Letizia Galli 0039 328 6917393 www.letiziagalli.it

Hi
thank you for your reply, yes I mean BMP
and I know it doesn't have a alpha channel
I was just asking if there is a way to use
images in a format with a transparent background.
Best
Letizia
2015-01-12 19:57 GMT+01:00 Norbert Melzer
Bitmap means exactly which Format? If you refer to BMP, IT does not support an alpha channel, so no transparency in the picture itself. Am 12.01.2015 19:25 schrieb "Letizia Galli"
: Hi :-) I have just joined and I don't know if this is a beginner question, anyway I have been given an Haskell code which uses images, but when I convert a tiff with transparent background into a bitmap, their background becomes white and I need it to be transparent. Is there a way in Haskel to convert a bitmap with solid background into a bitmap with transparent background? Is there another format that can be used instead of bitmap in Haskell? Best, Letizia
-- Letizia Galli 0039 328 6917393 www.letiziagalli.it
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
-- Letizia Galli 0039 328 6917393 www.letiziagalli.it
participants (3)
-
Letizia Galli
-
Marcin Mrotek
-
Norbert Melzer