Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-02

png bitmap

6 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Rainer Stratmann

Has someone experience with creating png bitmap files? Is it easy or complicated?
I programmed a web server and wanted to serve diagrams also.

Reply by email

Rainer Stratmann
to Mattias Gaertner
Mattias Gaertner wrote 11 lines
On Sun, 28 Feb 2010 02:00:59 +0100 Rainer Stratmann wrote: > 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>

Yes, that sounds good. Thank you!
Rainer

Show quoted text 6 lines
? Mattias _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Ingemar Ragnemalm
Mattias Gaertner wrote
Rainer Stratmann wrote:
Show quoted text 12 lines
>> 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

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

Reply by email

Felipe Monteiro de Carvalho
to Ingemar Ragnemalm
Ingemar Ragnemalm wrote
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.)

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

Felipe Monteiro de Carvalho

Reply by email

Mattias Gaertner
to Felipe Monteiro de Carvalho
Show quoted text 9 lines
On Sun, Feb 28, 2010 at 4:24 PM, Ingemar Ragnemalm wrote: > 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.) 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

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

Reply by email