Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Ivanko B
And others resizers too :)

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Ivanko B
fpImage is slow.
===
No too much. Really 1.5..2 as slower times compared to FastImageResizer.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Martin Schreiber
On Monday 04 February 2013 08:10:47 Ivanko B wrote:
> But 50...100 times as slower compared to preview window of XNView (for
> 102 files of total size 53MB )
>
I warned you. :-)
fpImage is slow.
BTW, I'll fix the demo soon.

Martin

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Ivanko B
"FastImageResizer 0.98" (considered to be a good resizer) shows
results similar to the "listview" project. It seems that XNview
applies some kind of trickery :)

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Ivanko B
But 50...100 times as slower compared to preview window of XNView (for
102 files of total size 53MB )

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Ivanko B
with

flist1.adddirectory(avalue,fil_name,'*.jpg');

it works :)

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Ivanko B
since

flist1.adddirectory(avalue,fil_name,graphicfilemasks);

always returns empty list if the directory contains "!!!" (really
"d:\Photos.!!!" ).

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Ivanko B
The "listview" example shows empty area for aprox 30 JPEGs after 1
minute of waiting.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Martin Schreiber
On Monday 04 February 2013 06:59:18 Ivanko B wrote:
> It is, see attachment. Please note the *master* branch.
> 
> Me use "mclasses" as the default. Should me switch back to the "master" one
> ?
Yes, mclasses has been merged to master.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Ivanko B
It is, see attachment. Please note the *master* branch.

Me use "mclasses" as the default. Should me switch back to the "master" one ?

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Martin Schreiber
On Monday 04 February 2013 06:40:33 Ivanko B wrote:
> 100+Mbytes looks strange.
> 
> With the widgetgrid based testcase at Yours ?
>
I don't have so much images. ;-)

Martin

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Martin Schreiber
On Monday 04 February 2013 06:29:54 Ivanko B wrote:
> Not git-pushed yet :)
>
It is, see attachment. Please note the *master* branch.

Martin
<>--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Ivanko B
100+Mbytes looks strange.

With the widgetgrid based testcase at Yours ?

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Ivanko B
Not git-pushed yet :)

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Martin Schreiber
On Monday 04 February 2013 05:50:54 Ivanko B wrote:

>
> PS:
> How does TImage perform fitting image ? By changing in-memory bitmap ?
> Or by corrections when painting on canvas ? If the later then it may
> be very inefficient as to mamory usage (like in the testcase which
> eats 100+ Mbytes RAM on previewing 40 JPEG files).
>
timage uses tmaskedbitmap.paint(). The data is stored on video server, 
tmaskedbitmap stores the pixmap handle only.
t*datai*mage placed in a twidgetgrid stores the original data for every cell. 
100+Mbytes looks strange.

Martin

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Martin Schreiber
On Monday 04 February 2013 05:50:54 Ivanko B wrote:
> It dosn't buil on vanilla FPC 2,.6.0:
> ===
> Compiling D:\GITROOT\mseide-msegui\lib\common\kernel\windows\msewindnd.pas
> Compiling main.pas
> Compiling main_mfm.pas
> Compiling D:\GITROOT\mseide-msegui\lib\common\image\mseformattiffread.pas
> Compiling
> D:\GITROOT\mseide-msegui\lib\common\fpccompatibility\fpreadtiff.pas PPU
> Loading C:\FPC\2.6.0\units\i386-win32\fcl-image\fptiffcmn.ppu
> Recompiling FPTiffCmn, checksum changed for fpimage
> Fatal: Can't find unit FPTiffCmn used by FPReadTiff
> Fatal: Compilation aborted
>
Please update MSEgui to git *master* c8751ec5fc90a12a0586ca4d5fb04938e7f6c7a6

Martin

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Ivanko B
It dosn't buil on vanilla FPC 2,.6.0:
===
Compiling D:\GITROOT\mseide-msegui\lib\common\kernel\windows\msewindnd.pas
Compiling main.pas
Compiling main_mfm.pas
Compiling D:\GITROOT\mseide-msegui\lib\common\image\mseformattiffread.pas
Compiling D:\GITROOT\mseide-msegui\lib\common\fpccompatibility\fpreadtiff.pas
PPU Loading C:\FPC\2.6.0\units\i386-win32\fcl-image\fptiffcmn.ppu
Recompiling FPTiffCmn, checksum changed for fpimage
Fatal: Can't find unit FPTiffCmn used by FPReadTiff
Fatal: Compilation aborted

Having commented the TOFFREAD use, we have:
=
[...]
Compiling D:\GITROOT\mseide-msegui\lib\common\sysutils\msemime.pas
Compiling D:\GITROOT\mseide-msegui\lib\common\graphics\msegdi32gdi.pas
Compiling D:\GITROOT\mseide-msegui\lib\common\kernel\windows\msewindnd.pas
Compiling main.pas
main.pas(46,37) Error: Incompatible type for arg no. 3: Got "Boolean",
expected "rectty"
main.pas(57) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

PS:
How does TImage perform fitting image ? By changing in-memory bitmap ?
Or by corrections when painting on canvas ? If the later then it may
be very inefficient as to mamory usage (like in the testcase which
eats 100+ Mbytes RAM on previewing 40 JPEG files).

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Martin Schreiber
On Sunday 03 February 2013 21:59:19 Ivanko B wrote:
> Load the thumbs in a timagelist and use a tlistviw for displaying.
> =
> How to get these thumbs so that not to take 150..200M of RAM for
> 35..40 of 100K JPEGs ?
> (the testcase east 145..160M of RAM fro these)
>
An example is here:
http://gitorious.org/mseuniverse/mseuniverse/trees/master/attic/msedocumenting/mse/trunk/help/tutorials/widgets/listview

Martin

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Ivanko B
Load the thumbs in a timagelist and use a tlistviw for displaying.
=
How to get these thumbs so that not to take 150..200M of RAM for
35..40 of 100K JPEGs ?
(the testcase east 145..160M of RAM fro these)

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] TWidgetGrid & TDataImage-s : errors on reading draphic data

2013-02-03 Thread Martin Schreiber
On Sunday 03 February 2013 20:32:01 Ivanko B wrote:
> - unpack the attached project
> - put many 100KB..200KB JPG files to the project directory
> - build & run the project
>
> The project should show small previews for the images.
>
"
 for i:= 0 to high(filenames) do begin
   r:= ceil((i+1)/datacols.count)-1;
   c:= i mod datacols.count;
   tdataimage(datacols[c].editwidget)[r]:=  readfiledatastring(filenames[i]);
 end;
"

> Q: can loading time be optimized if we have small previews ?

Load the thumbs in a timagelist and use a tlistviw for displaying.


Martin



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error on using "mseformattiffread"

2013-02-03 Thread Martin Schreiber
On Sunday 03 February 2013 19:22:48 Ivanko B wrote:
> Free Pascal Compiler version 2.6.0 [2011/12/25] for i386
> Copyright (c) 1993-2011 by Florian Klaempfl and others
> Target OS: Win32 for i386
> Compiling manyimages.pas
> Compiling main.pas
> Compiling D:\mseide-msegui\lib\common\image\mseformattiffread.pas
> Compiling D:\mseide-msegui\lib\common\fpccompatibility\fpreadtiff.pas
> PPU Loading C:\FPC\2.6.0\units\i386-win32\fcl-image\fptiffcmn.ppu
> Recompiling FPTiffCmn, checksum changed for fpimage
> Fatal: Can't find unit FPTiffCmn used by FPReadTiff
> Fatal: Compilation aborted
>
Please try again with git master 6e06cca18f8e013a47e3d653c0fbae32b202beaf.

Please note, the fpImage reader and writers are slow, mostly because of the 
inefficient pixel access. Don't blame me. ;-)

Martin

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] Error on using "mseformattiffread"

2013-02-03 Thread Ivanko B
Free Pascal Compiler version 2.6.0 [2011/12/25] for i386
Copyright (c) 1993-2011 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling manyimages.pas
Compiling main.pas
Compiling D:\mseide-msegui\lib\common\image\mseformattiffread.pas
Compiling D:\mseide-msegui\lib\common\fpccompatibility\fpreadtiff.pas
PPU Loading C:\FPC\2.6.0\units\i386-win32\fcl-image\fptiffcmn.ppu
Recompiling FPTiffCmn, checksum changed for fpimage
Fatal: Can't find unit FPTiffCmn used by FPReadTiff
Fatal: Compilation aborted

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Too much enlarging executable size after adding built-in bitmaps

2013-02-03 Thread Sieghard
Hallo Ivanko,

Du schriebst am Sun, 3 Feb 2013 00:18:25 +0500:

> Extra steps which can usually be avoided (but possibly this case) . We
> try to keep MSEgui as programmer-friendly as possible :)

Sounds somewhat like: "Round down edges so nobody gets hurt? Extra steps
which can usually be avoided. We try to keep  as
mechanics-friendly as possible." :->
(Though similar statements can in fact be heard.)
Of course, there are tools for the purpose, tools that have evolved for
quite some time. And tools can be made for the programmer's task, too -
Martin just provided another one. There will still be "extra steps" to be
done. E.g. "build your own tool." ;->

-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
---
Mit freundlichen Grüßen, S. Schicktanz
---


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk