Subject | Re: Copying an image from a firebird table to the clipboard |
---|---|
Author | besterulricke |
Post date | 2010-11-01T18:21:12Z |
Thank you Thomas for your reply. The savetofile would have worked as well! I finally just loaded the pictures to EDBImage which has a CopyToClipboard procedure.
Form.EDBImage.CopyToClipboard;
report.QRImage.Picture.Assign(Clipboard);
This works great. If anyone wants to use it just remember to:
clipboard.Clear;
else you might end op with no resources..
Thanks again Thomas!
Regards, Ulricke
Form.EDBImage.CopyToClipboard;
report.QRImage.Picture.Assign(Clipboard);
This works great. If anyone wants to use it just remember to:
clipboard.Clear;
else you might end op with no resources..
Thanks again Thomas!
Regards, Ulricke
--- In firebird-support@yahoogroups.com, Thomas Clarke <thomas.p.clarke@...> wrote:
>
> Hi there,
>
> I haven't had to do this, but here is how I read a blob (pdf document) from
> the database and write it to a file. Delphi 2010 and Firebird 2.5. If this
> does not help then my apologies. It may get you started.
>
> TBlobField(FieldByName('document')).SaveToFile(FileName);
>
> Regards.
>
> Thomas Clarke.
>
> On Wed, Oct 27, 2010 at 10:11 AM, besterulricke <ulricke@...> wrote:
>
> >
> >
> > Could anyone maybe assist me in copying an image from a firebird table to
> > the clipboard? I'm using Delphi 7. I have searched high and low, but can't
> > seem to get it working!
> >
> > IMAGE BLOB SUB_TYPE 0 SEGMENT SIZE 80
> >
> > Thank you so much!
> >
> >
> >
>
>
>
> --
> Thomas Clarke
> Cyber Sea Incorporated
> #6 Kingston Terrace
> Flint Hall
> St. Michael
> Barbados BB11070
>
> voice: (246) 234-9692
> email: tclarke@...
> web: http://cybersea.biz
>
>
> [Non-text portions of this message have been removed]
>