Has someone experience with creating png bitmap files? Is it easy or complicated?
I programmed a web server and wanted to serve diagrams also.
Mailing lists / fpc-pascal / 2010-02
png bitmap
6 messages · 4 people ·
- MMattias Gaertner 2
- RRainer Stratmann 2
- FFelipe Monteiro de Carvalho 1
- IIngemar Ragnemalm 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Has someone experience with creating png bitmap files? Is it easy or complicated? I programmed a web server and wanted to serve diagrams also.
Something like this:
http://wiki.lazarus.freepascal.org/Developing_with_Graphics#Drawing_without_LCL>
?
Mattias
Mattias Gaertner wrote 11 lines
Yes, that sounds good. Thank you!
Rainer
Show quoted text 6 lines
Mattias Gaertner wroteRainer Stratmann wrote:
Show quoted text 12 lines
Looks nice, but it doesn't link on my Mac. I get a bunch of link errors all prefixed _FT_. FreeType? (Irrelevant for the PNGs though.)
/Ingemar
Ingemar Ragnemalm wroteLooks nice, but it doesn't link on my Mac. I get a bunch of link errors all prefixed _FT_. FreeType? (Irrelevant for the PNGs though.)
Just delete the ftfont unit and all references to fonts. Obviously you won't be able to draw fonts then.
With Lazarus you can use TPortableNetworkGraphics which works just like TBitmap but for PNGs
Show quoted text 9 lines
He asked about a webserver.
There is a freetype font library for Mac too, but you have to install it manually. I didn't tried it yet.
Mattias
