[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 12345678[9]10 ]

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 21:11:37 10/29/00 Sun
Author: Michel
Subject: Re: Get DIB Failed
In reply to: James Wendell 's message, "Re: Get DIB Failed" on 12:03:00 10/27/00 Fri

Hi James,

Yes, could you please send me sample files, and a minimal sample project that has this behavior.

Martin project is in CBuilder, and I have not yet reproduced it, without his source bmp images.

For some images appearing as blank rectangles, this is probably the windows API call, CreateDibSection failing with large images. I have not found any work around to that, other than using WinNT or 2000, which seem to have higher limits on image sizes.

Best regards,


> I have tried using both 0 and 1 when I load the images
> into memory for my thumbnail program. In either case,
> I can load about half of the images in a directory
> before I get the CreateDibGraphic failure message.
> Basically I create a TDibGraphic, resize it using a
> TResizeTransform, and then assign the resized graphic
> to a TImageScrollBox. I then free the original
> TDibGraphic and TResizeTransform. I am using Delphi 5,
> but the procedure should be the same as for C-Builder.
> I am using your demo project as the basis for the
> thumbnail program.
> The images I am using are straight from my digital
> camera, at a JPEG resolution of 2048x1536 and a file
> size of less than 1 MB. I also have noticed that
> larger images cause the same error message using your
> demo program as you shipped it. I suspect you have a
> problem with the TDibGraphic class. Again, I am using
> Win98 Second Edition. Using Win NT, I have NO PROBLEMS
> AT ALL - everything works OK????
> If you would like, I would be happy to send you the
> program files (not too big) and enough sample images,
> so that you can observe the problem directly. I am
> really disapointed at this point, as I bought your
> library with the hope of making my own thumbnail
> viewer program, and I have no clue as to why I am
> getting this error message so often. Thank you for
> your concern.

[ Next Thread | Previous Thread | Next Message | Previous Message ]


[ Contact Forum Admin ]

Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.