You got further then I did. I can't open a 1280x1024x32 bitmap (16MB).
TBitmap.LoadFromFile throws an exception every time.
Ger Remmers wrote:
Hi all,
Back to working with Lazarus after an away of a year. And I have seen a lot of
good stuff has happend during that time.
I have written a graphics app (in D3 for display/render design) that heavily
depends on large bitmaps.
First I tried to use the "Convert Delphi to Lazarus Project" option but I ran
into a lot of things that couldn't be converted because they were build on
specific Windows tricks. Not a big deal because a lot needs
re-thinking/designing anyway.
Building a test app I ran into 2 major problems that I can't figure out.
First, when loading an image bigger then the Form the scrollbars are okay but
as soon as I resize the Form the scrollbars go full-length so scrolling is no
longer possible.
Secondly, loading an image larger then ~3000x2000 takes ages. Loading an image
larger then 5000X5000 doesn't happen at all. ( I Left it to load over night
and it still hadn't loaded in the morning)
The biggest images I have at the moment are ~15000x12500.
I have tried debugging to see where/when the scrollbars are effected but
somehow I never get to that point.
All I have so far is a test app with a scollbox, an image and a load button
because going beyond that doesn't make any sense if I can't get the 2
problems resolved
Anybody doing graphics out there?
--
Ger
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives