VoyForums

VoyUser Login optional ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123456[7]8910 ]


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

Date Posted: 11:58:58 12/17/01 Mon
Author: Marcel
Subject: Re: EMF to TIF
In reply to: Michel 's message, "Re: EMF to TIF" on 22:04:44 12/08/01 Sat

>
>Hi Marcel,
>
>I am not sure what is going on here. Your code looks
>fine. The first thing I would try is load your emf
>file in the Demo.EXE program, and then to Save As to a
>tif file and see if this works. This will let us know
>if Envision is having problems handling your file.
>
>Let me know.
>
>Best regards,
>
>Michel
>>Currently avluating enVision. Great work...
>>
>>With something like :
>> PTifGraphic: TTiffGraphic;
>>begin
>> PTifGraphic := TtiffGraphic.create;
>> try
>> pTifGraphic.Assign( Image1.Picture.Graphic );
>> pTifGraphic.savetoFile( 'c:\temp\image.tif' );
>> finally
>> pTifGraphic.Free;
>> end;
>>I always have a BLACK background. Image1 contains an
>>emf image. Do I have a way to set a background color ?
>>
>>Thanks,

As long as I understand anything...
You demo program displays correctly EMF images with a white background.
With the explorer window, the EMF appears with a black background but displays correctly with Imaging (for example).
I was looking for :
pTifGraphic.OverwriteFileBackground := True;
pTifGraphic.BackgroundColor := MakeRgb(255, 255, 255);
for TIFF, no ?

Thanks for your answer.

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


Replies:


[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 2.94, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2008 Voyager Info-Systems. All Rights Reserved.