freetype
[Top][All Lists]
Advanced

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

[ft] Saving a FT_Bitmap as an image


From: Ramon Guerrero
Subject: [ft] Saving a FT_Bitmap as an image
Date: Tue, 13 Oct 2015 21:11:23 +0000

Hello,

I just started using FreeType2 a few days ago and so far things have been great. One thing I keep getting stuck on is trying to save the FT_Bitmap as an image (bmp). To save the image, I’m using FreeImage and passing the appropriate values from FT_Bitmap in order to save the 8bit grayscale as a bmp. So far, all I’ve managed to create is a all black image. I would expect to see a single glyph. I can’t find any examples online of anyone doing this with FreeType. Any help would be greatly appreciated! Thanks!

Sent from Windows Mail


reply via email to

[Prev in Thread] Current Thread [Next in Thread]