[ 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: 1[2]345678910 ]

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

Date Posted: 07:06:59 04/30/04 Fri
Author: Gurkan Karagoz
Subject: Re: rowsperstrip
In reply to: Peter Rettig 's message, "Re: rowsperstrip" on 07:18:29 04/29/04 Thu

I am not sure, but try using -2147483647, which must be FF FF FF FF for Longint.

>normally there is no need to set a specific value for
>the tag RowsPerStrip!
>Unfortunately german National Health Insurances use
>the TIF G4 format for dataexchange of prescriptions
>and there is a new regulation to use only FF FF FF FF
>for this value :-(
>>I really need to learn rowsperstrip means of TIF G4
>>files. Why do you set a value? How to decide the
>>I have some problems.
>>>Hi Michel,
>>>yes that is OK.
>>>But for some reasons I have to create TIF's with FF
>>>FF FF as value for RowsPerStrip. With MaxInt there is
>>>only 7F FF FF FF. Is there any way to create
>>>like this?
>>>Best Regards,
>>>Peter Rettig
>>>>Hi Peter,
>>>>MaxLongInt is 2147483647. Try with that value or
>>>>smaller for RowsPerStrip. You do not need to
>>>>the package as it is only used at design time. Just
>>>>change the .Pas file.
>>>>Best regards,
>>>>>Hi Michel,
>>>>>I have changed the file entifgr.pas like described,
>>>>>compiled. I have changed the files EnTifGr.dcu,
>>>>>En_D4.dcu, En_D4.dcp, En_D4.bpl. But the result is
>>>>>procedure TForm1.Button1Click(Sender: TObject);
>>>>> DestGraphic : TTiffGraphic;
>>>>> i, j: longint;
>>>>> j :=
>>>>> DestGraphic := TTiffGraphic.Create;
>>>>> DestGraphic.Compression := tcGroup4;
>>>>> DestGraphic.Assign(ImageScrollBox1.Graphic);
>>>>> DestGraphic.RowsPerStrip := 4294967295;
>>>>> DestGraphic.SaveToFile(FilenameEdit1.FileName +
>>>>> for i := 2 to j do begin
>>>>> end;
>>>>>Can you advice?
>>>>>Best regards,
>>>>>>Hi Peter,
>>>>>>This has been corrected in the latest code base.
>>>>>>now limited to MaxLongInt, about 2Gig. The code is
>>>>>>procedure TTiffGraphic.SetRowsPerStrip( const
>>>>>>InRowsPerStrip : LongInt );
>>>>>> FRowsPerStrip := BoundInteger(InRowsPerStrip,
>>>>>>Let me know if you have problems. This change will
>>>>>>in the next version.
>>>>>>Best regards,
>>>>>>>I tried to save a TIF-image with 4 294 967 295
>>>>>>>FF FF) rowsperstrip. But the highest accepted
>>>>>>>this property semms to be 4095!?
>>>>>>>Is there a way to support larger values?
>>>>>>>Best regards,

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


  • Re: rowsperstrip -- Michel, 07:34:41 05/04/04 Tue
  • Re: rowsperstrip -- Peter Rettig, 15:18:48 05/06/04 Thu
    [ 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.