> How do you represent Hex values in FPX, I now I can use #141 for example
> using the ASCII value of the Hex characted converted ahead of time, but is
> there a way to send the Hex values like 0x70 for example?
hex: $45;
oct: &088; // 1.9+ only
bin: %101010; // 1.9+ only
char: #23; or chr
How do you represent Hex values in FPX, I now I can use #141 for example
using the ASCII value of the Hex characted converted ahead of time, but is
there a way to send the Hex values like 0x70 for example?
Thanks
___
fpc-pascal maillist - [EMAIL PROT
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> Yes. You need at least 1.9.2.
> The best would even be to download the latest CVS, as it supports
> more formats.
> Or you can try to download the FCL sources and recompile them with
> FPC 1.0.10.
I appreciate your help with this. I installed 1.9.
On Thu, 22 Apr 2004, Alan Mead wrote:
> Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
>
> > Very easy.
> >
> > Roughly like this:
> >
> > uses fpimage,fpcanvas,fpwritepng, fpwritejpg;
> >
> > [...]
> >
> > See the fcl/image directory for all needed units.
> > Supported are bmp,png,jpg,xpm and P
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> Very easy.
>
> Roughly like this:
>
> uses fpimage,fpcanvas,fpwritepng, fpwritejpg;
>
> [...]
>
> See the fcl/image directory for all needed units.
> Supported are bmp,png,jpg,xpm and PPM/PBM.
>
> There is no documentation yet, but I can provide
On Thu, 22 Apr 2004, Alan Mead wrote:
> What is the easiest way to create PNG or JPG images from within a FPC
> program? Ideally, in a cross-platform way although I mostly use
> Linux. Thanks!
Very easy.
Roughly like this:
uses fpimage,fpcanvas,fpwritepng, fpwritejpg;
Var
Image : TMemoryI
I just asked about a way to create images. Then I saw the png unit
and I got it to link.
But now I'm lost trying to translate the libpng C examples to Pascal.
Does anyone have an example or two of a program that uses unit png?
-Alan
__
What is the easiest way to create PNG or JPG images from within a FPC
program? Ideally, in a cross-platform way although I mostly use
Linux. Thanks!
-Alan
__
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25ยข
http://
> > How do I convert a lptstr var (win32) to a string var ?
>
> lptstr is just a PChar. Use the usual method you use for PChar...
>
> Y := StrPas( X );
>
> Y := String(X);
>
> Would probably both work in Delphi mode - though StrPas is more universal.
strpas will introduce a 255 char limit.
> Hi
>
> How do I convert a lptstr var (win32) to a string var ?
lptstr is just a PChar. Use the usual method you use for PChar...
Y := StrPas( X );
Y := String(X);
Would probably both work in Delphi mode - though StrPas is more universal.
___
Hi
How do I convert a lptstr var (win32) to a string var ?
Thanks
Inpromptu
--
_
Web-based SMS services available at http://www.operamail.com.
>From your mailbox to local or overseas cell phones.
Powered by Outblaze
___
11 matches
Mail list logo