I want to put watermarks on images in a command line application.
This doesn't do the trick:
ScaledImage:=TFPCompactImgRGBA8Bit.Create(Width, Height);
Canvas:=TFPImageCanvas.Create(ScaledImage); // TFPImageCanvas
Canvas.StretchDraw(0,0,Width,Height,Image); // Image is TFPCompactImgRGB8Bit
Canva
On Fri, 16 Sep 2016 17:48:33 +0200 (CEST)
Michael Van Canneyt wrote:
> On Fri, 16 Sep 2016, Reimar Grabowski wrote:
>
> > Hi,
> >
> > I want to put watermarks on images in a command line application.
> > This doesn't do the trick:
> >
> > ScaledImage:=TFPCompactImgRGBA8Bit.Create(Width, Height);
On Fri, 16 Sep 2016 17:48:33 +0200 (CEST)
Michael Van Canneyt wrote:
> > Can FCL Image do this and if not what are my alternatives?
>
> It should be able to do this, yes.
Ok, but what am I missing since it's not working here.
R.
___
fpc-pascal mai
On Fri, 16 Sep 2016, Reimar Grabowski wrote:
Hi,
I want to put watermarks on images in a command line application.
This doesn't do the trick:
ScaledImage:=TFPCompactImgRGBA8Bit.Create(Width, Height);
Canvas:=TFPImageCanvas.Create(ScaledImage); // TFPImageCanvas
Canvas.StretchDraw(0,0,Width,H
Hi,
I want to put watermarks on images in a command line application.
This doesn't do the trick:
ScaledImage:=TFPCompactImgRGBA8Bit.Create(Width, Height);
Canvas:=TFPImageCanvas.Create(ScaledImage); // TFPImageCanvas
Canvas.StretchDraw(0,0,Width,Height,Image); // Image is TFPCompactImgRGB8Bit
Ca
El 16/09/2016 a las 10:16, Santiago A. escribió:
Hello,
StrmEnc85:=TAscii85EncoderStream.Create(StrmOut,72,True);
try
StrmEnc85.CopyFrom(StrmIn,0);
Result:=StrmOut.DataString;
finally
StrmEnc85.Free;
Maybe there is something wrong in ASCII85 encoder, but th
On 9/16/2016 12:11 AM, duilio foschi wrote:
Hi Ralf.
thank you for the hint re the Jedi RS algorithm.
The code is inspirational, but weak:
[from file readme.txt]
"As far as I can tell it works, but I made some rather rash
assumptions which need to be confirmed by someone who knows what they
a
El 16/09/2016 a las 10:16, Santiago A. escribió:
> Hello:
>
> I'm trying to use ascii85 packages to decode/encode strings. But I get
> this weird results:
>
> --
> Original Plain: 123456
> Correct Encoded: <~0etOA2)Y~>
>
> Encode 123456 = <~0etOA
> Decode <~0etOA = 1234
>
> Decode <~0et
Hello:
I'm trying to use ascii85 packages to decode/encode strings. But I get
this weird results:
--
Original Plain: 123456
Correct Encoded: <~0etOA2)Y~>
Encode 123456 = <~0etOA
Decode <~0etOA = 1234
Decode <~0etOA2)Y~> = 123456
--
It looks like decoder stops reading so
Hi Ralf.
thank you for the hint re the Jedi RS algorithm.
The code is inspirational, but weak:
[from file readme.txt]
"As far as I can tell it works, but I made some rather rash
assumptions which need to be confirmed by someone who knows what they
are doing"
I need code I can trust, so will st
10 matches
Mail list logo