Hi,
Today I saw Color thief[1] and I was impressed.I like to have something
like this in my application so I reviewed the code but I dont know how
to implement this in FreePascal or couldn't find anything like this in
Pascal that do as good as this.
Any one know about a library like this in
if I write the following code:
procedure foo;
begin
if true then
begin
X
end
else
begin
X
end;
end;
The x marks the place where it puts my cursor after hitting enter.
After the the if then begin it will correctly place me 2 spaces
indented relative to the begin, but after
On Wed, 8 Jul 2015, aradeonas wrote:
Hi,
Today I saw Color thief and I was impressed.I like to have something like this
in my application so I reviewed the code but I dont know how to implement this
in FreePascal or couldn't find anything like
this in Pascal that do as good as this.
Any
On 08/07/2015 10:51, Bernd wrote:
I cannot find any way to influence this behavior in the editor
settings (which are very confusing btw), I cannot even change anything
at all there, even if I set everything to 4 spaces instead of 2 it
will still use 2 spaces everywhere (and 4 in an else begin
Thank you.
I get exception when try to load from file and I could not debug in FPC
source,debugger don't go there:
var i: Integer; Img: TFPCustomImage; reader: TFPCustomImageReader;
begin Img := TFPCustomImage.Create(0, 0); Reader :=
TFPReaderJPEG.Create;
On Wed, 8 Jul 2015, aradeonas wrote:
Thank you.
I get exception when try to load from file and I could not debug in FPC
source,debugger don't go there:
var
i: Integer;
Img: TFPCustomImage;
reader: TFPCustomImageReader;
begin
Img := TFPCustomImage.Create(0, 0);
Reader :=
Project project1 raised exception class 'External: SIGSEGV'.
File exists and it is correct.
Ara
--
http://www.fastmail.com - Email service worth paying for. Try it for free
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
Here you are.
http://lokeshdhakar.com/projects/color-thief/img/photo1.jpg
Ara
--
http://www.fastmail.com - The professional email service
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
On Wed, 8 Jul 2015, Graeme Geldenhuys wrote:
On 2015-07-08 22:30, aradeonas wrote:
I test the code but app will wait for more than a minute and so on on
img.UsePalette := True; and I couldn't get values.
It took a while here... just under a minute, but then it started writing
out all the
On 2015-07-08 22:30, aradeonas wrote:
I test the code but app will wait for more than a minute and so on on
img.UsePalette := True; and I couldn't get values.
It took a while here... just under a minute, but then it started writing
out all the RGB values. So it works, but it just ain't fast
My bad!
I test the code but app will wait for more than a minute and so on on
img.UsePalette := True; and I couldn't get values.I test that image in
Lazarus/FPC Trunk 2015/06/27 49452.
Regards,
Ara
--
http://www.fastmail.com - Same, same, but different...
--
On Wed, 8 Jul 2015, aradeonas wrote:
Project project1 raised exception class 'External: SIGSEGV'.
File exists and it is correct.
Can you send me the file ?
Michael.--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
On Wed, 8 Jul 2015, aradeonas wrote:
Here you are.
http://lokeshdhakar.com/projects/color-thief/img/photo1.jpg
Your program contained an error, I should have seen it at once.
You used TFPCustomImage. This is an abstract class.
You should have used a descendent like TFPMemoryImage instead.
Yes, its in terminal, first output line of lazbuild, not mine parameter,
or commandline
On 07.07.2015 19:24, Juha Manninen wrote:
On Tue, Jul 7, 2015 at 6:53 PM, FreeManfreema...@delphiturkiye.com wrote:
in terminal:
SetPrimaryConfigPath NewValue=/Users/freeman35/.lazarus -
Yes, you right Sandro
this is my commandline in my script
lazbuild --quiet --max-process-count=8 --pcp=/Users/$User_Name/.lazarus
--build-all --skip-dependencies --build-ide= --ws=$LCL_PLATFORM
--cpu=$CPU_TARGET $COMPILERSWITCH
I added --pcp 'cos some times change it for test. --quiet is
Thank you, its worked in r49509.
On 07.07.2015 19:41, Juha Manninen wrote:
Ok, sorry, there was an error indeed. Try with r49509. Should work now.
Juha
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
2015-06-15 14:31 GMT+02:00 Graeme Geldenhuys:
How is that going to look under OSX where tabs are very different (read
as butt ugly and rubbish) compared to other platforms?
You can check this. :) First version with Sparta Basic (docked design
form and IDE changes) :D is available at:
So in my case BGRABitmap is a better choice,because I could choose color
count.
Thank you Michael and Graeme as always.
Regards,
Ara
--
http://www.fastmail.com - Faster than the air-speed velocity of an
unladen european swallow
--
[Cross posted on forum so if you want answer there :
http://forum.lazarus.freepascal.org/index.php/topic,29007.0.html]
Hi,
For one of my projects I want to send and receive files between server
and client and for years I saw demos in Indy,Synapse ... but I wonder if
any one done it in real
For now I used lovely BGRABitmap like this,thanks to its author
circular.
uses BGRABitmap, BGRABitmapTypes, BGRAColorQuantization;
var bmp:TBGRABitmap; quant: TBGRAColorQuantizer; i: Integer; begin
bmp:=TBGRABitmap.Create('E:\photo1.jpg'); quant :=
TBGRAColorQuantizer.Create(bmp,
20 matches
Mail list logo