On Sat, 23 Feb 2013, Andrew Brunner wrote:
Hi guys,
I just finished (a beta) of a collage app for Aurawin. I'm seeing a huge
load on my servers when scaling images using the Image factory classes for
JPEG, and PNG.
Prefix:
6 Core AMD 64 32GB RAM Ubuntu 12.10 x64
8 Core AMD 64 32GB RAM Ub
On 24.02.2013 11:44, Michael Van Canneyt wrote:
srcImg:=TFPMemoryImage.Create(0,0);
Do not use TFPMemoryImage. It is a catch-all memory format, not
optimized at all, using 64 bits for the images.
Instead, use e.g. TFPCompactImgRGBA8Bit if you need alpha or
TFPCompactImgRGB8Bit if you do no
On Sun, 24 Feb 2013, Sven Barth wrote:
On 24.02.2013 11:44, Michael Van Canneyt wrote:
srcImg:=TFPMemoryImage.Create(0,0);
Do not use TFPMemoryImage. It is a catch-all memory format, not
optimized at all, using 64 bits for the images.
Instead, use e.g. TFPCompactImgRGBA8Bit if you need
On 24.02.2013 12:43, Michael Van Canneyt wrote:
On Sun, 24 Feb 2013, Sven Barth wrote:
On 24.02.2013 11:44, Michael Van Canneyt wrote:
srcImg:=TFPMemoryImage.Create(0,0);
Do not use TFPMemoryImage. It is a catch-all memory format, not
optimized at all, using 64 bits for the images.
In
Hello,
Finally, FPC 2.6.2 has landed. FPC 2.6.2 is an update to 2.6.0 that
contains most library progress in 2012 and some crucial
compiler fixes, as well as a few new targets.
Building is still in progress and some formats (deb,rpm) and targets might
not be available yet.
Changes that may brea
On Sun, 24 Feb 2013, Sven Barth wrote:
Maybe a collection of algorithms for in memory rescaling would be nice...
There are a lot of them, that is what the interpolations are for, but
they work with a canvas. The case of rescaling an image and simply send
the resulting image as a file was not
On 02/24/2013 04:44 AM, Michael Van Canneyt wrote:
Try to get rid of the XML, it is always going to be slow.
Using XML can slow your applications with a factor 6.
If you are mime-encoding an image, it'll be even more.
I was just thinking about that. I think JSON would be ok, especially if
I
Hi,
see the following little program:
program argumentbug;
{$MODE ObjFpc}
uses classes;
type
TVector3 = packed record
X, Y, Z: Single;
end;
TClassA = class
protected
fVector: TVector3;
public
procedure SetVector(AVector: TVector3); virtual; abstract;
end;
{ TClassB }
TClassB = class(
Good day,
Please what is a difference between .pp and .pas files extension?
--
Kind Regards
Eric Kom
System Administrator & Programmer - Metropolitan College
_
/ You are scrupulously honest, frank, and \
| straightforward. Therefore you have few |
\ fri
At 09:34 PM 2/24/2013, Eric Kom wrote:
Good day,
Please what is a difference between .pp and .pas files extension?
two characters... ;-)
_
/ You are scrupulously honest, frank, and \
| straightforward. Therefore you have few |
\ friends.
On 25-2-2013 6:34, Eric Kom wrote:
> Good day,
>
> Please what is a difference between .pp and .pas files extension?
As Ralf said: 2 letters. I have the idea .pp was used in the past to
differentiate from other Pascal compilers, while .pas is used more
commonly now.
Groete,
Reinier
_
On 24-2-2013 18:35, Andrew Brunner wrote:
> If not, does anyone have lightning fast scaling methods in C++ or Java
> that I can port/contribute?
You might want to look if e.g. ImageMagick is faster for your needs.
There's bindings for it in Pascal:
http://wiki.lazarus.freepascal.org/PascalMagick
2013/2/25 Reinier Olislagers
> On 25-2-2013 6:34, Eric Kom wrote:
> > Good day,
> >
> > Please what is a difference between .pp and .pas files extension?
>
> As Ralf said: 2 letters. I have the idea .pp was used in the past to
> differentiate from other Pascal compilers, while .pas is used more
>
Hello
Please unsubscribe me (no more use of free pascal)
Thanks a lot
--
Jean-françois Jouvet
OPALES
140 rue Désiré Monnier 39000 Lons-le-Saunier
TEL 03 84 24 88 66
FAX 03 84 24 88 67
jf.jou...@opales.fr
___
fpc-pascal maillist - fpc-
14 matches
Mail list logo