Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to display high resolution bitmap?

0 views
Skip to first unread message

jiangzi

unread,
Oct 21, 2003, 9:57:53 PM10/21/03
to

I have scanned some bitmap files, the resolution of each scanned file ranging from 100dpi to 300dpi, but i failed to load these file using TBitmap or TImage components.

Francesco Savastano

unread,
Oct 22, 2003, 10:49:00 AM10/22/03
to
On win98 sure. You should not have problems under WinXP or 2000 or Nt. Of
course you can create also your own Tspecialbitmap class, by using memory to
access the bitmap pixels. You can even create a class that supports
splitting the bitmap into several pieces odf smaller dimension. Of course
thi requires some skill, but some people in this ng already created such
class. I think Joe Hecht has one, and also Nik Haek if i remember well.


"jiangzi" <jian...@163.com> ha scritto nel messaggio
news:3f95e421$1...@newsgroups.borland.com...

Jens Gruschel

unread,
Oct 22, 2003, 11:32:23 AM10/22/03
to
> I have scanned some bitmap files, the resolution of each scanned file
ranging from 100dpi to 300dpi, but i failed to load these file using TBitmap
or TImage components.

That depends much on your Windows version and graphics driver (it's not a
Delphi problem). Take a look at
http://homepages.borland.com/efg2lab/Graphics/VeryLargeBitmap.htm
for more information.

Jens

Joe C. Hecht

unread,
Oct 22, 2003, 12:19:56 PM10/22/03
to
Our TExcellentImagePrinter product can both load and display huge bitmaps
to both printers and the screen

TExcellentProducts can be found here:

http://www.code4sale.com/joehecht/

Joe
--
Delphi, graphics, and printing specialist available - $35/hr
http://www.code4sale.com/codeit/index.htm

"jiangzi" <jian...@163.com> wrote in message news:3f95e421$1...@newsgroups.borland.com...

jiangzi

unread,
Oct 23, 2003, 4:46:06 AM10/23/03
to

Thank you for your response.
I visited you website and downloaded a demo project written in D7 of trial version.The component did print out the demo image.But i failed to load my own bitmap file scanned with resolutoin of 300DPI, approximately 25M, causing GDI32 error.
I can load large bitmap files enven through having size of 70M.All these files created by some image processing software,e.g. Aodbe Photoshop.
I don't know how to do now.

jiangzi

unread,
Oct 23, 2003, 5:02:23 AM10/23/03
to

I can load large BMP files created by image processing software,e.g. Adobe Photoshop,even though those as large as
70Mb.But i cann't load the scanned BMP file with the resolution
of 300DPI, approximately 25Mb, causing GDI32 error.

Jiangzi

Francesco Savastano

unread,
Oct 23, 2003, 6:26:46 AM10/23/03
to
Then the problem might be related to the scanning process. You should try to
trace the code..


Francesco Savastano

unread,
Oct 23, 2003, 6:27:52 AM10/23/03
to
Maybe i didnt understand well:
you are trying to scan and load at same time?


Joe C. Hecht

unread,
Oct 23, 2003, 11:15:31 AM10/23/03
to
Our LoadDIBFromFile() should load valid bitmaps up to the
size of physical memory available. I load 500 meg images all the time.

The unit should never give a GDI32 error when loading a bitmap,
as we do not use Windows function to do it.

If you want to email me privatly, I will try to lend a hand.

Joe
--
Delphi, graphics, and printing specialist available - $35/hr
http://www.code4sale.com/codeit/index.htm

"jiangzi" <jian...@163.com> wrote in message news:3f97954e$1...@newsgroups.borland.com...

Jiangzi

unread,
Oct 31, 2003, 9:05:27 PM10/31/03
to

Yes, i want to scan and load the bitmap files in my application, and then save to database.

0 new messages