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: 123456789[10] ]


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

Date Posted: 07:13:25 05/09/00 Tue
Author: Michel
Subject: Re: Creating a TIFF file from a TBitmap
In reply to: Ted Slusser 's message, "Creating a TIFF file from a TBitmap" on 17:47:00 05/08/00 Mon


Dear Ted,

This should work in the evaluation version, although there has been some correction in AssignFromBitmapHandle with images with a palette. It may just be that an internal exception is raised, and the IDE is looking for the source code. What you can try is in your Debugger options, turn off "break on exceptions". This should prevent the IDE from requesting the source code file.

The alternative,

TiffGraphic.Canvas.Draw(0, 0, Bitmap)

will also work. You first need to set the size of TiffGraphic to the same size as the bitmap, when calling the NewImage method.

Best regards,

Michel

> Hi, I am trying to create a TIFF image from a TBitmap.
> When I try to use
> Image.Graphic.AssignFromBitmapHandle (MyBitmap.Handle)
> it tries to find the source file EnDiGrph.pas but I
> don't have that file. Is this function not in the dcu
> evaluation? Can I access the Canvas of the
> Image.Graphic directly and paint to it?
>
> Thanks,
> Ted Slusser
> Memphis, TN

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


Replies:


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