VoyForums

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: [1]2345678910 ]


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

Date Posted: 09:57:32 04/09/05 Sat
Author: Michel
Subject: Re: Transforming Tiff to Jpeg formats
In reply to: Peter Crane 's message, "Transforming Tiff to Jpeg formats" on 09:47:34 03/26/05 Sat


Hi Peter,

To convert from one format to another, create a new graphic of the destinatation type, for example,

Tiffgraphic := TTiffGraphic.Create;
TiffGraphic.Assign(JpegGraphic);

TiffGraphic.SaveTofile
or
TiffGraphic.AppendToFile is appending to an existing file.

For the resize, make sure you set both the Width and Height of the TResizeTransform.

Best regards,

Michel



>I would like to convert Tiff images to Jpeg images so
>I can display them in a web browser. Using TTransform
>I can do this but only part of the image, appears, and
>it is quite magnified. Using TResise, I can resize it
>to the width of the window (on a delphi form) but it
>is squished in about 1/3 of the height, so is
>unreadable. How can I display the image so it is
>readable, and how would I handle a multipage tiff file?
>Thanks,
>Peter

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