VoyForums
[ 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: 123[4]5678910 ]


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

Date Posted: 11:37:26 03/05/03 Wed
Author: Michel
Subject: Re: Tiff loading problems
In reply to: Joost 's message, "Re: Tiff loading problems" on 10:57:46 03/05/03 Wed


Hi Joost,

About the white bitmap, this usually happens if there is a problem reading the graphic from the file. I am really not sure on how the ScanLinep property helps with the memory leak you are encountering. If you really want to access the raw data without even loading the data in a TDibGraphic, look at EnTifGr.Pas, SingleLoadFromStream. You should be able to figure it out from there to load just the raw tif data in any structure you want.

For version 1.1, I cannot maintain both version, but if you email me (michel@intervalsoftware.com) I will send you the latest EnDiGrph.Pas which you may need to adapt slightly to work in version 1.

Best regards,

Michel

>>Also, as you can see I'm only interested in the raw
>>RGB data of the tiff image. Is there a way to get it
>>without using TPicture, TBitmap or the GDI?
>
>Turns out TDibGraphic->ScanLine is exactly what I
>needed. This also seems to solve the 'white bitmap'
>problem and the memory leaking.
>
>But still my question: where can I find the AllocMem
>fixes? It would be nice to have at least a 1.10
>version with all known bugs fixed (without the need to
>buy to version 2).
>
>Joost

[ 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.