[ 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: 18:07:34 03/10/03 Mon
Author: Michel
Subject: Re: About thumbs generator ?
In reply to: Lon 's message, "About thumbs generator ?" on 13:36:17 03/09/03 Sun

Hi Lon,

The thumbnail creation keeps the aspect ratio of the images, otherwise they could get badly distorted. What you can do, is change the backround color before generated the thumbs. For example is the thumbs are to be displayed on a white web page, set the background to white.

See the BackgroundColor property of the TThumbnailCreator class.

For jpeg images, you cannot change the defaut compression. If this is a big issue for you, let me know I can add a new property to allow that for JPG thumbs.

Best regards,


>I use the trial version and your library look good :-)
>Just with the demo src i can't obtain thumb without
>background, i mean picture that use ratio based w*h
>instead predefined size. So, please, how i can obtain
>thumbs without background color ? Just the thumb
>Also i find no way to choose the compression ratio of
>the thumbs? For example i need to choose the jpeg
>compression ratio ?
>Sorry if i not find that in the doc, it's probably due
>to my bad english! Thanks for you answer :)

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