[ 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: 12[3]45678910 ]

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

Date Posted: 20:02:55 09/16/03 Tue
Author: Michel
Subject: Re: ImageScrollBox and TJpegImage
In reply to: Stampfli Heinz 's message, "Re: ImageScrollBox and TJpegImage" on 13:35:00 09/16/03 Tue

Hi Heinz,

I have not used dEXIF so I may need more information.


function TImgData.ExtractThumbnailJpeg: TJpegImage;

work properly?

You can try this,

JpegImage : TJpegImage;
JpegImage := ImgData.ExtractThumbnailJpeg;
ImageScrollBox.Graphic := JpegImage;

Do you get any error message?

Best regards,


>Hello Michel
>This kind of Code I have already tried.
>I would like to extract the thumbnail with dEXIF
>(<a rel=nofollow target=_blank href="http://mcguirez.homestead.com/downloads.html)">http://mcguirez.homestead.com/downloads.html)</a> and
>assign it to the imagescrollbox.
>In dEXIF it uses the library jpeg. I have also
>rewritten the function to use TJpegGraphic from
>EnJpgGr. It doesn't work, too.
>The Function in dEXIF that extract the Jpeg Thumbnail:
>function TImgData.ExtractThumbnailJpeg: TJpegImage;
>var ti:TJPEGImage;
> x:TStringStream;
> tb:string;
> result := nil;
> if HasThumbnail and (ExifObj.ThumbType =
> begin
> tb := ExtractThumbnailBuffer();
> if (tb = '') then
> exit;
> x := TStringStream.Create(tb);
> ti := TJPEGImage.Create;
> x.Seek(0,soFromBeginning);
> ti.LoadFromStream(x);
> x.Free;
> result := ti;
> end;
>Have you any other advice.
>Kind Regards
>>Hi Heinz,
>>Try this,
>>Best regards,
>>>How do I assign a TJpegImage into a ImageScrollBox
>>>with Envision 2.0.1. Can you give me an example?
>>>Kind Regards
>>>Heinz Stampfli

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